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:151
#define DT_DLL_features
stop complaining about multiple independent base classes for boost::noncopyable this should probably ...
Definition: featuresDefines.h:36
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.
Definition: featureSet.h:123
Key used to lookup attributes.
Definition: feature.h:66
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:178
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:149
Represents some coordinate system.
Definition: proj.h:44
Represents a set of characeters a DtFeature object can have.
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:181
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.
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.
Definition: osgEarthFeatureSet.h:42
osgEarth::AttributeTable AttributeTable
Definition: osgEarthFeatureSet.h:51
DtLoadType
Used to indicate whether to load features.
Definition: featureSet.h:36
std::vector< DtFeatureGeometry > GeometryVector
Definition: featureGeometry.h:68
int myTFSLod
Definition: osgEarthFeatureSet.h:111
OsgEarthFeaturePtr myFeature
Definition: osgEarthFeatureSet.h:48
AttributeSet myAttributes
Definition: osgEarthFeatureSet.h:108
Represents a GIS feature.
Definition: feature.h:37
boost::function< void()> LoadedCallback
Callback type type for async notification of feature set loading.
Definition: featureSet.h:154
std::map< Key::String, AttributeTable::value_type::second_type > StringAttributeTable
Definition: osgEarthFeatureSet.h:52
Represents a feature geometry.
Definition: featureGeometry.h:35
bool myUseTFS
Definition: osgEarthFeatureSet.h:110