IRasterBand is a single raster band for an IRaster.
More...
#include <hydrocouplespatial.h>
|
virtual | ~IRasterBand ()=0 |
| IRasterBand destructor. More...
|
|
virtual int | xSize () const =0 |
| Number of pixels in the x direction. More...
|
|
virtual int | ySize () const =0 |
| Number of pixels in y direction. More...
|
|
virtual IRaster * | raster () const =0 |
| Parent IRaster of this IRasterBand. More...
|
|
virtual IRaster::RasterDataType | dataType () const =0 |
| Raster data type. More...
|
|
virtual void | read (int xOffset, int yOffset, int xSize, int ySize, void *image) const =0 |
| Reads data into the image block. More...
|
|
virtual void | write (int xOffset, int yOffset, int xSize, int ySize, const void *image)=0 |
| Writes image into the raster band. More...
|
|
virtual double | noData () const =0 |
|
virtual | ~IIdentity ()=0 |
| IIdentity::~IIdentity is a virtual destructor. More...
|
|
virtual string | id () const =0 |
| Gets a unique identifier for the entity. More...
|
|
virtual | ~IDescription ()=0 |
| IDescription::~IDescription is a virtual destructor. More...
|
|
virtual string | caption () const =0 |
| Gets caption for the entity. More...
|
|
virtual void | setCaption (const string &caption)=0 |
| Sets caption for the entity. More...
|
|
virtual string | description () const =0 |
| Gets additional descriptive information for the entity. More...
|
|
virtual void | setDescription (const string &description)=0 |
| Gets additional descriptive information for the entity. More...
|
|
virtual | ~IPropertyChanged ()=0 |
| IPropertyChanged::~IPropertyChanged is a virtual destructor. More...
|
|
virtual void | registerPropertyChangedListener (const function< void(const any &, const string &)> &propertyChangedListener)=0 |
| IPropertyChanged::registerPropertyChangedListener() registers a listener to be called when a property of an object changes. More...
|
|
virtual void | deRegisterPropertyChangedListener (const function< void(const any &, const string &propertyName)> &propertyChangedListener)=0 |
| IPropertyChanged::deRegisterPropertyChangedListener() deregisters a listener that is called when a property of an object changes. More...
|
|
IRasterBand is a single raster band for an IRaster.
◆ ~IRasterBand()
virtual HydroCouple::Spatial::IRasterBand::~IRasterBand |
( |
| ) |
|
|
pure virtual |
◆ dataType()
◆ noData()
virtual double HydroCouple::Spatial::IRasterBand::noData |
( |
| ) |
const |
|
pure virtual |
◆ raster()
virtual IRaster* HydroCouple::Spatial::IRasterBand::raster |
( |
| ) |
const |
|
pure virtual |
◆ read()
virtual void HydroCouple::Spatial::IRasterBand::read |
( |
int |
xOffset, |
|
|
int |
yOffset, |
|
|
int |
xSize, |
|
|
int |
ySize, |
|
|
void * |
image |
|
) |
| const |
|
pure virtual |
Reads data into the image block.
- Parameters
-
xOffset | is the pixel offset to the top left corner of the region of the band to be accessed. This would be zero to start from the left side. |
- Parameters
-
yOffset | is the line offset to the top left corner of the region of the band to be accessed. This would be zero to start from the top. |
- Parameters
-
xSize | is the width of the region of the band to be accessed in pixels. |
- Parameters
-
ySize | is the height of the region of the band to be accessed in lines. |
- Parameters
-
image | is the pointer to where data is to be written. Delete after use. |
◆ write()
virtual void HydroCouple::Spatial::IRasterBand::write |
( |
int |
xOffset, |
|
|
int |
yOffset, |
|
|
int |
xSize, |
|
|
int |
ySize, |
|
|
const void * |
image |
|
) |
| |
|
pure virtual |
Writes image into the raster band.
- Parameters
-
xOffset | is the pixel offset to the top left corner of the region of the band to be accessed. This would be zero to start from the left side. |
- Parameters
-
yOffset | is the line offset to the top left corner of the region of the band to be accessed. This would be zero to start from the top. |
- Parameters
-
xSize | is the width of the region of the band to be accessed in pixels. |
- Parameters
-
ySize | is the height of the region of the band to be accessed in lines. |
- Parameters
-
image | is the pointer to where data is to be written. Delete after use. |
◆ xSize()
virtual int HydroCouple::Spatial::IRasterBand::xSize |
( |
| ) |
const |
|
pure virtual |
Number of pixels in the x direction.
◆ ySize()
virtual int HydroCouple::Spatial::IRasterBand::ySize |
( |
| ) |
const |
|
pure virtual |
Number of pixels in y direction.
The documentation for this class was generated from the following file: