#include <RasterSpecialist.h>
Inheritance diagram for RasterSpecialist::LinePair:
Public Member Functions | |
LinePair () | |
Constructor. | |
LinePair (Vector2< int > vec1, Vector2< int > vec2) | |
Constructor. | |
LinePair (Vector2< int > vec1, Vector2< int > vec2, colorClass c) | |
Constructor. | |
bool | operator< (const LinePair &other) |
Defines the default order for LinePairs. | |
Public Attributes | |
Vector2< int > | v1 |
The first point. | |
Vector2< int > | v2 |
The second point. | |
int | segment |
The number of segment. | |
colorClass | color |
The color. |
It holds also informations about the color and the number of segment it belongs to. The segment number is needed for the segmentation algorithms.
Definition at line 49 of file RasterSpecialist.h.
|
Constructor.
Definition at line 31 of file RasterSpecialist.cpp. References noColor. |
|
Constructor.
Definition at line 37 of file RasterSpecialist.cpp. References noColor. |
|
Constructor.
Definition at line 43 of file RasterSpecialist.cpp. |
|
Defines the default order for LinePairs. order is lexigographical in v1 (v1.y,v1.x).
Definition at line 79 of file RasterSpecialist.h. References v1, Vector2< int >::x, and Vector2< int >::y. |
|
The first point.
Definition at line 66 of file RasterSpecialist.h. Referenced by RasterSpecialist::createSegmentsFromLines(), RasterSpecialist::linePairsFit(), RasterSpecialist::linesFit(), RasterSpecialist::LineCompare::operator()(), and operator<(). |
|
The second point.
Definition at line 68 of file RasterSpecialist.h. Referenced by RasterSpecialist::linePairsFit(), RasterSpecialist::linesFit(), and RasterSpecialist::LineCompare::operator()(). |
|
The number of segment.
Definition at line 70 of file RasterSpecialist.h. Referenced by RasterSpecialist::SegmentNumberOrder::operator()(). |
|
The color.
Definition at line 72 of file RasterSpecialist.h. Referenced by RasterSpecialist::linesFit(). |