VR-Forces 4.0.4 Class Documentation
Classes | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Friends
makVrv::DtEllipsoidArcModelInstance Class Reference

Model instance to draw a EllipsoidArc. More...

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

List of all members.

Classes

struct  EllipsoidArcParameters

Public Member Functions

virtual ~DtEllipsoidArcModelInstance ()
 DTOR.
virtual void setDimensions (double x, double y, double z)
 Set the dimensions of the cube.
virtual void setColor (float r, float g, float b, float a)
 Set the color of the cube.
virtual bool realize (DtModelDefinition &definition)
 Attempt to realize a definition.
virtual void addToConnector (DtOsgSceneConnector *connector)
 Tell the model instance to add itself to the provided node.
virtual bool removeFromConnector (DtOsgSceneConnector *connector)
 Tell the model instance to remove itself from the provided node.
virtual void setVisible (bool isVisible)
 no-op

Static Public Attributes

static const EllipsoidArcParameters defaultParameters
 Default values for the EllipsoidArc parameters.

Protected Member Functions

 DtEllipsoidArcModelInstance (DtDe &de)
 CTOR.
virtual void build (const EllipsoidArcParameters &parameters)
 Build the EllipsoidArc geometry from a parameter set.

Protected Attributes

EllipsoidArcParameters myParameters
 The current parameter set.
osg::ref_ptr< osg::Geode > myFrontGeode
osg::ref_ptr< osg::Geode > myBackGeode
osg::ref_ptr
< osg::MatrixTransform > 
myTransform

Friends

class DtEllipsoidArcModelInstanceCreator

Detailed Description

Model instance to draw a EllipsoidArc.


Constructor & Destructor Documentation

DTOR.

CTOR.


Member Function Documentation

virtual void makVrv::DtEllipsoidArcModelInstance::setDimensions ( double  x,
double  y,
double  z 
) [virtual]

Set the dimensions of the cube.

virtual void makVrv::DtEllipsoidArcModelInstance::setColor ( float  r,
float  g,
float  b,
float  a 
) [virtual]

Set the color of the cube.

Attempt to realize a definition.

If the model instance can't realize the definition it should return false.

Reimplemented from makVrv::DtModelInstance.

Tell the model instance to add itself to the provided node.

Reimplemented from makVrv::DtOsgModelInstance.

Tell the model instance to remove itself from the provided node.

Reimplemented from makVrv::DtOsgModelInstance.

virtual void makVrv::DtEllipsoidArcModelInstance::setVisible ( bool  isVisible) [inline, virtual]

no-op

Implements makVrv::DtModelInstance.

virtual void makVrv::DtEllipsoidArcModelInstance::build ( const EllipsoidArcParameters parameters) [protected, virtual]

Build the EllipsoidArc geometry from a parameter set.


Friends And Related Function Documentation

friend class DtEllipsoidArcModelInstanceCreator [friend]

Member Data Documentation

Default values for the EllipsoidArc parameters.

The current parameter set.

osg::ref_ptr<osg::Geode> makVrv::DtEllipsoidArcModelInstance::myFrontGeode [protected]
osg::ref_ptr<osg::Geode> makVrv::DtEllipsoidArcModelInstance::myBackGeode [protected]
osg::ref_ptr<osg::MatrixTransform> makVrv::DtEllipsoidArcModelInstance::myTransform [protected]

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)