#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) |
~RasterToVector () | |
Protected Member Functions | |
std::auto_ptr< te::da::DataSetType > | getDataSetType (std::vector< std::set< int > > pixelDistinct=std::vector< std::set< int > >()) |
std::vector< std::set< int > > | getPixelDistinct (te::rst::Raster *rst, std::vector< unsigned int > bands) |
std::vector< te::rp::Texture > | getTexture (te::rst::Raster *rst, te::gm::Geometry *geom, int bands) |
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::Raster * | m_inRaster |
te::da::DataSourcePtr | m_inVectorDsrc |
std::auto_ptr< te::da::DataSetTypeConverter > | m_inVectorDsType |
std::string | m_inVectorName |
const te::da::ObjectIdSet * | m_oidSet |
std::string | m_outDset |
te::da::DataSourcePtr | m_outDsrc |
std::vector< te::stat::StatisticalSummary > | m_statSum |
bool | m_texture |
Definition at line 58 of file RasterToVector.h.
te::attributefill::RasterToVector::RasterToVector | ( | ) |
|
inline |
Definition at line 64 of file RasterToVector.h.
|
protected |
|
protected |
|
protected |
bool te::attributefill::RasterToVector::paramsAreValid | ( | ) |
bool te::attributefill::RasterToVector::run | ( | ) |
|
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 | ||
) |
|
protected |
Definition at line 101 of file RasterToVector.h.
|
protected |
Definition at line 94 of file RasterToVector.h.
|
protected |
Definition at line 95 of file RasterToVector.h.
|
protected |
Definition at line 97 of file RasterToVector.h.
|
protected |
Definition at line 96 of file RasterToVector.h.
|
protected |
Definition at line 98 of file RasterToVector.h.
|
protected |
Definition at line 105 of file RasterToVector.h.
|
protected |
Definition at line 104 of file RasterToVector.h.
|
protected |
Definition at line 100 of file RasterToVector.h.
|
protected |
Definition at line 102 of file RasterToVector.h.