te::attributefill::RasterToVector Class Reference

#include <RasterToVector.h>

Public Member Functions

bool paramsAreValid ()
 
 RasterToVector ()
 
bool run ()
 
void setInput (te::rst::Raster *inRaster, te::da::DataSourcePtr inVectorDsrc, std::string inVectorName, std::auto_ptr< te::da::DataSetTypeConverter > inVectorDsType, const te::da::ObjectIdSet *oidSet=0)
 
void setOutput (te::da::DataSourcePtr outDsrc, std::string dsName)
 
void setParams (std::vector< unsigned int > bands, std::vector< te::stat::StatisticalSummary > statSum, bool texture, bool readAll)
 
 ~RasterToVector ()
 

Protected Member Functions

std::auto_ptr< te::da::DataSetTypegetDataSetType (std::vector< std::vector< double > > pixelDistinct=std::vector< std::vector< double > >())
 
void getPixelDistinct (rst::Raster &inputRaster, unsigned int inputRasterBand, std::vector< double > &values)
 
std::vector< te::rp::TexturegetTexture (te::rst::Raster *rst, te::gm::Geometry *geom, int band, bool readAll=false)
 
bool save (std::auto_ptr< te::mem::DataSet > result, std::auto_ptr< te::da::DataSetType > outDsType)
 

Protected Attributes

std::vector< unsigned int > m_bands
 
te::rst::Rasterm_inRaster
 
te::da::DataSourcePtr m_inVectorDsrc
 
std::auto_ptr< te::da::DataSetTypeConverterm_inVectorDsType
 
std::string m_inVectorName
 
const te::da::ObjectIdSetm_oidSet
 
std::string m_outDset
 
te::da::DataSourcePtr m_outDsrc
 
bool m_readAll
 
std::vector< te::stat::StatisticalSummarym_statSum
 
bool m_texture
 

Detailed Description

Definition at line 58 of file RasterToVector.h.

Constructor & Destructor Documentation

te::attributefill::RasterToVector::RasterToVector ( )
te::attributefill::RasterToVector::~RasterToVector ( )
inline

Definition at line 63 of file RasterToVector.h.

Member Function Documentation

std::auto_ptr<te::da::DataSetType> te::attributefill::RasterToVector::getDataSetType ( std::vector< std::vector< double > >  pixelDistinct = std::vector< std::vector< double > >())
protected
void te::attributefill::RasterToVector::getPixelDistinct ( rst::Raster inputRaster,
unsigned int  inputRasterBand,
std::vector< double > &  values 
)
protected
std::vector<te::rp::Texture> te::attributefill::RasterToVector::getTexture ( te::rst::Raster rst,
te::gm::Geometry geom,
int  band,
bool  readAll = false 
)
protected
bool te::attributefill::RasterToVector::paramsAreValid ( )
bool te::attributefill::RasterToVector::run ( )
bool te::attributefill::RasterToVector::save ( std::auto_ptr< te::mem::DataSet result,
std::auto_ptr< te::da::DataSetType outDsType 
)
protected
void te::attributefill::RasterToVector::setInput ( te::rst::Raster inRaster,
te::da::DataSourcePtr  inVectorDsrc,
std::string  inVectorName,
std::auto_ptr< te::da::DataSetTypeConverter inVectorDsType,
const te::da::ObjectIdSet oidSet = 0 
)
void te::attributefill::RasterToVector::setOutput ( te::da::DataSourcePtr  outDsrc,
std::string  dsName 
)
void te::attributefill::RasterToVector::setParams ( std::vector< unsigned int >  bands,
std::vector< te::stat::StatisticalSummary statSum,
bool  texture,
bool  readAll 
)

Member Data Documentation

std::vector<unsigned int> te::attributefill::RasterToVector::m_bands
protected

Definition at line 106 of file RasterToVector.h.

te::rst::Raster* te::attributefill::RasterToVector::m_inRaster
protected

Definition at line 99 of file RasterToVector.h.

te::da::DataSourcePtr te::attributefill::RasterToVector::m_inVectorDsrc
protected

Definition at line 100 of file RasterToVector.h.

std::auto_ptr<te::da::DataSetTypeConverter> te::attributefill::RasterToVector::m_inVectorDsType
protected

Definition at line 102 of file RasterToVector.h.

std::string te::attributefill::RasterToVector::m_inVectorName
protected

Definition at line 101 of file RasterToVector.h.

const te::da::ObjectIdSet* te::attributefill::RasterToVector::m_oidSet
protected

Definition at line 103 of file RasterToVector.h.

std::string te::attributefill::RasterToVector::m_outDset
protected

Definition at line 111 of file RasterToVector.h.

te::da::DataSourcePtr te::attributefill::RasterToVector::m_outDsrc
protected

Definition at line 110 of file RasterToVector.h.

bool te::attributefill::RasterToVector::m_readAll
protected

Definition at line 108 of file RasterToVector.h.

std::vector<te::stat::StatisticalSummary> te::attributefill::RasterToVector::m_statSum
protected

Definition at line 105 of file RasterToVector.h.

bool te::attributefill::RasterToVector::m_texture
protected

Definition at line 107 of file RasterToVector.h.


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