26 #ifndef __TERRALIB_ST_INTERNAL_TRAJECTORY_H
27 #define __TERRALIB_ST_INTERNAL_TRAJECTORY_H
30 #include "../../../sam/rtree/Index.h"
33 #include "../../Config.h"
34 #include "../../Enums.h"
44 #include <boost/shared_ptr.hpp>
47 namespace te {
namespace dt {
class DateTime;
class DateTimePeriod; } }
48 namespace te {
namespace gm {
class Geometry;
class Envelope; } }
59 typedef boost::shared_ptr<te::sam::rtree::Index<te::dt::DateTime*> >
TjRTreeShrPtr;
137 const std::string&
id);
147 const std::string&
id);
207 std::string getId()
const;
214 void setId(
const std::string&
id);
240 std::size_t size()
const;
302 std::auto_ptr<te::dt::DateTimePeriod> getTemporalExtent()
const;
365 std::vector<TrajectoryPatch>& result)
const;
377 std::vector<TrajectoryPatch>& result)
const;
397 std::vector<TrajectoryPatch>& result)
const;
417 std::vector<TrajectoryPatch>& result)
const;
431 const std::vector<TrajectoryPatch>& result)
const;
442 std::auto_ptr<TimeSeries> getDistance(
const Trajectory& other)
const;
467 #endif // __TERRALIB_ST_INTERNAL_TRAJECTORY_H
This file contains a typedef that defines observations of trajectory.
#define TESTEXPORT
You can use this macro in order to export/import classes and functions from this module.
AbstractTrajectoryInterp * m_interpolator
The interpolator used to estimate non-observed times.
A struct to represent a patch or a continuous piece of a trajectory.
boost::shared_ptr< te::sam::rtree::Index< te::dt::DateTime * > > TjRTreeShrPtr
TemporalRelation
Temporal relations between date and time (Source: Allen, 1991).
SpatialRelation
Spatial relations between geometric objects.
std::map< te::dt::DateTimeShrPtr, te::gm::GeometryShrPtr, CompareShrDateTime > TrajectoryObservationSet
TrajectoryObservationSet m_observations
The trajectory observations.
This file contains a trajetory iterator.
An abstract class for an interpolation function or interpolator that estimates geometries at non-obse...
SpatioTemporalRelation
An enum for the types of spatiotemporal relation.
std::pair< te::dt::DateTimeShrPtr, te::gm::GeometryShrPtr > TrajectoryObservation
An Envelope defines a 2D rectangular region.
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
A class to represent trajectory.
TjRTreeShrPtr m_rtree
The RTree to index the trajectory geometries.
std::string m_id
The trajectory identification.
A class to traverse the observations of a trajectory.