27 #include "../common/UnitOfMeasure.h"
28 #include "../datatype/Enums.h"
39 m_noDataValue(std::numeric_limits<double>::max()),
40 m_valuesOffset(0.0, 0.0),
41 m_valuesScale(1.0, 0.0),
54 m_description(rhs.m_description),
55 m_metadata(rhs.m_metadata),
56 m_noDataValue(rhs.m_noDataValue),
57 m_valuesOffset(rhs.m_valuesOffset),
58 m_valuesScale(rhs.m_valuesScale),
59 m_categoryNames(rhs.m_categoryNames),
60 m_colorInterp(rhs.m_colorInterp),
61 m_paletteInterp(rhs.m_paletteInterp),
62 m_palette(rhs.m_palette),
65 m_nblocksx(rhs.m_nblocksx),
66 m_nblocksy(rhs.m_nblocksy),
std::size_t m_idx
The band index.
It describes one band (or dimension) of a raster.
std::vector< ColorEntry > m_palette
The color palette.
std::vector< std::string > m_categoryNames
Set of categoric names for the values contained in a dimension.
A raster band description.
int m_nblocksx
The number of blocks in x.
int m_nblocksy
The number of blocks in y.
BandProperty(std::size_t idx, int t, const std::string &desc=std::string(""))
Constructor.
int m_type
The data type of the elements in the band.
double m_noDataValue
Value to indicate elements where there is no data, default is std::numeric_limits::max().
std::vector< std::pair< std::string, std::string > > m_metadata
A list of metadata where each element consists of a (key, value).
std::complex< double > m_valuesScale
Scale is the values (real and imaginary) which is multiplied to grid values for this sample dimension...
int m_blkw
Block width (pixels).
No color interpretation is associated with the band.
Undefined palette interpretation.
BandProperty & operator=(const BandProperty &rhs)
Assignment operator.
General enumerations for the data type module.
~BandProperty()
Destructor.
std::complex< double > m_valuesOffset
Offset is the values (real and imaginary) to add to grid values for this sample dimension, default is 0.
std::string m_description
A description.
te::common::UnitOfMeasurePtr m_unit
The unit of values.
int m_blkh
Block height (pixels).
ColorInterp m_colorInterp
The color interpretation.
PaletteInterpretation m_paletteInterp
Pallete interpretation.