te::sa::KernelRatioOperation Class Reference

Class used to calculate the kernel ratio of a datasets. More...

#include <KernelRatioOperation.h>

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

Public Member Functions

virtual void execute ()
 Function to execute the kernel operation. More...
 
 KernelRatioOperation ()
 Default constructor. More...
 
void setInputParameters (te::sa::KernelInputParams *inParamsA, te::sa::KernelInputParams *inParamsB)
 
void setOutputParameters (te::sa::KernelOutputParams *outParams)
 
 ~KernelRatioOperation ()
 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 ()
 
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

std::auto_ptr< te::sa::KernelInputParamsm_inputParamsA
 Kernel input parameters A. More...
 
std::auto_ptr< te::sa::KernelInputParamsm_inputParamsB
 Kernel input parameters B. More...
 
te::sa::KernelMap m_kMapA
 Kernel map with input data A. More...
 
te::sa::KernelMap m_kMapB
 Kernel map with input data B. More...
 
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

Class used to calculate the kernel ratio of a datasets.

See also
KernelOperation

Definition at line 53 of file KernelRatioOperation.h.

Constructor & Destructor Documentation

te::sa::KernelRatioOperation::KernelRatioOperation ( )

Default constructor.

te::sa::KernelRatioOperation::~KernelRatioOperation ( )

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 
)
protectedinherited

Function used to create the output raster

virtual void te::sa::KernelRatioOperation::buildTree ( )
protectedvirtual

Function used to build the tree with data set information

Implements te::sa::KernelOperation.

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

Function used to create the output dataset

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

Function used to create the output dataset type

virtual void te::sa::KernelRatioOperation::execute ( )
virtual

Function to execute the kernel operation.

Implements te::sa::KernelOperation.

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 
)
protectedinherited

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 
)
protectedinherited

Function used to run kernel when output data is a raster

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

Function used to save the output dataset

void te::sa::KernelRatioOperation::setInputParameters ( te::sa::KernelInputParams inParamsA,
te::sa::KernelInputParams inParamsB 
)
void te::sa::KernelOperation::setOutputParameters ( te::sa::KernelOutputParams outParams)
inherited

Member Data Documentation

std::auto_ptr<te::sa::KernelInputParams> te::sa::KernelRatioOperation::m_inputParamsA
protected

Kernel input parameters A.

Definition at line 80 of file KernelRatioOperation.h.

std::auto_ptr<te::sa::KernelInputParams> te::sa::KernelRatioOperation::m_inputParamsB
protected

Kernel input parameters B.

Definition at line 81 of file KernelRatioOperation.h.

te::sa::KernelMap te::sa::KernelRatioOperation::m_kMapA
protected

Kernel map with input data A.

Definition at line 77 of file KernelRatioOperation.h.

te::sa::KernelMap te::sa::KernelRatioOperation::m_kMapB
protected

Kernel map with input data B.

Definition at line 78 of file KernelRatioOperation.h.

te::sa::KernelTree te::sa::KernelOperation::m_kTree
protectedinherited

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
protectedinherited

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: