Image Component Library (ICL)
Public Member Functions | Public Attributes | List of all members
icl::cv::WorkingLineSegment Struct Reference

The working line segment class extends the LineSegment class by some working parameters. More...

#include <WorkingLineSegment.h>

Inheritance diagram for icl::cv::WorkingLineSegment:
icl::cv::LineSegment

Public Member Functions

 WorkingLineSegment ()
 Constructor. More...
 
void init (int x, int y, int xend, int val)
 intialization function More...
 
void reset ()
 reset function (sets payload to NULL) More...
 
- Public Member Functions inherited from icl::cv::LineSegment
 LineSegment ()
 creates an empty uninitialized line segment More...
 
 LineSegment (int x, int y, int xend)
 creates a line segment with given parameters More...
 
int len () const
 computes the line segments length (xend-x) More...
 

Public Attributes

int val
 image value More...
 
union {
   void *   anyData
 
   ImageRegionPart *   reg
 
   ImageRegionData *   ird
 
   int   regID
 
}; 
 additional payload that is used internally More...
 
- Public Attributes inherited from icl::cv::LineSegment
int x
 first pixel of this line segment More...
 
int y
 y position in the image of this line segment More...
 
int xend
 first pixel AFTER this line segment More...
 

Detailed Description

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

Constructor & Destructor Documentation

◆ WorkingLineSegment()

icl::cv::WorkingLineSegment::WorkingLineSegment ( )
inline

Constructor.

Member Function Documentation

◆ init()

void icl::cv::WorkingLineSegment::init ( int  x,
int  y,
int  xend,
int  val 
)
inline

intialization function

◆ reset()

void icl::cv::WorkingLineSegment::reset ( )
inline

reset function (sets payload to NULL)

Member Data Documentation

◆ @20

union { ... }

additional payload that is used internally

◆ anyData

void* icl::cv::WorkingLineSegment::anyData

◆ ird

ImageRegionData* icl::cv::WorkingLineSegment::ird

◆ reg

ImageRegionPart* icl::cv::WorkingLineSegment::reg

◆ regID

int icl::cv::WorkingLineSegment::regID

◆ val

int icl::cv::WorkingLineSegment::val

image value


The documentation for this struct was generated from the following file: