|
osgEarth 2.1.1
|
Inheritance diagram for osgEarth::Util::Annotation::EllipseNode:
Collaboration diagram for osgEarth::Util::Annotation::EllipseNode:Public Member Functions | |
| EllipseNode (MapNode *mapNode, const osg::Vec3d ¢er, const Linear &radiusMajor, const Linear &radiusMinor, const Angular &rotationAngle, const Style &style, bool draped=true, unsigned numSegments=0) | |
Renders a circle that can drape on a MapNode terrain.
Definition at line 208 of file Annotation.
| EllipseNode::EllipseNode | ( | MapNode * | mapNode, |
| const osg::Vec3d & | center, | ||
| const Linear & | radiusMajor, | ||
| const Linear & | radiusMinor, | ||
| const Angular & | rotationAngle, | ||
| const Style & | style, | ||
| bool | draped = true, |
||
| unsigned | numSegments = 0 |
||
| ) |
Definition at line 217 of file Annotation.cpp.
: FeatureNode( mapNode, 0L, draped ) { if ( mapNode ) { GeometryFactory factory( mapNode->getMap()->getProfile()->getSRS() ); Geometry* geom = factory.createEllipse(center, radiusMajor, radiusMinor, rotationAngle, numSegments); if ( geom ) { Feature* feature = new Feature( geom, style ); feature->geoInterp() = GEOINTERP_GREAT_CIRCLE; setFeature( feature ); } } }
Here is the call graph for this function:
1.7.3