26 #ifndef __TERRALIB_RP_INTERNAL_CLASSIFIERSTRATEGY_H 27 #define __TERRALIB_RP_INTERNAL_CLASSIFIERSTRATEGY_H 30 #include "../raster/Raster.h" 31 #include "../raster/BandProperty.h" 80 void setInputRasterBands(
const std::vector<unsigned int>& rasterBands );
87 std::unique_ptr< te::rst::Raster > releaseOutputRaster();
94 void setInputPolygons(
const std::vector<te::gm::Polygon*>& polygonsPtrs );
100 void enableProgressInterface(
const bool& enable );
106 void getMetaData( std::map< std::string, std::string >& metadata )
const;
112 void enableOutputPalette(
const bool enabled );
118 void setUserOutputPalette( std::vector< te::rst::BandProperty::ColorEntry >& userPalette );
172 bool createOutputRaster(
const std::vector< int >& bandsDataTypes,
173 const std::vector< double >& noDataValues );
180 bool setOutputRasterPalette(
const unsigned int size );
209 #endif // __TERRALIB_RP_INTERNAL_CLASSIFIERSTRATEGY_H bool m_createRasterPalette
Enable (true) or disable (false) the creation of a paletted output raster.
std::map< std::string, std::string > m_metaData
Strategy-dependent metadata.
std::vector< unsigned int > m_inputRasterBands
Input raster bands.
Raster classifier strategy parameters base class.
An abstract class for raster data strucutures.
#define TERPEXPORT
You can use this macro in order to export/import classes and functions from this module.
std::unique_ptr< te::rst::Raster > m_outputRasterPtr
A pointer to the output raster.
Configuration flags for the Raster Processing module of TerraLib.
bool m_progressInterfaceEnabled
Progress interface status.
te::rst::Raster const * m_inputRasterPtr
A pointer to the input raster.
Classifier Strategy Parameters.
Raster classifier strategy base class.
std::vector< te::rst::BandProperty::ColorEntry > m_userOutputPalette
User output raster palette (it must be large enough to accomodate all classifyier generated classes o...
std::vector< te::gm::Polygon * > const * m_inputPolygonsPtr
Input polygons.