Performs raster data registering into a SRS using a set of tie points. More...
#include <Register.h>
Classes | |
class | InputParameters |
Register input parameters. More... | |
class | OutputParameters |
Register output parameters. More... | |
Public Member Functions | |
bool | execute (AlgorithmOutputParameters &outputParams) throw ( te::rp::Exception ) |
Executes the algorithm using the supplied parameters. More... | |
bool | initialize (const AlgorithmInputParameters &inputParams) throw ( te::rp::Exception ) |
Initialize the algorithm instance making it ready for execution. More... | |
bool | isInitialized () const |
Returns true if the algorithm instance is initialized and ready for execution. More... | |
Register () | |
void | reset () throw ( te::rp::Exception ) |
Clear all internal allocated objects and reset the algorithm to its initial state. More... | |
~Register () | |
Protected Attributes | |
Register::InputParameters | m_inputParameters |
Input execution parameters. More... | |
bool | m_isInitialized |
Tells if this instance is initialized. More... | |
Performs raster data registering into a SRS using a set of tie points.
Definition at line 48 of file Register.h.
te::rp::Register::Register | ( | ) |
Definition at line 141 of file Register.cpp.
References reset().
te::rp::Register::~Register | ( | ) |
Definition at line 146 of file Register.cpp.
|
virtual |
Executes the algorithm using the supplied parameters.
outputParams | Output parameters. |
Implements te::rp::Algorithm.
Definition at line 150 of file Register.cpp.
References te::gm::GeometricTransformation::clone(), te::rst::Raster::getBand(), te::rst::GetDataTypeRanges(), te::rst::Raster::getGrid(), te::rp::GetIndexedDetailedExtent(), te::rst::Raster::getNumberOfColumns(), te::rst::Raster::getNumberOfRows(), te::rst::Band::getProperty(), te::rst::Interpolator::getValue(), te::gm::LineString::getX(), te::gm::LineString::getY(), te::rst::Grid::gridToGeo(), te::gm::GeometricTransformation::inverseMap(), te::gm::LineStringType, te::rp::Register::InputParameters::m_geomTransfName, te::rp::Register::InputParameters::m_geomTransfPtr, m_inputParameters, te::rp::Register::InputParameters::m_inputRasterBands, te::rp::Register::InputParameters::m_inputRasterPtr, te::rp::Register::InputParameters::m_interpMethod, m_isInitialized, te::gm::Envelope::m_llx, te::gm::Envelope::m_lly, te::rp::Register::InputParameters::m_noDataValue, te::rst::BandProperty::m_noDataValue, te::rp::Register::InputParameters::m_outputBoundingBox, te::rp::Register::OutputParameters::m_outputRasterPtr, te::rp::Register::InputParameters::m_outputResolutionX, te::rp::Register::InputParameters::m_outputResolutionY, te::rp::Register::InputParameters::m_outputSRID, te::rp::Register::OutputParameters::m_rInfo, te::rp::Register::OutputParameters::m_rType, te::rp::Register::InputParameters::m_tiePoints, te::gm::GTParameters::m_tiePoints, te::rst::BandProperty::m_type, te::gm::Envelope::m_urx, te::gm::Envelope::m_ury, te::rst::RasterFactory::make(), te::common::AbstractFactory< GeometricTransformation, std::string >::make(), te::rst::Band::setValue(), te::gm::LineString::size(), TERP_TRUE_OR_RETURN_FALSE, and TERP_TRUE_OR_THROW.
Referenced by te::qt::widgets::RegisterWizard::execute().
|
virtual |
Initialize the algorithm instance making it ready for execution.
inputParams | Input parameters. |
Implements te::rp::Algorithm.
Definition at line 319 of file Register.cpp.
References te::rst::Raster::getAccessPolicy(), te::rst::Raster::getNumberOfBands(), te::gm::GeometricTransformation::isValid(), te::rp::Register::InputParameters::m_geomTransfName, te::rp::Register::InputParameters::m_geomTransfPtr, m_inputParameters, te::rp::Register::InputParameters::m_inputRasterBands, te::rp::Register::InputParameters::m_inputRasterPtr, m_isInitialized, te::rp::Register::InputParameters::m_outputResolutionX, te::rp::Register::InputParameters::m_outputResolutionY, te::rp::Register::InputParameters::m_outputSRID, te::rp::Register::InputParameters::m_tiePoints, te::common::AbstractFactory< GeometricTransformation, std::string >::make(), te::common::RAccess, reset(), TERP_TRUE_OR_RETURN_FALSE, and TERP_TRUE_OR_THROW.
Referenced by te::qt::widgets::RegisterWizard::execute().
|
virtual |
Returns true if the algorithm instance is initialized and ready for execution.
Implements te::rp::Algorithm.
Definition at line 386 of file Register.cpp.
References m_isInitialized.
|
virtual |
Clear all internal allocated objects and reset the algorithm to its initial state.
Implements te::rp::Algorithm.
Definition at line 313 of file Register.cpp.
References m_inputParameters, m_isInitialized, and te::rp::Register::InputParameters::reset().
Referenced by initialize(), te::rp::Register::InputParameters::InputParameters(), te::rp::Register::InputParameters::operator=(), te::rp::Register::OutputParameters::operator=(), te::rp::Register::OutputParameters::OutputParameters(), Register(), te::rp::Register::InputParameters::~InputParameters(), and te::rp::Register::OutputParameters::~OutputParameters().
|
protected |
Input execution parameters.
Definition at line 145 of file Register.h.
Referenced by execute(), initialize(), and reset().
|
protected |
Tells if this instance is initialized.
Definition at line 147 of file Register.h.
Referenced by execute(), initialize(), isInitialized(), and reset().