Inherits osgAR::RegionCGAL.
Inherited by osgAR::CenterLabelPlacer, osgAR::MaxDistLabelPlacer, and osgAR::RTBLLabelPlacer.
Public Types | |
| enum | Location { INTERIOR = 0, EXTERIOR } |
Public Member Functions | |
| LabelPlacer (const LabelPlacer &, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
| META_Node (osgAR, LabelPlacer) | |
| void | setAnchored (bool val) |
| bool | isAnchored (void) |
| void | setDisplaying (bool val) |
| bool | isDisplaying (void) |
| osgText::Text * | getAnchoredText (void) |
| osgText::Text * | getUnanchoredText (void) |
| const enum Location | getLocation () const |
| void | setLocation (enum Location newLocation) |
| void | addText (osgText::Text *anchoredText, osgText::Text *unanchoredText, enum Location) |
| sets both text values and the location. | |
| void | addText (osgText::Text *anchoredText, enum Location) |
| sets the anchored text and the location. | |
| void | augment (osgView::SpaceManager *, const osgExtension::MatrixEstimate &, const osg::Vec3Array *, osg::NodePath &) |
| Creates the augmentations. | |
| void | setPlacerCallback (PlacerCallback *placerCallback) |
| PlacerCallback * | getPlacerCallback () |
| const PlacerCallback * | getPlacerCallback () const |
Protected Attributes | |
| osg::ref_ptr< PlacerCallback > | _placerCallback |
|
||||||||||||
|
Copy constructor using CopyOp to manage deep vs shallow copy. |
|
||||||||||||||||||||
|
place the labels for this object. this function calls placerImplementation for the actual computation.
|
1.3.7