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 double &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 double &v, const double &tidy)
 Constructor with non default parameters. More...
 
 ~VectorizerPolygonStructure ()
 Default destructor. More...
 

Public Attributes

std::unique_ptr< te::rst::TileIndexerm_indexerPtr
 A pointer to the polygon tile indexer pointer. More...
 
std::unique_ptr< te::gm::Polygonm_polygonPtr
 A pointer to the stored polygon instance. More...
 
double m_tileIndexerDY
 The polygon tile indexer Y Axis resolution. More...
 
double m_value
 The pixel value 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 init(), m_polygonPtr, m_tileIndexerDY, m_value, and reset().

te::rst::VectorizerPolygonStructure::VectorizerPolygonStructure ( te::gm::Polygon polPtr,
const double &  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.

References init(), and reset().

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

Default destructor.

Definition at line 54 of file VectorizerPolygonStructure.cpp.

References clear().

Member Function Documentation

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

Init internal variables.

Definition at line 65 of file VectorizerPolygonStructure.cpp.

References init(), m_indexerPtr, and m_polygonPtr.

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

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

Init internal variables.

Definition at line 59 of file VectorizerPolygonStructure.cpp.

References m_tileIndexerDY, and m_value.

Referenced by clear(), and 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, m_value, and reset().

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

Reset the current instance.

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

Definition at line 72 of file VectorizerPolygonStructure.cpp.

References clear(), m_indexerPtr, m_polygonPtr, m_tileIndexerDY, and m_value.

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

Member Data Documentation

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

A pointer to the polygon tile indexer pointer.

Definition at line 99 of file VectorizerPolygonStructure.h.

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

std::unique_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 clear(), operator=(), reset(), 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 init(), operator=(), reset(), and VectorizerPolygonStructure().

double te::rst::VectorizerPolygonStructure::m_value

The pixel value related to a polygon.

Definition at line 97 of file VectorizerPolygonStructure.h.

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


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