![]() |
VR-Forces Developer's Guide
|
The osg implementation of the widget layout.

Public Member Functions | |
| DtProjectedWidgetModel (DtDe &de, DtUniqueID id) | |
| virtual | ~DtProjectedWidgetModel () |
| virtual void | addToScene (const DtUniqueID &sceneObjectId, DtModelSetId modelSet, int visualizerType) |
| virtual void | removeFromScene () |
| virtual void | setTopographicOffset (double x, double y) |
| virtual bool | getTopographicOffset (double &x, double &y) const |
| virtual void | addWidget (DtWidget *aWidget) |
| virtual void | removeWidget (DtWidget *aWidget) |
| virtual void | setModelDefinition (const std::string &str) |
| virtual void | setPosition (int vtx, const DtVector &position) |
| DtWidgetUpdater & | widgetUpdater () |
| const DtWidgetUpdater & | widgetUpdater () const |
| virtual std::vector< DtWidget * > & | widgets () |
| virtual void | setVisible (bool visible) |
| virtual void | setIsSupportModel (bool isSupport) |
Public Member Functions inherited from makVrv::DtModel | |
| DtModel (DtDe &de, DtUniqueID id) | |
| virtual | ~DtModel () |
| DtModelInstance * | createModelInstance (const std::string &modelDefName, bool realize=true) |
| virtual const std::string & | modelDefinitionName () |
| virtual void | saveModelToFile (const std::string &filename) |
| virtual const std::string & | className () const |
| virtual DtUniqueID | uniqueId () const |
| unsigned int | transformSize () const |
| virtual const DtVector & | position (int vtx=0) const |
| virtual void | removePosition (int vtx) |
| virtual void | setPositionOffset (const DtVector &positionOffset) |
| virtual const DtVector & | positionOffset () const |
| virtual void | setOrientation (int vtx, const DtTaitBryan &orientation) |
| virtual void | setPositionAndOrientation (int vtx, const DtVector &positionOffset, const DtTaitBryan &orientation) |
| virtual const DtTaitBryan & | orientation (int vtx=0) const |
| virtual void | setOrientationOffset (const DtTaitBryan &orientationOffset) |
| virtual const DtTaitBryan & | orientationOffset () const |
| virtual void | enableColorBlending (bool b) |
| virtual void | setBlendColor (float r, float g, float b, float a) |
| virtual void | getBlendColor (float &r, float &g, float &b, float &a) |
| virtual bool | colorBlendingEnabled () const |
| virtual void | setColor (float r, float g, float b, float a) |
| virtual void | enableLighting (bool l) |
| virtual DtModelSetId | modelSet () const |
| const DtVector & | boundingBoxExtents () const |
| void | getBoundingBoxExtents (double &x, double &y, double &z) const |
| const DtVector & | boundingBoxCenter () const |
| virtual void | getBoundingBoxCenter (double &x, double &y, double &z) const |
| virtual void | getBoundingBoxComponents (DtVector &minimum, DtVector &maximum) |
| void | setContributesToBound (bool trueOrFalse) |
| bool | contributesToBound () const |
| DtDe & | de () |
| virtual void | setModelInstance (DtModelInstance *modelInstance) |
| virtual void | promoteBackgroundModelInstance (const DtModelDefinition &defintion) |
| virtual bool | visible () const |
| DtUniqueID | sceneObjectId () const |
| virtual void | addedToSceneObjectAsProp (const DtUniqueID &sceneObj) |
| virtual void | addedToSceneObject (const DtUniqueID &sceneObj, DtModelSetId modelSet, int visualizerType) |
| virtual void | setElementId (DtElementID id) |
| virtual void | removedFromSceneObject () |
| virtual void | setSolid (bool isSolid) |
| virtual bool | isProp () |
| virtual void | updateMinLastFrameDistance (float distance) |
| virtual void | resetLastFrameDistance () |
| virtual float | minLastFrameDistance () const |
| virtual DtModelInstance * | modelInstance () |
| virtual const DtModelInstance * | modelInstance () const |
| int | visualizerType () const |
| virtual bool | supportsMultithreadedLoad () |
| virtual void | backgroundLoad () |
| virtual void | foregroundLoad () |
| virtual bool | isActivelyBackgroundLoading () |
| virtual DtLoaderHandle * | getLoadQueueHandle () |
Protected Member Functions | |
| virtual DtVector | getPositionWithTopographicXAndYOffset () |
| virtual void | slot_onCoordinateSystemChanged () |
Protected Member Functions inherited from makVrv::DtModel | |
| virtual void | addToSceneAsProp (const DtUniqueID &sceneObjectId) |
| virtual void | initializeModelInstance () |
| void | slot_modelInstanceChanged (DtModelInstance *instance) |
| virtual void | waitAndClearLoadHandle () |
| virtual void | removedFromLoadQueue () |
| virtual void | setDoneBackgroundLoading () |
| virtual void | setActivelyBackgroundLoading () |
Protected Attributes | |
| DtCoordinateSystem * | myCoordinateSystem |
| DtSignalConnectionManager | myConnections |
| DtVector2< double > | myTopographicOffset |
Protected Attributes inherited from makVrv::DtModel | |
| DtLoaderHandle * | myInLoadQueueHandle |
| DtDe & | myDe |
| const DtUniqueID | myUniqueId |
| DtUniqueID | myElementId |
| DtUniqueID | myParentSceneObjectID |
| bool | myColorBlendingEnabled |
| DtModelInstance * | myBackgroundModelInstance |
| float | myMinLastFrameDistance |
| TransformList | myTransforms |
| DtModelInstance * | myModelInstance |
| DtModelSetId | myModelSet |
| int | myVisualizerType |
| bool | myContributesToBound |
| bool | myIsPropFlag |
| float | myBlendColor [4] |
| bool | myVisibleFlag |
| DtVector | myPositionOffset |
| DtTaitBryan | myOrientationOffset |
| std::string | myModelDefinitionName |
| bool | myRequireModelInstance = true |
Additional Inherited Members | |
Public Attributes inherited from makVrv::DtModel | |
| boost::signalslib::signal < void(DtModel *)> | signal_modelToBeDestroyed |
| boost::signalslib::signal < void(DtModel *)> | signal_modelChanged |
| boost::signalslib::signal < bool(DtModel *, bool), SlotReturnOR > | signal_visibilityChangeRequested |
| boost::signalslib::signal < void(DtModelInstance *, DtModel *)> | signal_modelInstanceCreated |
| boost::signalslib::signal < void(DtModelInstance *, DtModel *)> | signal_modelInstanceToBeDestroyed |
Protected Types inherited from makVrv::DtModel | |
| typedef std::vector < ObjectTransform > | TransformList |
Static Protected Attributes inherited from makVrv::DtModel | |
| static bool | theInittedState |
| makVrv::DtProjectedWidgetModel::DtProjectedWidgetModel | ( | DtDe & | de, |
| DtUniqueID | id | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Add to the scene.
Implements makVrv::DtModel.
Reimplemented in makVrv::DtPinnableProjectedWidgetModel.
|
virtual |
Remove from the scene.
Implements makVrv::DtModel.
Reimplemented in makVrv::DtPinnableProjectedWidgetModel.
Set the topographic offset to apply to position. The positive X axis is East, and the positive Y axis is North.
Reimplemented in makVrv::DtPinnableProjectedWidgetModel.
|
virtual |
Get the topographic offset to apply to position. The positive X axis is East, and the positive Y axis is North.
Reimplemented in makVrv::DtPinnableProjectedWidgetModel.
|
virtual |
Add a widget to the layout. if the layout type is not Absolute the offsets are ignored.
Reimplemented in makVrv::DtPinnableProjectedWidgetModel.
|
virtual |
Remove a widget from the layout.
Reimplemented in makVrv::DtPinnableProjectedWidgetModel.
|
virtual |
Set the model definition.
Reimplemented from makVrv::DtModel.
Reimplemented in makVrv::DtPinnableProjectedWidgetModel.
|
virtual |
Set the model's 3D Position.
Reimplemented from makVrv::DtModel.
Reimplemented in makVrv::DtPinnableProjectedWidgetModel.
| DtWidgetUpdater& makVrv::DtProjectedWidgetModel::widgetUpdater | ( | ) |
| const DtWidgetUpdater& makVrv::DtProjectedWidgetModel::widgetUpdater | ( | ) | const |
|
virtual |
Reimplemented in makVrv::DtPinnableProjectedWidgetModel.
|
virtual |
Set the visible state of the model.
| [in] | isVisible | is the new visible state; true = visible, false = hidden. |
Reimplemented from makVrv::DtModel.
Reimplemented in makVrv::DtPinnableProjectedWidgetModel.
|
virtual |
Set whether the model is part of the support group (does nothing)
Implements makVrv::DtModel.
Reimplemented in makVrv::DtPinnableProjectedWidgetModel.
|
protectedvirtual |
Helper function to get the world position for the widget while considering its topographic offset.
Reimplemented in makVrv::DtPinnableProjectedWidgetModel.
|
protectedvirtual |
receive signals from the shared state about coordinate system changes
Reimplemented in makVrv::DtPinnableProjectedWidgetModel.
|
protected |
|
protected |