VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes | Friends
makVrv::DtNavigationFeature Class Reference

The DtNavigationFeature can be attached to any articulated model through an articulated model agent. More...

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

Public Member Functions

virtual ~DtNavigationFeature ()
 DTOR.
DtUniqueID elementId () const
 Get the element id of this navigation feature.
virtual void attach (DtBuoyOrBeaconFacade &buoyOrBeacon)
 Attach the feature to an articulated model.
virtual void detach (DtBuoyOrBeaconFacade &buoyOrBeacon)
virtual void setPresenceSwitchNumber (int switchNum)
virtual int presenceSwitchNumber () const
virtual void setTypeSwitchNumber (int typeNum)
virtual int typeSwitchNumber () const
virtual void setAttachableType (DtBuoyBeaconLayer::AttachableTypes attType)
virtual
DtBuoyBeaconLayer::AttachableTypes 
attachableType ()
DtArticulatedModelAgent *const modelAgent () const
 Access the articulated model agent this whose object this controls.
DtArticulatedModelAgent * modelAgent ()
void setPosition (const DtVector &position)
 Set / get the position of the navigation feature.
const DtVectorposition () const

Protected Member Functions

 DtNavigationFeature (DtUniqueID elementId)
 CTOR (callable by creator)
 DtNavigationFeature ()
 Default CTOR (unimplemented)
 DtNavigationFeature (const DtNavigationFeature &orig)
 Copy CTOR (unimplemented)
const DtNavigationFeatureoperator= (const DtNavigationFeature &rhs)
 Assignment Operator (unimplemented)

Protected Attributes

DtUniqueID myElementId
DtVector myPosition
DtArticulatedModelAgent * myModelAgent
DtArticulatedModelAgent * myColorizedModelAgent
int myPresenceSwitchNumber
int myTypeSwitchNumber
DtBuoyBeaconLayer::AttachableTypes myAttachableType

Friends

class DtNavigationFeatureCreator
 Constructed through this creator class.

Detailed Description

The DtNavigationFeature can be attached to any articulated model through an articulated model agent.

It is the responsibility of whatever attaches this to a model to set the attachment to Null (0) when the model is destroyed.

Constructor & Destructor Documentation

virtual makVrv::DtNavigationFeature::~DtNavigationFeature ( )
virtual

DTOR.

makVrv::DtNavigationFeature::DtNavigationFeature ( DtUniqueID  elementId)
protected

CTOR (callable by creator)

makVrv::DtNavigationFeature::DtNavigationFeature ( )
protected

Default CTOR (unimplemented)

makVrv::DtNavigationFeature::DtNavigationFeature ( const DtNavigationFeature orig)
protected

Copy CTOR (unimplemented)

Member Function Documentation

DtArticulatedModelAgent* const makVrv::DtNavigationFeature::modelAgent ( ) const

Access the articulated model agent this whose object this controls.

DtArticulatedModelAgent* makVrv::DtNavigationFeature::modelAgent ( )
DtUniqueID makVrv::DtNavigationFeature::elementId ( ) const

Get the element id of this navigation feature.

void makVrv::DtNavigationFeature::setPosition ( const DtVector position)

Set / get the position of the navigation feature.

This is the position that will be used to correlate this object when the DtNavigationFeatureManager attempts to attach navigations objects (lights, daymarks) to other objects

const DtVector& makVrv::DtNavigationFeature::position ( ) const
virtual void makVrv::DtNavigationFeature::attach ( DtBuoyOrBeaconFacade buoyOrBeacon)
virtual

Attach the feature to an articulated model.

The model should have a multiswitch for different features; and possibly a texture atlas file to set the texture for each feature

Reimplemented in makVrv::DtNavigationLightController, and makVrv::DtNavigationMark.

virtual void makVrv::DtNavigationFeature::detach ( DtBuoyOrBeaconFacade buoyOrBeacon)
virtual
virtual void makVrv::DtNavigationFeature::setPresenceSwitchNumber ( int  switchNum)
virtual
virtual int makVrv::DtNavigationFeature::presenceSwitchNumber ( ) const
virtual
virtual void makVrv::DtNavigationFeature::setTypeSwitchNumber ( int  typeNum)
virtual
virtual int makVrv::DtNavigationFeature::typeSwitchNumber ( ) const
virtual
virtual void makVrv::DtNavigationFeature::setAttachableType ( DtBuoyBeaconLayer::AttachableTypes  attType)
virtual
virtual DtBuoyBeaconLayer::AttachableTypes makVrv::DtNavigationFeature::attachableType ( )
virtual
const DtNavigationFeature& makVrv::DtNavigationFeature::operator= ( const DtNavigationFeature rhs)
protected

Assignment Operator (unimplemented)

Friends And Related Function Documentation

friend class DtNavigationFeatureCreator
friend

Constructed through this creator class.

Member Data Documentation

DtUniqueID makVrv::DtNavigationFeature::myElementId
protected
DtVector makVrv::DtNavigationFeature::myPosition
protected
DtArticulatedModelAgent* makVrv::DtNavigationFeature::myModelAgent
protected
DtArticulatedModelAgent* makVrv::DtNavigationFeature::myColorizedModelAgent
protected
int makVrv::DtNavigationFeature::myPresenceSwitchNumber
protected
int makVrv::DtNavigationFeature::myTypeSwitchNumber
protected
DtBuoyBeaconLayer::AttachableTypes makVrv::DtNavigationFeature::myAttachableType
protected

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

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)