|
osgEarth 2.1.1
|
Inheritance diagram for osgEarth::Util::GeoObject:
Collaboration diagram for osgEarth::Util::GeoObject:Public Member Functions | |
| virtual bool | getLocation (osg::Vec3d &output) const =0 |
| virtual float | getPriority () const |
| virtual osg::Node * | getNode () const =0 |
| GeoCell * | getGeoCell () const |
Protected Member Functions | |
| GeoObject () | |
Protected Attributes | |
| osg::observer_ptr< GeoCell > | _cell |
| float | _priority |
Friends | |
| class | GeoCell |
Base class for an object indexed by a GeoCell hierarchy.
Definition at line 150 of file SpatialData.
| GeoObject::GeoObject | ( | ) | [protected] |
Definition at line 106 of file SpatialData.cpp.
{
//NOP
}
| GeoCell* osgEarth::Util::GeoObject::getGeoCell | ( | ) | const [inline] |
The cell currently holding this object.
Definition at line 166 of file SpatialData.
{ return _cell.get(); }
| virtual bool osgEarth::Util::GeoObject::getLocation | ( | osg::Vec3d & | output | ) | const [pure virtual] |
Outputs the location (for spatial indexing), which must be in the same SRS as the GeoGraph.
Here is the caller graph for this function:| virtual osg::Node* osgEarth::Util::GeoObject::getNode | ( | ) | const [pure virtual] |
Gets the node to render for this object.
| virtual float osgEarth::Util::GeoObject::getPriority | ( | ) | const [inline, virtual] |
The priority of the object relative to other objects
Definition at line 160 of file SpatialData.
{ return 0.0; }
Here is the caller graph for this function:friend class GeoCell [friend] |
Definition at line 172 of file SpatialData.
osg::observer_ptr<GeoCell> osgEarth::Util::GeoObject::_cell [protected] |
Definition at line 170 of file SpatialData.
float osgEarth::Util::GeoObject::_priority [protected] |
Definition at line 171 of file SpatialData.
1.7.3