osgEarth 2.1.1
|
Public Member Functions | |
virtual void | scan (const Config &conf, KMLContext &cx) |
virtual void | scan2 (const Config &conf, KMLContext &cx) |
virtual void | build (const Config &conf, KMLContext &cx, osg::Node *working) |
Protected Member Functions | |
AnnotationData * | getOrCreateAnnotationData (osg::Node *node) |
Definition at line 28 of file KML_Object.
void KML_Object::build | ( | const Config & | conf, |
KMLContext & | cx, | ||
osg::Node * | working | ||
) | [virtual] |
Reimplemented in KML_Container, KML_Feature, and KML_Overlay.
Definition at line 22 of file KML_Object.cpp.
{
//todo - read ID
}
AnnotationData * KML_Object::getOrCreateAnnotationData | ( | osg::Node * | node | ) | [protected] |
Definition at line 28 of file KML_Object.cpp.
{ AnnotationData* data = dynamic_cast<AnnotationData*>( node->getUserData() ); if ( !data ) { data = new AnnotationData(); node->setUserData( data ); } return data; }
virtual void KML_Object::scan | ( | const Config & | conf, |
KMLContext & | cx | ||
) | [inline, virtual] |
Reimplemented in KML_Container, KML_Document, KML_Feature, KML_Folder, KML_GroundOverlay, KML_NetworkLinkControl, KML_Overlay, KML_PhotoOverlay, KML_ScreenOverlay, and KML_Style.
Definition at line 30 of file KML_Object.
{ }
virtual void KML_Object::scan2 | ( | const Config & | conf, |
KMLContext & | cx | ||
) | [inline, virtual] |
Reimplemented in KML_Container, KML_Document, KML_Feature, KML_Folder, and KML_StyleMap.
Definition at line 32 of file KML_Object.
{ }