All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
te::rst::VectorizerPolygonStructure Class Reference

A polygon container node class. More...

#include <VectorizerPolygonStructure.h>

Public Member Functions

void clear ()
 Init internal variables. More...
 
void init ()
 Init internal variables. More...
 
VectorizerPolygonStructureoperator= (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

TileIndexerm_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...
 

Detailed Description

A polygon container node class.

Definition at line 43 of file VectorizerPolygonStructure.h.

Constructor & Destructor Documentation

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.

Parameters
rhsThe 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.

Parameters
pPolygon reference.
vParameter V.
tidyTile indexer dy.

Definition at line 47 of file VectorizerPolygonStructure.cpp.

References init(), and reset().

te::rst::VectorizerPolygonStructure::~VectorizerPolygonStructure ( )

Default destructor.

Definition at line 55 of file VectorizerPolygonStructure.cpp.

Member Function Documentation

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.

Parameters
rhsThe right-hand-side copy that would be used to copy from.
Returns
A reference to this object.

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.

Parameters
pPolygon reference.
vParameter V.
tidyTile indexer dy.

Definition at line 75 of file VectorizerPolygonStructure.cpp.

Referenced by te::rst::Vectorizer::run(), and VectorizerPolygonStructure().

Member Data Documentation

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().


The documentation for this class was generated from the following files: