26#ifndef __TERRALIB_RP_INTERNAL_CLASSIFIERSTRATEGY_H 
   27#define __TERRALIB_RP_INTERNAL_CLASSIFIERSTRATEGY_H 
   30#include "../raster/Raster.h" 
   31#include "../raster/BandProperty.h" 
   75        void setInputRaster( const 
te::rst::Raster& raster );
 
   81        void setInputRasterBands( const  std::vector<
unsigned int>& rasterBands );
 
   88        std::unique_ptr< 
te::rst::Raster > releaseOutputRaster();
 
   95        void setInputPolygons( const std::vector<
te::gm::Polygon*>& polygonsPtrs );
 
  101        void enableProgressInterface( const 
bool& enable );
 
  107        void enableRasterCache( const 
bool& enable );
 
  113        void enableMultiThread( const 
bool& enable );
 
  119        void getMetaData( std::map< std::
string, std::
string >& metadata ) const;
 
  125        void enableOutputPalette( const 
bool enabled );
 
  131        void setUserOutputPalette( std::vector< 
te::rst::BandProperty::ColorEntry >& userPalette );
 
  138        const std::
string& getErrorMessage() const;
 
  152        te::rst::Raster const * m_inputRasterPtr;
 
  157        bool m_progressInterfaceEnabled;
 
  162        bool m_enableRasterCache;
 
  167        bool m_enableMultiThread;
 
  172        bool m_createRasterPalette;
 
  177        std::unique_ptr< 
te::rst::Raster > m_outputRasterPtr;
 
  182        std::vector<
unsigned int> m_inputRasterBands;
 
  187        std::vector<
te::gm::Polygon*> const * m_inputPolygonsPtr;
 
  192        std::map< std::
string, std::
string > m_metaData;
 
  197        std::vector< 
te::rst::BandProperty::ColorEntry > m_userOutputPalette;
 
  209        bool createOutputRaster( const std::vector< 
int >& bandsDataTypes,
 
  210          const std::vector< 
double >& noDataValues );
 
  217        bool setOutputRasterPalette( const 
unsigned int size );
 
  224        void setErrorMessage( const std::
string& newErrorMessage );
 
  229        virtual 
void reset();
 
  236        std::
string m_errorMessage;
 
Raster classifier strategy parameters base class.
 
Classifier Strategy Output Parameters.
 
Classifier Strategy Parameters.
 
Raster classifier strategy base class.
 
virtual bool execute() _NOEXCEPT_OP(false)=0
Executes the classification strategy.
 
virtual ~ClassifierStrategy()
Virtual destructor.
 
virtual bool initialize(ClassifierStrategyParameters const *const strategyParams) _NOEXCEPT_OP(false)=0
Initialize the classification strategy.
 
#define TERPEXPORT
You can use this macro in order to export/import classes and functions from this module.
 
Proxy configuration file for TerraView (see terraview_config.h).
 
An exception class for the XML module.