Image Component Library (ICL)
|
The working line segment class extends the LineSegment class by some working parameters. More...
#include <WorkingLineSegment.h>
Public Member Functions | |
WorkingLineSegment () | |
Constructor. | |
void | init (int x, int y, int xend, int val) |
intialization function | |
void | reset () |
reset function (sets payload to NULL) | |
Public Attributes | |
int | val |
image value | |
union { | |
void * anyData | |
ImageRegionPart * reg | |
ImageRegionData * ird | |
int regID | |
}; | |
additional payload that is used internally |
The working line segment class extends the LineSegment class by some working parameters.
These extra parameters are not used in the ImageRegion class. Here, we can use C++'s slicing assignment to cut the extra information using std::copy
icl::cv::WorkingLineSegment::WorkingLineSegment | ( | ) | [inline] |
Constructor.
void icl::cv::WorkingLineSegment::init | ( | int | x, |
int | y, | ||
int | xend, | ||
int | val | ||
) | [inline] |
intialization function
void icl::cv::WorkingLineSegment::reset | ( | ) | [inline] |
reset function (sets payload to NULL)
union { ... } |
additional payload that is used internally
image value