26 #ifndef __TERRALIB_RASTER_INTERNAL_UTILS_H
27 #define __TERRALIB_RASTER_INTERNAL_UTILS_H
105 TERASTEREXPORT void Copy(
unsigned int drow,
unsigned int dcolumn,
unsigned int height,
unsigned int width,
const Raster& rin, Raster& rout);
128 const std::string& rType = std::string(
"GDAL"));
157 #endif // __TERRALIB_RASTER_INTERNAL_UTILS_H
It gives access to values in one band (dimension) of a raster.
TERASTEREXPORT int Round(double val)
Round a double value to a integer value.
TERASTEREXPORT int GetPixelSize(int datatype)
Returns the byte size of a given datatype.
TERASTEREXPORT void FillRaster(te::rst::Raster *rin, const std::complex< double > &value)
Fill a Raster with provided value (all bands).
It describes one band (or dimension) of a raster.
TERASTEREXPORT std::vector< BandProperty * > GetBandProperties(const std::map< std::string, std::string > &rinfo)
Returns a vector of band properties, based on a given raster info.
A rectified grid is the spatial support for raster data.
A raster band description.
TERASTEREXPORT Grid * GetGrid(const std::map< std::string, std::string > &rinfo)
Returns a grid based on a given raster info.
#define TERASTEREXPORT
You can use this macro in order to export/import classes and functions from this module.
TERASTEREXPORT te::rst::RasterPtr CreateCopy(const te::rst::Raster &rin, const std::string &uri, const std::string &rType=std::string("GDAL"))
Create a new raster from existing one.
An abstract class for raster data strucutures.
TERASTEREXPORT void Copy(const Raster &rin, Raster &rout)
Copies the pixel values from one raster to another.
TERASTEREXPORT void FillBand(te::rst::Band *bin, const std::complex< double > &value)
Fill a Raster Band with provided value.
Configuration flags for the Raster module of TerraLib.
TERASTEREXPORT void GetDataTypeRanges(const int &dataType, double &min, double &max)
Return the values range of a given data type.
boost::shared_ptr< Raster > RasterPtr
An abstract class for raster data strucutures.