26 #ifndef __TERRALIB_ST_INTERNAL_RASTERCOVERAGE_H
27 #define __TERRALIB_ST_INTERNAL_RASTERCOVERAGE_H
30 #include "../../../raster/Raster.h"
31 #include "../../../datatype/DateTime.h"
34 #include "../../Config.h"
121 unsigned int getNumberOfProperties()
const;
123 const std::vector<int>& getPropertyTypes()
const;
125 const std::vector<std::string>& getPropertyNames()
const;
127 void getValue(
const te::gm::Point& l, boost::ptr_vector<te::dt::AbstractData>& result)
const;
129 std::auto_ptr<te::dt::AbstractData> getValue(
const te::gm::Point& l,
unsigned int p=0)
const;
131 void getValue(
const te::gm::Polygon& l,
unsigned int p, boost::ptr_vector<te::dt::AbstractData>& result)
const;
133 void getValue(
const te::gm::Polygon& l, boost::ptr_vector<te::dt::AbstractData>& result)
const;
135 void getInt(
const te::gm::Point& l, std::vector<int>& result)
const;
139 void getInt(
const te::gm::Polygon& l,
unsigned int p, std::vector<int>& result)
const;
143 void getDouble(
const te::gm::Point& l, std::vector<double>& result)
const;
145 double getDouble(
const te::gm::Point& l,
unsigned int p=0)
const;
147 void getDouble(
const te::gm::Polygon& l,
unsigned int p, std::vector<double>& result)
const;
149 void getDouble(
const te::gm::Polygon& l, std::vector<double>& result)
const;
151 std::auto_ptr<te::rst::Raster> getRaster()
const;
153 std::auto_ptr<te::rst::Raster> getRaster(
unsigned int p)
const;
170 #endif // __TERRALIB_ST_INTERNAL_RASTERCOVERAGE_H
#define TESTEXPORT
You can use this macro in order to export/import classes and functions from this module.
CoverageType
An enum for the types of coverage.
std::vector< std::string > m_pnames
The types of the raster coverage properties.
boost::shared_ptr< DateTime > DateTimeShrPtr
boost::shared_ptr< Raster > RasterPtr
A point with x and y coordinate values.
An abstract class for raster data strucutures.
std::auto_ptr< te::gm::Geometry > m_sextent
This file contains an abstract class to represent a coverage.
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
A concrete class to represent a raster coverage.
Polygon is a subclass of CurvePolygon whose rings are defined by linear rings.
te::dt::DateTimeShrPtr m_time
An abstract class to represent a coverage.
te::rst::RasterPtr m_raster
std::vector< int > m_ptypes