te::vp::DissolveSubdivisionOperationParameters Class Reference

#include <DissolveSubdivisionOperation.h>

Inheritance diagram for te::vp::DissolveSubdivisionOperationParameters:
te::vp::AbstractParameters

Public Member Functions

void addInputDataAccess (te::da::DataAccess *dataAccess)
 Adds an input data access to the params. More...
 
void addOutputDataAccess (te::da::DataAccess *dataAccess)
 Adds an output data access to the params. Note that if the dataSet does not exist, it will be created by the operation. More...
 
 DissolveSubdivisionOperationParameters ()
 
 DissolveSubdivisionOperationParameters (const std::string &rowPropertyName, const std::string &columnPropertyName, bool dissolveMaxCoordinates)
 
const std::string & getColumnPropertyName () const
 
bool getDissolveMaxCoordinates () const
 
const std::vector< te::da::DataAccess * > & getInputDataAccessVector () const
 Returns the output dataAccess vector. More...
 
std::size_t getMaxCoordinates () const
 Sets the input to be swapped. This is very usefull for operations between 2 dataSets. If TRUE, the input will be swapped. Default is FALSE. More...
 
OperationResult getOperationResult () const
 Sets the result of the operation. More...
 
const std::vector< te::da::DataAccess * > & getOutputDataAccessVector () const
 Sets the input dataAccess vector. More...
 
const std::string & getRowPropertyName () const
 
bool getSwapInput () const
 Gets the result of the operation. More...
 
virtual bool isValid (std::string &errorMessage) override
 It checks the parameters for the operation. More...
 
void reportParams (OperationReport *report)
 It reports each parameter used in the operation. More...
 
void setColumnPropertyName (const std::string &columnPropertyName)
 
void setDissolveMaxCoordinates (bool dissolveMaxCoordinates)
 
void setInputDataAccessVector (const std::vector< te::da::DataAccess * > &vecDataAccess)
 Sets the output dataAccess vector. More...
 
void setMaxCoordinates (std::size_t maxCoordinates)
 Returns the current state of the geometry subdivision. More...
 
void setOperationResult (OperationResult result)
 
void setOutputDataAccessVector (const std::vector< te::da::DataAccess * > &vecDataAccess)
 Enables or disables geometry subdivision. More...
 
void setRowPropertyName (const std::string &rowPropertyName)
 
void setSwapInput (bool swap)
 Returns TRUE if the input must be swaped. FALSE otherwise. More...
 
virtual ~DissolveSubdivisionOperationParameters ()
 

Protected Member Functions

virtual void reportSpecificParams (OperationReport *report)
 It reports each specific parameter used in the operation. More...
 

Protected Attributes

std::vector< te::da::DataAccess * > m_inputDataVector
 Vector with input dataAccess. More...
 
std::size_t m_maxCoordinates
 If higher than 0, geometries will be subdivided until all the parts have less vertexes that this value. More...
 
OperationResult m_operationResult
 Stores the result of the operation. More...
 
std::vector< te::da::DataAccess * > m_outputDataVector
 Vector with output dataAccess. More...
 
bool m_snapGeometries
 If TRUE, the geometries will be snapped before the operation is executed. Default is TRUE. More...
 
bool m_swapInput
 This is very usefull for operations between 2 dataSets. If TRUE, the input will be swapped. Default is FALSE. More...
 

Private Attributes

std::string m_columnPropertyName
 
bool m_dissolveMaxCoordinates
 
std::string m_rowPropertyName
 

Detailed Description

Definition at line 43 of file DissolveSubdivisionOperation.h.

Constructor & Destructor Documentation

◆ DissolveSubdivisionOperationParameters() [1/2]

te::vp::DissolveSubdivisionOperationParameters::DissolveSubdivisionOperationParameters ( )

◆ DissolveSubdivisionOperationParameters() [2/2]

te::vp::DissolveSubdivisionOperationParameters::DissolveSubdivisionOperationParameters ( const std::string &  rowPropertyName,
const std::string &  columnPropertyName,
bool  dissolveMaxCoordinates 
)

◆ ~DissolveSubdivisionOperationParameters()

virtual te::vp::DissolveSubdivisionOperationParameters::~DissolveSubdivisionOperationParameters ( )
virtual

Member Function Documentation

◆ addInputDataAccess()

void te::vp::AbstractParameters::addInputDataAccess ( te::da::DataAccess dataAccess)
inherited

Adds an input data access to the params.

Parameters
dataAccessThe input dataAccess to be added

◆ addOutputDataAccess()

void te::vp::AbstractParameters::addOutputDataAccess ( te::da::DataAccess dataAccess)
inherited

Adds an output data access to the params. Note that if the dataSet does not exist, it will be created by the operation.

Parameters
dataAccessThe output dataAccess to be added Returns the input dataAccess vector

◆ getColumnPropertyName()

const std::string& te::vp::DissolveSubdivisionOperationParameters::getColumnPropertyName ( ) const

◆ getDissolveMaxCoordinates()

bool te::vp::DissolveSubdivisionOperationParameters::getDissolveMaxCoordinates ( ) const

◆ getInputDataAccessVector()

const std::vector<te::da::DataAccess*>& te::vp::AbstractParameters::getInputDataAccessVector ( ) const
inherited

Returns the output dataAccess vector.

◆ getMaxCoordinates()

std::size_t te::vp::AbstractParameters::getMaxCoordinates ( ) const
inherited

Sets the input to be swapped. This is very usefull for operations between 2 dataSets. If TRUE, the input will be swapped. Default is FALSE.

◆ getOperationResult()

OperationResult te::vp::AbstractParameters::getOperationResult ( ) const
inherited

Sets the result of the operation.

◆ getOutputDataAccessVector()

const std::vector<te::da::DataAccess*>& te::vp::AbstractParameters::getOutputDataAccessVector ( ) const
inherited

Sets the input dataAccess vector.

◆ getRowPropertyName()

const std::string& te::vp::DissolveSubdivisionOperationParameters::getRowPropertyName ( ) const

◆ getSwapInput()

bool te::vp::AbstractParameters::getSwapInput ( ) const
inherited

Gets the result of the operation.

◆ isValid()

virtual bool te::vp::DissolveSubdivisionOperationParameters::isValid ( std::string &  errorMessage)
overridevirtual

It checks the parameters for the operation.

Returns
True if the parameters is valid for this operation and false in other cases.

Reimplemented from te::vp::AbstractParameters.

◆ reportParams()

void te::vp::AbstractParameters::reportParams ( OperationReport report)
inherited

It reports each parameter used in the operation.

Parameters
reportObject used to report operation information.

◆ reportSpecificParams()

virtual void te::vp::AbstractParameters::reportSpecificParams ( OperationReport report)
protectedvirtualinherited

It reports each specific parameter used in the operation.

Parameters
reportObject used to report operation information.

◆ setColumnPropertyName()

void te::vp::DissolveSubdivisionOperationParameters::setColumnPropertyName ( const std::string &  columnPropertyName)

◆ setDissolveMaxCoordinates()

void te::vp::DissolveSubdivisionOperationParameters::setDissolveMaxCoordinates ( bool  dissolveMaxCoordinates)

◆ setInputDataAccessVector()

void te::vp::AbstractParameters::setInputDataAccessVector ( const std::vector< te::da::DataAccess * > &  vecDataAccess)
inherited

Sets the output dataAccess vector.

◆ setMaxCoordinates()

void te::vp::AbstractParameters::setMaxCoordinates ( std::size_t  maxCoordinates)
inherited

Returns the current state of the geometry subdivision.

◆ setOperationResult()

void te::vp::AbstractParameters::setOperationResult ( OperationResult  result)
inherited

◆ setOutputDataAccessVector()

void te::vp::AbstractParameters::setOutputDataAccessVector ( const std::vector< te::da::DataAccess * > &  vecDataAccess)
inherited

Enables or disables geometry subdivision.

◆ setRowPropertyName()

void te::vp::DissolveSubdivisionOperationParameters::setRowPropertyName ( const std::string &  rowPropertyName)

◆ setSwapInput()

void te::vp::AbstractParameters::setSwapInput ( bool  swap)
inherited

Returns TRUE if the input must be swaped. FALSE otherwise.

Member Data Documentation

◆ m_columnPropertyName

std::string te::vp::DissolveSubdivisionOperationParameters::m_columnPropertyName
private

Definition at line 62 of file DissolveSubdivisionOperation.h.

◆ m_dissolveMaxCoordinates

bool te::vp::DissolveSubdivisionOperationParameters::m_dissolveMaxCoordinates
private

Definition at line 63 of file DissolveSubdivisionOperation.h.

◆ m_inputDataVector

std::vector<te::da::DataAccess*> te::vp::AbstractParameters::m_inputDataVector
protectedinherited

Vector with input dataAccess.

Definition at line 146 of file AbstractOperation.h.

◆ m_maxCoordinates

std::size_t te::vp::AbstractParameters::m_maxCoordinates
protectedinherited

If higher than 0, geometries will be subdivided until all the parts have less vertexes that this value.

Definition at line 151 of file AbstractOperation.h.

◆ m_operationResult

OperationResult te::vp::AbstractParameters::m_operationResult
protectedinherited

Stores the result of the operation.

Definition at line 150 of file AbstractOperation.h.

◆ m_outputDataVector

std::vector<te::da::DataAccess*> te::vp::AbstractParameters::m_outputDataVector
protectedinherited

Vector with output dataAccess.

Definition at line 147 of file AbstractOperation.h.

◆ m_rowPropertyName

std::string te::vp::DissolveSubdivisionOperationParameters::m_rowPropertyName
private

Definition at line 61 of file DissolveSubdivisionOperation.h.

◆ m_snapGeometries

bool te::vp::AbstractParameters::m_snapGeometries
protectedinherited

If TRUE, the geometries will be snapped before the operation is executed. Default is TRUE.

Definition at line 149 of file AbstractOperation.h.

◆ m_swapInput

bool te::vp::AbstractParameters::m_swapInput
protectedinherited

This is very usefull for operations between 2 dataSets. If TRUE, the input will be swapped. Default is FALSE.

Definition at line 148 of file AbstractOperation.h.


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