![]() |
VR-Forces Developer's Guide
|
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.

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 DtNavigationFeature & | operator= (const DtNavigationFeature &rhs) |
Protected Attributes | |
| DtUniqueID | myElementId |
| DtVector | myPosition |
| DtArticulatedModelAgent * | myModelAgent |
| DtArticulatedModelAgent * | myColorizedModelAgent |
| int | myPresenceSwitchNumber |
| int | myTypeSwitchNumber |
| DtBuoyBeaconLayer::AttachableTypes | myAttachableType |
Friends | |
| class | DtNavigationFeatureCreator |
|
virtual |
DTOR.
|
protected |
CTOR (callable by creator)
|
protected |
Default CTOR (unimplemented)
|
protected |
Copy CTOR (unimplemented)
| 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 |
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 |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
protected |
Assignment Operator (unimplemented)
|
friend |
Constructed through this creator class.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |