Abstract class used to define the input/ ouptut parameters for TerraAmazon Operations.
More...
#include <AbstractOperation.h>
Abstract class used to define the input/ ouptut parameters for TerraAmazon Operations.
- Note
- Not all parameters must be defined, each operation will validate the necessary parameters.
Definition at line 65 of file AbstractOperation.h.
◆ AbstractParameters()
te::vp::AbstractParameters::AbstractParameters |
( |
| ) |
|
◆ ~AbstractParameters()
virtual te::vp::AbstractParameters::~AbstractParameters |
( |
| ) |
|
|
virtualdefault |
◆ addInputDataAccess()
Adds an input data access to the params.
- Parameters
-
dataAccess | The input dataAccess to be added |
◆ addOutputDataAccess()
Adds an output data access to the params. Note that if the dataSet does not exist, it will be created by the operation.
- Parameters
-
dataAccess | The output dataAccess to be added Returns the input dataAccess vector |
◆ getInputDataAccessVector()
const std::vector< te::da::DataAccess * > & te::vp::AbstractParameters::getInputDataAccessVector |
( |
| ) |
const |
Returns the output dataAccess vector.
◆ getMaxCoordinates()
std::size_t te::vp::AbstractParameters::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.
◆ getOperationResult()
Sets the result of the operation.
◆ getOutputDataAccessVector()
const std::vector< te::da::DataAccess * > & te::vp::AbstractParameters::getOutputDataAccessVector |
( |
| ) |
const |
Sets the input dataAccess vector.
◆ getSwapInput()
bool te::vp::AbstractParameters::getSwapInput |
( |
| ) |
const |
Gets the result of the operation.
◆ isValid()
virtual bool te::vp::AbstractParameters::isValid |
( |
std::string & |
errorMessage | ) |
|
|
virtual |
◆ reportParams()
It reports each parameter used in the operation.
- Parameters
-
report | Object used to report operation information. |
◆ reportSpecificParams()
virtual void te::vp::AbstractParameters::reportSpecificParams |
( |
OperationReport * |
report | ) |
|
|
protectedvirtual |
It reports each specific parameter used in the operation.
- Parameters
-
report | Object used to report operation information. |
◆ setInputDataAccessVector()
void te::vp::AbstractParameters::setInputDataAccessVector |
( |
const std::vector< te::da::DataAccess * > & |
vecDataAccess | ) |
|
Sets the output dataAccess vector.
◆ setMaxCoordinates()
void te::vp::AbstractParameters::setMaxCoordinates |
( |
std::size_t |
maxCoordinates | ) |
|
Returns the current state of the geometry subdivision.
◆ setOperationResult()
void te::vp::AbstractParameters::setOperationResult |
( |
OperationResult |
result | ) |
|
◆ setOutputDataAccessVector()
void te::vp::AbstractParameters::setOutputDataAccessVector |
( |
const std::vector< te::da::DataAccess * > & |
vecDataAccess | ) |
|
Enables or disables geometry subdivision.
◆ setSwapInput()
void te::vp::AbstractParameters::setSwapInput |
( |
bool |
swap | ) |
|
Returns TRUE if the input must be swaped. FALSE otherwise.
◆ m_inputDataVector
◆ m_maxCoordinates
std::size_t te::vp::AbstractParameters::m_maxCoordinates |
|
protected |
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
◆ m_outputDataVector
◆ m_snapGeometries
bool te::vp::AbstractParameters::m_snapGeometries |
|
protected |
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 |
|
protected |
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:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/vp/AbstractOperation.h