![]() |
VR-Forces Developer's Guide
|
The DtNavigationMark can be attached to any articulated model through an articulated model agent that has switchable nav matk switch. It sets the mark shape.

Public Types | |
| typedef std::vector < DtTextureAtlasIndexParser::AttrValuePair > | AttrValPairs |
Public Member Functions | |
| virtual | ~DtNavigationMark () |
| virtual void | attach (DtBuoyOrBeaconFacade &buoyOrBeacon) |
| virtual void | setupDesignator (DtArticulatedModelAgent *model, const std::string &designator, const std::string &atlasFileName, DtTextureAtlasIndexParser *parser) |
| void | setShape (unsigned int color) |
| unsigned int | shape () const |
| void | setFeatureAttributes (const DtBuoyBeaconModelStringParser::ParsedAttributeValueMap &results) |
| const AttrValPairs & | featureAttribues () |
Public Member Functions inherited from makVrv::DtNavigationFeature | |
| virtual | ~DtNavigationFeature () |
| DtUniqueID | elementId () const |
| 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 | |
| DtNavigationMark (DtUniqueID elementId) | |
| DtNavigationMark () | |
| DtNavigationMark (const DtNavigationMark &orig) | |
| const DtNavigationMark & | operator= (const DtNavigationMark &rhs) |
Protected Member Functions inherited from makVrv::DtNavigationFeature | |
| DtNavigationFeature (DtUniqueID elementId) | |
| DtNavigationFeature () | |
| DtNavigationFeature (const DtNavigationFeature &orig) | |
| const DtNavigationFeature & | operator= (const DtNavigationFeature &rhs) |
Protected Attributes | |
| unsigned int | myShapeSwitchValue |
| AttrValPairs | mySearchPairs |
Protected Attributes inherited from makVrv::DtNavigationFeature | |
| DtUniqueID | myElementId |
| DtVector | myPosition |
| DtArticulatedModelAgent * | myModelAgent |
| DtArticulatedModelAgent * | myColorizedModelAgent |
| int | myPresenceSwitchNumber |
| int | myTypeSwitchNumber |
| DtBuoyBeaconLayer::AttachableTypes | myAttachableType |
Friends | |
| class | DtNavigationMarkCreator |
| typedef std::vector<DtTextureAtlasIndexParser::AttrValuePair > makVrv::DtNavigationMark::AttrValPairs |
|
virtual |
DTOR.
|
protected |
CTOR (callable by creator)
|
protected |
Default CTOR (unimplemented)
|
protected |
Copy CTOR (unimplemented)
|
virtual |
Attach the mark to an articulated model. The model should have a multiswitch for different marks; and a texture atlas index to set the texture for each mark.
Reimplemented from makVrv::DtNavigationFeature.
Set/get the switch value this mark should set the model's daymark or topmark shape switch to.
Set/get the switch value this mark should set the model's daymark or topmark shape switch to.
| void makVrv::DtNavigationMark::setFeatureAttributes | ( | const DtBuoyBeaconModelStringParser::ParsedAttributeValueMap & | results | ) |
Store or retrieve the parsed results containing daymark configuration data as pairs of (attribute, value)
| const AttrValPairs& makVrv::DtNavigationMark::featureAttribues | ( | ) |
Store or retrieve the parsed results containing daymark configuration data as pairs of (attribute, value)
|
virtual |
If the nav mark is a daymark, set the designator - 3 character max (ex. 'CF','123','A')
|
protected |
Assignment Operator (unimplemented)
|
friend |
Constructed through this creator class.
|
protected |