EPathVector Class

Vector objects are used to store 1-dimensional data.

Remarks

Using vectors is very similar to using 1-dimensional arrays, except that the size can vary at runtime. Memory allocation is handled internally. * To create a vector, use its constructor. * To fill a vector with values, first empty it, using the EPathVector member, and then add elements one at time at the tail by calling the EPathVector::AddElement member. * To access a vector element, either for reading or writing, use the [] operator. * To inquire for the current number of elements, use member EPathVector.

Base Class:EVector

Namespace: Euresys::Open_eVision

Methods

Appends (adds at the tail) an element to the vector.
Draws the path.
By default, the path is drawn by connecting the centers of all the pixels in the path. Using the drawOption argument, you can also connect all the top left corners of the pixels (EPathVectorDrawOption_TopLeft) in the path or fill all the pixels in the path (EPathVectorDrawOption_Fill).
Draws the path vector as the closed contour of an object or a blob. The contour mode used to compute the path must be passed as argument to draw the contour correctly. This method only supports the closed contour modes EContourMode_ClockwiseAlwaysClosed and EContourMode_AnticlockwiseAlwaysClosed.
Draws the path.
By default, the path is drawn by connecting the centers of all the pixels in the path. Using the drawOption argument, you can also connect all the top left corners of the pixels (EPathVectorDrawOption_TopLeft) in the path or fill all the pixels in the path (EPathVectorDrawOption_Fill).
Constructs a vector.
Flag indicating whether the shape built with EasyImage::Contour must be closed or not.
Returns the vector element at the given index.
Pointer to the vector data.
Gives access to the vector element at the given index.
Copies all the data from another EPathVector object into the current EPathVector object
Flag indicating whether the shape built with EasyImage::Contour must be closed or not.
Modifies the vector element at the given index by the given value.

EPathVector Class

Vector objects are used to store 1-dimensional data.

Remarks

Using vectors is very similar to using 1-dimensional arrays, except that the size can vary at runtime. Memory allocation is handled internally. * To create a vector, use its constructor. * To fill a vector with values, first empty it, using the EPathVector member, and then add elements one at time at the tail by calling the EPathVector::AddElement member. * To access a vector element, either for reading or writing, use the [] operator. * To inquire for the current number of elements, use member EPathVector.

Base Class:EVector

Namespace: Euresys.Open_eVision

Properties

Flag indicating whether the shape built with EasyImage::Contour must be closed or not.
Pointer to the vector data.

Methods

Appends (adds at the tail) an element to the vector.
Draws the path.
By default, the path is drawn by connecting the centers of all the pixels in the path. Using the drawOption argument, you can also connect all the top left corners of the pixels (EPathVectorDrawOption_TopLeft) in the path or fill all the pixels in the path (EPathVectorDrawOption_Fill).
Draws the path vector as the closed contour of an object or a blob. The contour mode used to compute the path must be passed as argument to draw the contour correctly. This method only supports the closed contour modes ClockwiseAlwaysClosed and AnticlockwiseAlwaysClosed.
Draws the path.
By default, the path is drawn by connecting the centers of all the pixels in the path. Using the drawOption argument, you can also connect all the top left corners of the pixels (EPathVectorDrawOption_TopLeft) in the path or fill all the pixels in the path (EPathVectorDrawOption_Fill).
Constructs a vector.
Returns the vector element at the given index.
Gives access to the vector element at the given index.
Copies all the data from another EPathVector object into the current EPathVector object
Modifies the vector element at the given index by the given value.