te::sa::KernelOperation Class Referenceabstract

Virtual class used to execute the kernel operations. More...

#include <KernelOperation.h>

Inheritance diagram for te::sa::KernelOperation:
te::sa::KernelMapOperation te::sa::KernelRatioOperation

Public Member Functions

virtual void execute ()=0
 Function to execute the kernel operation. More...
 
 KernelOperation ()
 Default constructor. More...
 
void setOutputParameters (te::sa::KernelOutputParams *outParams)
 
virtual ~KernelOperation ()
 Virtual destructor. More...
 

Protected Member Functions

std::auto_ptr< te::rst::RasterbuildRaster (te::sa::KernelInputParams *inputParams, te::sa::KernelTree &kTree, std::string driver)
 
virtual void buildTree ()=0
 
std::auto_ptr< te::mem::DataSetcreateDataSet (te::da::DataSet *inputDataSet, te::da::DataSetType *dsType)
 
std::auto_ptr< te::da::DataSetTypecreateDataSetType (te::da::DataSetType *dsType)
 
std::auto_ptr< te::mem::DataSetrunDataSetKernel (te::sa::KernelInputParams *inputParams, te::sa::KernelTree &kTree, te::sa::KernelMap &kMap, te::da::DataSetType *dsType)
 
void runRasterKernel (te::sa::KernelInputParams *inputParams, te::sa::KernelTree &kTree, te::sa::KernelMap &kMap, te::rst::Raster *raster)
 
void saveDataSet (te::da::DataSet *dataSet, te::da::DataSetType *dsType)
 

Protected Attributes

te::sa::KernelTree m_kTree
 Attribute used to locate near geometries. More...
 
std::auto_ptr< te::sa::KernelOutputParamsm_outputParams
 Attribute with the kernel output parameters. More...
 

Detailed Description

Virtual class used to execute the kernel operations.

See also
KernelFunctions

Definition at line 58 of file KernelOperation.h.

Constructor & Destructor Documentation

te::sa::KernelOperation::KernelOperation ( )

Default constructor.

virtual te::sa::KernelOperation::~KernelOperation ( )
virtual

Virtual destructor.

Member Function Documentation

std::auto_ptr<te::rst::Raster> te::sa::KernelOperation::buildRaster ( te::sa::KernelInputParams inputParams,
te::sa::KernelTree kTree,
std::string  driver 
)
protected

Function used to create the output raster

virtual void te::sa::KernelOperation::buildTree ( )
protectedpure virtual

Function used to build the tree with data set information

Implemented in te::sa::KernelMapOperation, and te::sa::KernelRatioOperation.

std::auto_ptr<te::mem::DataSet> te::sa::KernelOperation::createDataSet ( te::da::DataSet inputDataSet,
te::da::DataSetType dsType 
)
protected

Function used to create the output dataset

std::auto_ptr<te::da::DataSetType> te::sa::KernelOperation::createDataSetType ( te::da::DataSetType dsType)
protected

Function used to create the output dataset type

virtual void te::sa::KernelOperation::execute ( )
pure virtual

Function to execute the kernel operation.

Implemented in te::sa::KernelMapOperation, and te::sa::KernelRatioOperation.

std::auto_ptr<te::mem::DataSet> te::sa::KernelOperation::runDataSetKernel ( te::sa::KernelInputParams inputParams,
te::sa::KernelTree kTree,
te::sa::KernelMap kMap,
te::da::DataSetType dsType 
)
protected

Function used to run kernel when output data is dataset

void te::sa::KernelOperation::runRasterKernel ( te::sa::KernelInputParams inputParams,
te::sa::KernelTree kTree,
te::sa::KernelMap kMap,
te::rst::Raster raster 
)
protected

Function used to run kernel when output data is a raster

void te::sa::KernelOperation::saveDataSet ( te::da::DataSet dataSet,
te::da::DataSetType dsType 
)
protected

Function used to save the output dataset

void te::sa::KernelOperation::setOutputParameters ( te::sa::KernelOutputParams outParams)

Member Data Documentation

te::sa::KernelTree te::sa::KernelOperation::m_kTree
protected

Attribute used to locate near geometries.

Definition at line 102 of file KernelOperation.h.

std::auto_ptr<te::sa::KernelOutputParams> te::sa::KernelOperation::m_outputParams
protected

Attribute with the kernel output parameters.

Definition at line 100 of file KernelOperation.h.


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