11 #include <osgEarth/Map>
12 #include <osgEarth/FeatureSource>
13 #include <osgEarth/Query>
14 #include <osgEarth/MapNode>
15 #include <osgEarth/Geometry>
17 namespace MAKVRinTerra
25 const osgEarth::Geometry* geom,
const DtProj& proj);
29 unsigned numberOfAttributes(
const Key::String&)
const;
31 boost::optional<Attribute> attribute(
const Key &)
const;
76 std::string labelWithoutBounds()
const;
77 std::string label()
const;
83 bool loaded(
double)
const;
87 bool isCacheable(
const boost::optional<DtFeatureGeometry>& area)
const;
88 void cacheEstimate(
double& time,
double&
size,
const boost::optional<DtFeatureGeometry>& area)
const;
90 const boost::optional<DtFeatureGeometry>& area,
97 virtual void convertBoundsQueryToTileQueries(
98 std::list<osgEarth::Query>& output)
const;
99 virtual void convertBoundsQueryToTileQueries(
100 const osgEarth::TileKey& root,
101 std::list<osgEarth::Query>& output)
const;
Represents a set of DtFeature objects or others which conform to the DtFeature concept.
Definition: featureSet.h:101
bool myErrorFlag
Definition: osgEarthFeatureSet.h:104
boost::function< void(const Feature &)> ForEachFunction
Callback type type for iterating through features.
Definition: featureSet.h:153
#define DT_DLL_features
stop complaining about multiple independent base classes for boost::noncopyable this should probably ...
Definition: featuresDefines.h:41
Definition: osgEarthFeatureSet.h:67
osg::ref_ptr< osgEarth::FeatureSource > myFeatureSource
Definition: osgEarthFeatureSet.h:103
std::set< DtFeature::Key > AttributeSet
Definition: osgEarthFeatureSet.h:70
boost::function< void()> DetachCallback
Callback type for disconnecting other callbacks. Functions which register callbacks return a DetachCa...
Definition: featureSet.h:125
Key used to lookup attributes. The DtFeature interface is a dictionary that maps Key objects to attri...
Definition: feature.h:68
bool myAlwaysLoadFlag
Definition: osgEarthFeatureSet.h:109
Definition: featureSet.h:48
voidpf void uLong size
Definition: ioapi.h:39
StringAttributeTable myAttributes
Definition: osgEarthFeatureSet.h:53
boost::function< void()> DetachCallback
Callback used to detach the user from a feature so the users callback is not called anymore...
Definition: feature.h:180
boost::optional< DtFeatureGeometry > myGeometryFilter
Definition: osgEarthFeatureSet.h:106
Definition: osgEarthFeatureSet.h:19
boost::function< void(const Key &, const Attribute &)> ForEachFunction
Callback used to iterating through attributes with ForEachAttribute.
Definition: feature.h:151
Represents some coordinate system. The terms "coordinate system", "projection", "spatial reference"...
Definition: proj.h:44
Represents a set of characeters a DtFeature object can have. DtQuery objects are the way to communica...
Definition: query.h:38
osg::ref_ptr< osgEarth::Feature > OsgEarthFeaturePtr
Definition: osgEarthFeatureSet.h:22
boost::function< void()> DeleteCallback
User supplied callback called when feature is deleted.
Definition: feature.h:183
Definition: osgEarthFeatureSet.h:56
boost::shared_ptr< const DtProj > CPtr
Definition: proj.h:48
DetachCallback addDeleteCallback(const DeleteCallback &) const
Add a user supplied callback to the feature to be called when the feature is deleted. If the feature is already deleted the callback may or may not be called by the implementation of this function. The callback is guaranteed to only be called once.
Definition: osgEarthFeatureSet.h:37
DtFeatureGeometry myGeometry
Definition: osgEarthFeatureSet.h:64
DtProj::CPtr myProjection
Definition: osgEarthFeatureSet.h:49
osgEarth::Query myQuery
Definition: osgEarthFeatureSet.h:107
DtProj::CPtr myProjection
Definition: osgEarthFeatureSet.h:105
bool isDeleted() const
Check to see if feature has been deleted. Note: this is not related to C++ delete or destructors...
Definition: osgEarthFeatureSet.h:42
osgEarth::AttributeTable AttributeTable
Definition: osgEarthFeatureSet.h:51
DtLoadType
Used to indicate whether to load features. See DtFeatureSetTemplate::filter.
Definition: featureSet.h:36
std::vector< DtFeatureGeometry > GeometryVector
Definition: featureGeometry.h:74
int myTFSLod
Definition: osgEarthFeatureSet.h:111
OsgEarthFeaturePtr myFeature
Definition: osgEarthFeatureSet.h:48
AttributeSet myAttributes
Definition: osgEarthFeatureSet.h:108
Represents a GIS feature. Features consist of a DtFeatureGeometry (2.5D geometric vector data) and a ...
Definition: feature.h:37
boost::function< void()> LoadedCallback
Callback type type for async notification of feature set loading.
Definition: featureSet.h:156
std::map< Key::String, AttributeTable::value_type::second_type > StringAttributeTable
Definition: osgEarthFeatureSet.h:52
Represents a feature geometry.
Definition: featureGeometry.h:39
bool myUseTFS
Definition: osgEarthFeatureSet.h:110