26 #ifndef __TERRALIB_ST_INTERNAL_POINTCOVERAGE_H
27 #define __TERRALIB_ST_INTERNAL_POINTCOVERAGE_H
30 #include "../../../datatype/DateTime.h"
31 #include "../../../sam/rtree/Index.h"
34 #include "../../Config.h"
44 #include <boost/shared_ptr.hpp>
45 #include <boost/ptr_container/ptr_vector.hpp>
99 const std::vector<std::string>& pnames);
118 const std::vector<std::string>& pnames,
int tp);
167 void add(
const te::gm::Point& l, boost::ptr_vector<te::dt::AbstractData>& value);
189 unsigned int getNumberOfProperties()
const;
191 const std::vector<int>& getPropertyTypes()
const;
193 const std::vector<std::string>& getPropertyNames()
const;
195 void getValue(
const te::gm::Point& l, boost::ptr_vector<te::dt::AbstractData>& result)
const;
197 std::auto_ptr<te::dt::AbstractData> getValue(
const te::gm::Point& l,
unsigned int p=0)
const;
199 void getValue(
const te::gm::Polygon& l,
unsigned int p, boost::ptr_vector<te::dt::AbstractData>& result)
const;
201 void getValue(
const te::gm::Polygon& l, boost::ptr_vector<te::dt::AbstractData>& result)
const;
203 void getInt(
const te::gm::Point& l, std::vector<int>& result)
const;
207 void getInt(
const te::gm::Polygon& l,
unsigned int p, std::vector<int>& result)
const;
211 void getDouble(
const te::gm::Point& l, std::vector<double>& result)
const;
213 double getDouble(
const te::gm::Point& l,
unsigned int p=0)
const;
215 void getDouble(
const te::gm::Polygon& l,
unsigned int p, std::vector<double>& result)
const;
217 void getDouble(
const te::gm::Polygon& l, std::vector<double>& result)
const;
219 std::auto_ptr<te::rst::Raster> getRaster()
const;
221 std::auto_ptr<te::rst::Raster> getRaster(
unsigned int p)
const;
242 #endif // __TERRALIB_ST_INTERNAL_POINTCOVERAGE_H
#define TESTEXPORT
You can use this macro in order to export/import classes and functions from this module.
A concrete class to represent a point coverage.
boost::shared_ptr< te::sam::rtree::Index< std::size_t > > PointCvRTreeShrPtr
CoverageType
An enum for the types of coverage.
An abstract class for interpolation function or interpolator that estimate values at non-observaved l...
std::vector< PointCoverageObservation > PointCoverageObservationSet
PointCvRTreeShrPtr m_rTree
A class to traverse the observations of a PointCoverage.
boost::shared_ptr< PointCoverageItem > PointCoverageObservation
std::auto_ptr< te::gm::Geometry > m_sextent
AbstractPointCoverageInterp * m_interpolator
PointCoverageObservationSet m_observations
A point with x and y coordinate values.
This file contains a class to represent an observation of a PointCoverage.
std::auto_ptr< te::dt::DateTime > m_textent
A base class for values that can be retrieved from the data access module.
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.
This file contains an iterator that is able to traverse all observations of a point coverage...
std::vector< std::string > m_pnames
The types of the point coverage properties.
Polygon is a subclass of CurvePolygon whose rings are defined by linear rings.
int m_tp
The names of the point coverage properties.
An abstract class to represent a coverage.
std::vector< int > m_ptypes
The number of properties of the point coverage.