VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
makVrv::ExampleSimulationObject Class Reference

Public Member Functions

 ExampleSimulationObject (DtDe &de, DtUniqueID id)
 
virtual ~ExampleSimulationObject ()
 
void loadModel (const std::string &filename)
 
void removeModel ()
 
void setRotationAngle (double rotationAngleInDegrees)
 

Protected Attributes

DtDemyDe
 
osg::ref_ptr
< osg::PositionAttitudeTransform > 
myPat
 

Constructor & Destructor Documentation

makVrv::ExampleSimulationObject::ExampleSimulationObject ( DtDe de,
DtUniqueID  id 
)

The Constructor for a distributed object must take a DtIg and a Unique Id.

virtual makVrv::ExampleSimulationObject::~ExampleSimulationObject ( )
virtual

Member Function Documentation

void makVrv::ExampleSimulationObject::loadModel ( const std::string &  filename)

Called to load an image model into the scene from file.

void makVrv::ExampleSimulationObject::removeModel ( )

Called to remove the current image model from the scene.

void makVrv::ExampleSimulationObject::setRotationAngle ( double  rotationAngleInDegrees)

Called to rotate the current image model on the scene.

Member Data Documentation

DtDe& makVrv::ExampleSimulationObject::myDe
protected
osg::ref_ptr<osg::PositionAttitudeTransform> makVrv::ExampleSimulationObject::myPat
protected

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

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)