#include <DissolveSubdivisionOperation.h>
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 |
Definition at line 43 of file DissolveSubdivisionOperation.h.
te::vp::DissolveSubdivisionOperationParameters::DissolveSubdivisionOperationParameters | ( | ) |
te::vp::DissolveSubdivisionOperationParameters::DissolveSubdivisionOperationParameters | ( | const std::string & | rowPropertyName, |
const std::string & | columnPropertyName, | ||
bool | dissolveMaxCoordinates | ||
) |
|
virtual |
|
inherited |
Adds an input data access to the params.
dataAccess | The input dataAccess to be added |
|
inherited |
Adds an output data access to the params. Note that if the dataSet does not exist, it will be created by the operation.
dataAccess | The output dataAccess to be added Returns the input dataAccess vector |
const std::string & te::vp::DissolveSubdivisionOperationParameters::getColumnPropertyName | ( | ) | const |
bool te::vp::DissolveSubdivisionOperationParameters::getDissolveMaxCoordinates | ( | ) | const |
|
inherited |
Returns the output dataAccess vector.
|
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.
|
inherited |
Sets the result of the operation.
|
inherited |
Sets the input dataAccess vector.
const std::string & te::vp::DissolveSubdivisionOperationParameters::getRowPropertyName | ( | ) | const |
|
inherited |
Gets the result of the operation.
|
overridevirtual |
It checks the parameters for the operation.
Reimplemented from te::vp::AbstractParameters.
|
inherited |
It reports each parameter used in the operation.
report | Object used to report operation information. |
|
protectedvirtualinherited |
It reports each specific parameter used in the operation.
report | Object used to report operation information. |
void te::vp::DissolveSubdivisionOperationParameters::setColumnPropertyName | ( | const std::string & | columnPropertyName | ) |
void te::vp::DissolveSubdivisionOperationParameters::setDissolveMaxCoordinates | ( | bool | dissolveMaxCoordinates | ) |
|
inherited |
Sets the output dataAccess vector.
|
inherited |
Returns the current state of the geometry subdivision.
|
inherited |
|
inherited |
Enables or disables geometry subdivision.
void te::vp::DissolveSubdivisionOperationParameters::setRowPropertyName | ( | const std::string & | rowPropertyName | ) |
|
inherited |
Returns TRUE if the input must be swaped. FALSE otherwise.
|
private |
Definition at line 62 of file DissolveSubdivisionOperation.h.
|
private |
Definition at line 63 of file DissolveSubdivisionOperation.h.
|
protectedinherited |
Vector with input dataAccess.
Definition at line 146 of file AbstractOperation.h.
|
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.
|
protectedinherited |
Stores the result of the operation.
Definition at line 150 of file AbstractOperation.h.
|
protectedinherited |
Vector with output dataAccess.
Definition at line 147 of file AbstractOperation.h.
|
private |
Definition at line 61 of file DissolveSubdivisionOperation.h.
|
protectedinherited |
If TRUE, the geometries will be snapped before the operation is executed. Default is TRUE.
Definition at line 149 of file AbstractOperation.h.
|
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.