All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
te::sa::KernelMapOperation Class Reference

Class used to calculate the kernel map of a dataset. More...

#include <KernelMapOperation.h>

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

Public Member Functions

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

std::auto_ptr
< te::sa::KernelInputParams
m_inputParams
 Kernel input parameters. More...
 
te::sa::KernelMap m_kMap
 Kernel map with input data. More...
 
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

Class used to calculate the kernel map of a dataset.

See also
KernelOperation

Definition at line 53 of file KernelMapOperation.h.

Constructor & Destructor Documentation

te::sa::KernelMapOperation::KernelMapOperation ( )

Default constructor.

Definition at line 39 of file KernelMapOperation.cpp.

te::sa::KernelMapOperation::~KernelMapOperation ( )

Virtual destructor.

Definition at line 44 of file KernelMapOperation.cpp.

Member Function Documentation

std::auto_ptr< te::mem::DataSet > te::sa::KernelOperation::createDataSet ( te::da::DataSet inputDataSet,
te::da::DataSetType dsType 
)
protectedinherited
std::auto_ptr< te::da::DataSetType > te::sa::KernelOperation::createDataSetType ( te::da::DataSetType dsType)
protectedinherited
void te::sa::KernelMapOperation::execute ( )
virtual

Function to execute the kernel operation.

Implements te::sa::KernelOperation.

Definition at line 58 of file KernelMapOperation.cpp.

References te::sa::Attribute, and te::sa::Grid.

Referenced by te::sa::KernelMapDialog::onOkPushButtonClicked().

void te::sa::KernelOperation::runRasterKernel ( te::sa::KernelInputParams inputParams,
te::sa::KernelTree kTree,
te::sa::KernelMap kMap,
te::rst::Raster raster 
)
protectedinherited
void te::sa::KernelOperation::saveDataSet ( te::da::DataSet dataSet,
te::da::DataSetType dsType 
)
protectedinherited

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::KernelMapOperation::setInputParameters ( te::sa::KernelInputParams inParams)
void te::sa::KernelOperation::setOutputParameters ( te::sa::KernelOutputParams outParams)
inherited

Member Data Documentation

std::auto_ptr<te::sa::KernelInputParams> te::sa::KernelMapOperation::m_inputParams
protected

Kernel input parameters.

Definition at line 79 of file KernelMapOperation.h.

te::sa::KernelMap te::sa::KernelMapOperation::m_kMap
protected

Kernel map with input data.

Definition at line 77 of file KernelMapOperation.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 files: