VR-Forces 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 Member Functions | Protected Attributes | Friends
makVrv::DtNavigationFeature Class Reference

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.

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

Public Member Functions

virtual ~DtNavigationFeature ()
 
DtUniqueID elementId () const
 
virtual void attach (DtBuoyOrBeaconFacade &buoyOrBeacon)
 
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
 
DtArticulatedModelAgent * modelAgent ()
 
void setPosition (const DtVector &position)
 
const DtVector & position () const
 

Protected Member Functions

 DtNavigationFeature (DtUniqueID elementId)
 
 DtNavigationFeature ()
 
 DtNavigationFeature (const DtNavigationFeature &orig)
 
const DtNavigationFeatureoperator= (const DtNavigationFeature &rhs)
 

Protected Attributes

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

Friends

class DtNavigationFeatureCreator
 

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 ( )

Access the articulated model agent this whose object this controls.

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

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.

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 Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)