Go to the documentation of this file.
   26 #ifndef __TERRALIB_MAPTOOLS_INTERNAL_RASTERCONTRAST_H 
   27 #define __TERRALIB_MAPTOOLS_INTERNAL_RASTERCONTRAST_H 
   93         void setValues(
const double& gain, 
const double& offset1, 
const double& offset2, 
const double& min, 
const double& max, 
const std::size_t& band);
 
  104         void getValues(std::vector<double>& gain, std::vector<double>& offset1, std::vector<double>& offset2, std::vector<double>& min, std::vector<double>& max);
 
  123 #endif  // __TERRALIB_MAPTOOLS_INTERNAL_RASTERCONTRAST_H 
  
 
std::vector< double > m_gain
 
~RasterContrast()
Destructor.
 
std::vector< double > m_offset1
 
void getValues(std::vector< double > &gain, std::vector< double > &offset1, std::vector< double > &offset2, std::vector< double > &min, std::vector< double > &max)
It get the contrast transformation values.
 
std::vector< double > m_offset2
 
const te::map::RasterTransform::ContrastType getType() const
It gets the contrast type.
 
Enumerations of XML module.
 
RasterContrast(const te::map::RasterTransform::ContrastType &type, const std::size_t &nBands)
It constructs a new RasterContrast instance.
 
This class contains the parameters needed to apply dynamic contrast over a raster.
 
void setValues(const double &gain, const double &offset1, const double &offset2, const double &min, const double &max, const std::size_t &band)
It set the transformation values for contranst of one band.
 
te::map::RasterTransform::ContrastType m_type
The contrast type.
 
Proxy configuration file for TerraView (see terraview_config.h).
 
RasterContrast(const RasterContrast &rhs)
Copy constructor.
 
std::vector< double > m_max
 
std::vector< double > m_min
 
std::size_t getNBands()
It gets the contrast number of bands.