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 enableRasterCache(
const bool& enable );
112 void enableMultiThread(
const bool& enable );
118 void getMetaData( std::map< std::string, std::string >& metadata )
const;
124 void enableOutputPalette(
const bool enabled );
130 void setUserOutputPalette( std::vector< te::rst::BandProperty::ColorEntry >& userPalette );
137 const std::string& getErrorMessage()
const;
201 bool createOutputRaster(
const std::vector< int >& bandsDataTypes,
202 const std::vector< double >& noDataValues );
209 bool setOutputRasterPalette(
const unsigned int size );
216 void setErrorMessage(
const std::string& newErrorMessage );
221 virtual void reset();
250 #endif // __TERRALIB_RP_INTERNAL_CLASSIFIERSTRATEGY_H bool m_createRasterPalette
Enable (true) or disable (false) the creation of a paletted output raster.
bool m_enableRasterCache
Enable or disable the use a raster data cache.
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.
bool m_enableMultiThread
Enable or disable the use multipe threads.
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.
std::string m_errorMessage
Current error message.