VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Attributes
makVrv::DtOsgProjectedWidgetModel Class Reference

The osg implementation of the widget layout. More...

Inheritance diagram for makVrv::DtOsgProjectedWidgetModel:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtOsgProjectedWidgetModel (DtDe &de, DtUniqueID id)
 CTOR.
virtual ~DtOsgProjectedWidgetModel ()
 DTOR.
virtual void addToScene (const DtUniqueID &sceneObjectId, int modelSet, int visualizerType)
 Add to the scene.
virtual void removeFromScene ()
 Remove from the scene.
virtual void addWidget (DtWidget *aWidget)
 Add a widget to the layout.
virtual void removeWidget (DtWidget *aWidget)
 Remove a widget from the layout.
virtual void setModelDefinition (const std::string &str)
 Set the model definition.
virtual void setPosition (int vtx, const DtVector &position)
 Set the model's 3D Position.
DtOsgWidgetUpdaterwidgetUpdater ()
virtual std::vector< DtWidget * > & widgets ()
virtual void setVisible (bool visible)
 Set the model visible or invisible.
virtual void setSolid (bool solid)
 Set whether the model is solid.

Protected Attributes

DtUniqueID myParentId

Detailed Description

The osg implementation of the widget layout.


Constructor & Destructor Documentation

CTOR.

DTOR.


Member Function Documentation

virtual void makVrv::DtOsgProjectedWidgetModel::addToScene ( const DtUniqueID sceneObjectId,
int  modelSet,
int  visualizerType 
) [virtual]

Add to the scene.

Implements makVrv::DtModel.

Remove from the scene.

Implements makVrv::DtModel.

virtual void makVrv::DtOsgProjectedWidgetModel::addWidget ( DtWidget aWidget) [virtual]

Add a widget to the layout.

if the layout type is not Absolute the offsets are ignored.

Implements makVrv::DtProjectedWidgetModel.

virtual void makVrv::DtOsgProjectedWidgetModel::removeWidget ( DtWidget aWidget) [virtual]

Remove a widget from the layout.

Implements makVrv::DtProjectedWidgetModel.

virtual void makVrv::DtOsgProjectedWidgetModel::setModelDefinition ( const std::string &  str) [virtual]

Set the model definition.

Reimplemented from makVrv::DtModel.

virtual void makVrv::DtOsgProjectedWidgetModel::setPosition ( int  vtx,
const DtVector position 
) [virtual]

Set the model's 3D Position.

Reimplemented from makVrv::DtModel.

virtual std::vector<DtWidget*>& makVrv::DtOsgProjectedWidgetModel::widgets ( ) [virtual]
virtual void makVrv::DtOsgProjectedWidgetModel::setVisible ( bool  isVisible) [virtual]

Set the model visible or invisible.

Reimplemented from makVrv::DtModel.

virtual void makVrv::DtOsgProjectedWidgetModel::setSolid ( bool  solid) [virtual]

Set whether the model is solid.

Implements makVrv::DtModel.


Member Data Documentation


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)