All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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::DataSetType
createDataSetType (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::KernelOutputParams
m_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.

Definition at line 51 of file KernelOperation.cpp.

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

Virtual destructor.

Definition at line 55 of file KernelOperation.cpp.

Member Function Documentation

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
std::auto_ptr< te::da::DataSetType > te::sa::KernelOperation::createDataSetType ( te::da::DataSetType dsType)
protected
virtual void te::sa::KernelOperation::execute ( )
pure virtual

Function to execute the kernel operation.

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

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

Function used to save the output dataset

Definition at line 153 of file KernelOperation.cpp.

References te::common::Singleton< DataSourceManager >::getInstance(), and te::da::DataSet::moveBeforeFirst().

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 files: