A polygon container node class. More...
#include <VectorizerPolygonStructure.h>
Public Member Functions | |
void | clear () |
Init internal variables. More... | |
void | init () |
Init internal variables. More... | |
VectorizerPolygonStructure & | operator= (const VectorizerPolygonStructure &rhs) |
Assignment operator. More... | |
void | reset (const te::gm::Polygon &p, const int &v, const double &tidy) |
Reset the current instance. More... | |
VectorizerPolygonStructure () | |
Default constructor. More... | |
VectorizerPolygonStructure (const VectorizerPolygonStructure &rhs) | |
Copy constructor. More... | |
VectorizerPolygonStructure (const te::gm::Polygon &p, const int &v, const double &tidy) | |
Constructor with non default parameters. More... | |
~VectorizerPolygonStructure () | |
Default destructor. More... | |
Public Attributes | |
TileIndexer * | m_indexer |
The polygon tile indexer pointer. More... | |
te::gm::Polygon | m_polygon |
The stored polygon instance. More... | |
double | m_tileIndexerDY |
The polygon tile indexer Y Axis resolution. More... | |
int | m_value |
The value (color) related to a polygon. More... | |
A polygon container node class.
Definition at line 43 of file VectorizerPolygonStructure.h.
te::rst::VectorizerPolygonStructure::VectorizerPolygonStructure | ( | ) |
Default constructor.
Definition at line 33 of file VectorizerPolygonStructure.cpp.
References init().
te::rst::VectorizerPolygonStructure::VectorizerPolygonStructure | ( | const VectorizerPolygonStructure & | rhs | ) |
Copy constructor.
rhs | The right-hand side VectorizerPolygonStructure. |
Definition at line 39 of file VectorizerPolygonStructure.cpp.
References init(), m_polygon, m_tileIndexerDY, m_value, and reset().
te::rst::VectorizerPolygonStructure::VectorizerPolygonStructure | ( | const te::gm::Polygon & | p, |
const int & | v, | ||
const double & | tidy | ||
) |
Constructor with non default parameters.
p | Polygon reference. |
v | Parameter V. |
tidy | Tile indexer dy. |
Definition at line 47 of file VectorizerPolygonStructure.cpp.
te::rst::VectorizerPolygonStructure::~VectorizerPolygonStructure | ( | ) |
Default destructor.
Definition at line 55 of file VectorizerPolygonStructure.cpp.
void te::rst::VectorizerPolygonStructure::clear | ( | ) |
Init internal variables.
Definition at line 67 of file VectorizerPolygonStructure.cpp.
void te::rst::VectorizerPolygonStructure::init | ( | ) |
Init internal variables.
Definition at line 60 of file VectorizerPolygonStructure.cpp.
Referenced by VectorizerPolygonStructure().
te::rst::VectorizerPolygonStructure & te::rst::VectorizerPolygonStructure::operator= | ( | const VectorizerPolygonStructure & | rhs | ) |
Assignment operator.
rhs | The right-hand-side copy that would be used to copy from. |
Definition at line 86 of file VectorizerPolygonStructure.cpp.
References m_polygon, m_tileIndexerDY, and m_value.
void te::rst::VectorizerPolygonStructure::reset | ( | const te::gm::Polygon & | p, |
const int & | v, | ||
const double & | tidy | ||
) |
Reset the current instance.
p | Polygon reference. |
v | Parameter V. |
tidy | Tile indexer dy. |
Definition at line 75 of file VectorizerPolygonStructure.cpp.
Referenced by te::rst::Vectorizer::run(), and VectorizerPolygonStructure().
TileIndexer* te::rst::VectorizerPolygonStructure::m_indexer |
The polygon tile indexer pointer.
Definition at line 95 of file VectorizerPolygonStructure.h.
Referenced by te::rst::Vectorizer::run().
te::gm::Polygon te::rst::VectorizerPolygonStructure::m_polygon |
The stored polygon instance.
Definition at line 96 of file VectorizerPolygonStructure.h.
Referenced by operator=(), te::rst::Vectorizer::run(), and VectorizerPolygonStructure().
double te::rst::VectorizerPolygonStructure::m_tileIndexerDY |
The polygon tile indexer Y Axis resolution.
Definition at line 94 of file VectorizerPolygonStructure.h.
Referenced by operator=(), and VectorizerPolygonStructure().
int te::rst::VectorizerPolygonStructure::m_value |
The value (color) related to a polygon.
Definition at line 93 of file VectorizerPolygonStructure.h.
Referenced by operator=(), and VectorizerPolygonStructure().