|
osgEarth 2.1.1
|
Inheritance diagram for osgEarth::Util::Annotation::AnnotationData:
Collaboration diagram for osgEarth::Util::Annotation::AnnotationData:Public Member Functions | |
| AnnotationData () | |
| void | setName (const std::string &value) |
| const std::string & | getName () const |
| void | setDescription (const std::string &value) |
| const std::string & | getDescription () const |
| void | setViewpoint (const Viewpoint &vp) |
| const Viewpoint * | getViewpoint () const |
| virtual | ~AnnotationData () |
Protected Attributes | |
| std::string | _name |
| std::string | _description |
| Viewpoint * | _viewpoint |
Stores annotation metadata/extra information that can be stored in a node's UserData container.
Definition at line 46 of file Annotation.
| osgEarth::Util::Annotation::AnnotationData::AnnotationData | ( | ) | [inline] |
Definition at line 49 of file Annotation.
: _viewpoint( 0L ) { }
| virtual osgEarth::Util::Annotation::AnnotationData::~AnnotationData | ( | ) | [inline, virtual] |
Definition at line 79 of file Annotation.
{
if ( _viewpoint )
delete _viewpoint;
}
| const std::string& osgEarth::Util::Annotation::AnnotationData::getDescription | ( | ) | const [inline] |
Definition at line 63 of file Annotation.
{ return _description; }
| const std::string& osgEarth::Util::Annotation::AnnotationData::getName | ( | ) | const [inline] |
Definition at line 57 of file Annotation.
{ return _name; }
Here is the caller graph for this function:| const Viewpoint* osgEarth::Util::Annotation::AnnotationData::getViewpoint | ( | ) | const [inline] |
Definition at line 74 of file Annotation.
{
return _viewpoint;
}
Here is the caller graph for this function:| void osgEarth::Util::Annotation::AnnotationData::setDescription | ( | const std::string & | value | ) | [inline] |
Readable description of the annotation.
Definition at line 62 of file Annotation.
{ _description = value; }
Here is the caller graph for this function:| void osgEarth::Util::Annotation::AnnotationData::setName | ( | const std::string & | value | ) | [inline] |
Readable name of the annotation.
Definition at line 56 of file Annotation.
{ _name = value; }
Here is the caller graph for this function:| void osgEarth::Util::Annotation::AnnotationData::setViewpoint | ( | const Viewpoint & | vp | ) | [inline] |
Viewpoint associated with this annotation.
Definition at line 68 of file Annotation.
{
if ( _viewpoint )
delete _viewpoint;
_viewpoint = new Viewpoint(vp);
}
Here is the caller graph for this function:std::string osgEarth::Util::Annotation::AnnotationData::_description [protected] |
Definition at line 86 of file Annotation.
std::string osgEarth::Util::Annotation::AnnotationData::_name [protected] |
Definition at line 85 of file Annotation.
Definition at line 87 of file Annotation.
1.7.3