osgEarth 2.1.1
|
Public Member Functions | |
osgEarth::Features::FeatureCursor * | createCursor () |
int | getRevision () const |
FeatureDataSetAdapter (osgEarth::Features::FeatureSource *source) | |
Protected Attributes | |
osg::ref_ptr < osgEarth::Features::FeatureSource > | _features |
Source for (possibly dynamic) feature data that is to be symbolized.
Definition at line 31 of file FeatureDataSetAdapter.
FeatureDataSetAdapter::FeatureDataSetAdapter | ( | osgEarth::Features::FeatureSource * | source | ) |
Definition at line 27 of file FeatureDataSetAdapter.cpp.
osgEarth::Features::FeatureCursor * FeatureDataSetAdapter::createCursor | ( | ) | [virtual] |
Creates and returns an iterator that the caller can use to access each of the Features in this dataset. Caller is responsible for the return object.
Implements osgEarth::Symbology::FeatureDataSet.
Definition at line 35 of file FeatureDataSetAdapter.cpp.
{ return _features->createFeatureCursor(osgEarth::Features::Query()); }
int FeatureDataSetAdapter::getRevision | ( | ) | const [virtual] |
Gets the revision number of the dataset. Caller can use this is detect whether it is up to date with the latest version of the data set.
Implements osgEarth::Symbology::FeatureDataSet.
Definition at line 33 of file FeatureDataSetAdapter.cpp.
{ return 0; }
osg::ref_ptr<osgEarth::Features::FeatureSource> osgEarth::Symbology::FeatureDataSetAdapter::_features [protected] |
Definition at line 51 of file FeatureDataSetAdapter.