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 (te::gm::Polygon *polPtr, const unsigned int &v, const double &tidy)
 Reset the current instance. More...
 
 VectorizerPolygonStructure ()
 Default constructor. More...
 
 VectorizerPolygonStructure (const VectorizerPolygonStructure &rhs)
 Copy constructor. More...
 
 VectorizerPolygonStructure (te::gm::Polygon *polPtr, const unsigned int &v, const double &tidy)
 Constructor with non default parameters. More...
 
 ~VectorizerPolygonStructure ()
 Default destructor. More...
 

Public Attributes

std::auto_ptr< TileIndexerm_indexerPtr
 A pointer to the polygon tile indexer pointer. More...
 
std::auto_ptr< te::gm::Polygonm_polygonPtr
 A pointer to the stored polygon instance. More...
 
double m_tileIndexerDY
 The polygon tile indexer Y Axis resolution. More...
 
unsigned int m_value
 The value (color) related to a polygon. More...
 

Detailed Description

A polygon container node class.

Definition at line 45 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 38 of file VectorizerPolygonStructure.cpp.

References m_polygonPtr, m_tileIndexerDY, and m_value.

te::rst::VectorizerPolygonStructure::VectorizerPolygonStructure ( te::gm::Polygon polPtr,
const unsigned int &  v,
const double &  tidy 
)

Constructor with non default parameters.

Parameters
polPtrPolygon pointer (this structure will take the ownership of the given pointer)
vThe pixel value related to the polygon.
tidyTile indexer dy.

Definition at line 46 of file VectorizerPolygonStructure.cpp.

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

Default destructor.

Definition at line 54 of file VectorizerPolygonStructure.cpp.

Member Function Documentation

void te::rst::VectorizerPolygonStructure::clear ( )

Init internal variables.

Definition at line 65 of file VectorizerPolygonStructure.cpp.

Referenced by te::rst::Vectorizer::run().

void te::rst::VectorizerPolygonStructure::init ( )

Init internal variables.

Definition at line 59 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 87 of file VectorizerPolygonStructure.cpp.

References m_polygonPtr, m_tileIndexerDY, and m_value.

void te::rst::VectorizerPolygonStructure::reset ( te::gm::Polygon polPtr,
const unsigned int &  v,
const double &  tidy 
)

Reset the current instance.

Parameters
polPtrPolygon pointer (this structure will take the ownership of the given pointer)
vParameter V.
tidyTile indexer dy.

Definition at line 72 of file VectorizerPolygonStructure.cpp.

Referenced by te::rst::Vectorizer::run().

Member Data Documentation

std::auto_ptr< TileIndexer > te::rst::VectorizerPolygonStructure::m_indexerPtr

A pointer to the polygon tile indexer pointer.

Definition at line 99 of file VectorizerPolygonStructure.h.

Referenced by te::rst::Vectorizer::run().

std::auto_ptr< te::gm::Polygon > te::rst::VectorizerPolygonStructure::m_polygonPtr

A pointer to the stored polygon instance.

Definition at line 100 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 98 of file VectorizerPolygonStructure.h.

Referenced by operator=(), and VectorizerPolygonStructure().

unsigned int te::rst::VectorizerPolygonStructure::m_value

The value (color) related to a polygon.

Definition at line 97 of file VectorizerPolygonStructure.h.

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


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