The osg widget updater updates the position of the widgets based upon the 3D location of the model. The updater also has a dynamic group ordering mode that brings the widget to the front of all the other widgets when the widget is being hovered over OR if its parent scene object has been selected.
|
| | DtOsgWidgetUpdater (DtDe &de) |
| |
| | ~DtOsgWidgetUpdater () |
| |
| virtual void | setVisible (bool isVisible) |
| |
| void | addWidget (DtWidget *widget) |
| |
| void | removeWidget (DtWidget *widget) |
| |
| WidgetList & | widgets () |
| |
| void | update (const osg::Vec3d &worldPosition) |
| |
| void | updateGeocentric (const osg::Vec3d &worldPosition) |
| |
| | DtModelInstance (DtDe &de) |
| |
| virtual | ~DtModelInstance () |
| |
| virtual bool | realize (DtModelDefinition &definition) |
| |
| virtual bool | cloneInstance (DtModelDefinition &definition) |
| |
| const std::string & | realizedDefinitionName () const |
| |
| virtual bool | saveModelToFile (const std::string &filename) const |
| |
| const DtVector & | boundingBoxExtents () const |
| |
| void | getBoundingBoxExtents (double &x, double &y, double &z) const |
| |
| const DtVector & | boundingBoxCenter () const |
| |
| void | getBoundingBoxCenter (double &x, double &y, double &z) const |
| |
| void | getBoundingBoxComponents (DtVector &minimum, DtVector &maximum) |
| |
| const DtVector & | allGeometryboundingBoxExtents () const |
| |
| void | getAllGeometryBoundingBoxExtents (double &x, double &y, double &z) const |
| |
| const DtVector & | allGeometryboundingBoxCenter () const |
| |
| void | getAllGeometryBoundingBoxCenter (double &x, double &y, double &z) const |
| |
| void | getAllGeometryBoundingBoxComponents (DtVector &minimum, DtVector &maximum) |
| |
| virtual void | setContributesToBound (bool trueOrFalse) |
| |
| bool | contributesToBound () const |
| |
| virtual void | setBlendColor (float r, float g, float b, float a) |
| |
| virtual void | enableColorBlending (bool b) |
| |