26 #ifndef __TERRALIB_RASTER_INTERNAL_BANDPROPERTY_H
27 #define __TERRALIB_RASTER_INTERNAL_BANDPROPERTY_H
30 #include "../common/UnitOfMeasure.h"
40 #include <boost/shared_ptr.hpp>
85 BandProperty(std::size_t idx,
int t,
const std::string& desc = std::string(
""));
135 std::vector<std::pair<std::string, std::string> >
m_metadata;
A raster band description.
int m_nblocksx
The number of blocks in x.
int getType() const
It returns the data type of the elements in the band.
double m_max
Maximum pixel value (default is std::numeric_limits<double>::max() which means no value set).
BandProperty(const BandProperty &rhs)
Copy constructor.
double m_min
Minimum pixel value (default is std::numeric_limits<double>::max() which means no value set).
std::string m_description
A description.
std::complex< double > m_valuesScale
Scale is the values (real and imaginary) which is multiplied to grid values for this sample dimension...
PaletteInterpretation m_paletteInterp
Pallete interpretation.
BandProperty & operator=(const BandProperty &rhs)
Assignment operator.
std::complex< double > m_valuesOffset
Offset is the values (real and imaginary) to add to grid values for this sample dimension,...
double m_noDataValue
Value to indicate elements where there is no data, default is std::numeric_limits<double>::max().
std::vector< ColorEntry > m_palette
The color palette.
int m_blkw
Block width (pixels).
double m_stdDev
Standard deviation of all pixel values (default is std::numeric_limits<double>::max() which means no ...
void setUnitOfMeasure(te::common::UnitOfMeasurePtr u)
Sets the unit of measure of the values;.
~BandProperty()
Destructor.
int m_blkh
Block height (pixels).
const te::common::UnitOfMeasurePtr & getUnitOfMeasure() const
It returns the unit of measure of the values.
te::common::UnitOfMeasurePtr m_unit
The unit of values.
ColorInterp m_colorInterp
The color interpretation.
std::vector< std::string > m_categoryNames
Set of categoric names for the values contained in a dimension.
std::vector< std::pair< std::string, std::string > > m_metadata
A list of metadata where each element consists of a (key, value).
BandProperty(std::size_t idx, int t, const std::string &desc=std::string(""))
Constructor.
int m_nblocksy
The number of blocks in y.
int m_type
The data type of the elements in the band ( See te::dt namespace basic data types for reference ).
std::size_t m_idx
The band index.
double m_mean
Mean of all pixel values (default is std::numeric_limits<double>::max() which means no value set).
boost::shared_ptr< UnitOfMeasure > UnitOfMeasurePtr
PaletteInterpretation
Palette interpratation types.
boost::shared_ptr< BandProperty > BandPropertyPtr
ColorInterp
Color model component use.
An structure to represent a color tuple.
short c1
gray, red, cyan or hue.
short c3
blue, yellow, or saturation.
short c2
green, magenta, or lightness.
short c4
alpha or blackband.
#define TERASTEREXPORT
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).
Enumerations of XML module.