![]() |
VR-Forces 4.3 Class Documentation
|
The DtNavigationDaymark can be attached to any articulated model through an articulated model agent that has switchable daymark switch. More...

Public Types | |
| typedef std::vector< std::pair < std::string, std::string > > | AttrValPairs |
Public Member Functions | |
| virtual | ~DtNavigationDaymark () |
| DTOR. | |
| virtual void | attach (DtArticulatedModelAgent *modelAgent, const std::string &atlasFileName, DtBuoyTextureAtlasFileParser *parser) |
| Attach the controller to an articulated model. | |
| virtual void | update (DtTime simTime) |
| Update the state of the daymark (on or off) based on dayDaymark conditions. | |
| void | setShape (unsigned int color) |
| Set/get the color value this controller should set the model's daymark shape switch to. | |
| unsigned int | shape () const |
| Set/get the color value this controller should set the model's daymark shape switch to. | |
| void | setDaymarkShapeSwitchNumber (int switchNum) |
| Set the number of the switch (State number) that controls the light color. | |
| int | daymarkShapeSwitchNumber () const |
| Set the number of the switch (State number) that controls the light color. | |
| void | setFeatureAttributes (const DtBuoyMarkerStringParser::ParsedAttributeValueMap &results) |
| Store or retrieve the parsed results containing daymark configuration data as pairs of (attribute, value) | |
| const AttrValPairs & | featureAttribues () |
| Store or retrieve the parsed results containing daymark configuration data as pairs of (attribute, value) | |
Public Member Functions inherited from makVrv::DtNavigationFeature | |
| virtual | ~DtNavigationFeature () |
| DTOR. | |
| DtUniqueID | elementId () const |
| Get the element id of this navigation feature. | |
| DtArticulatedModelAgent *const | modelAgent () const |
| Access the articulated model agent this whose object this controls. | |
| DtArticulatedModelAgent * | modelAgent () |
| Access the articulated model agent this whose object this controls. | |
| void | setPosition (const DtVector &position) |
| Set / get the position of the navigation feature. | |
| const DtVector & | position () const |
| Set / get the position of the navigation feature. | |
Protected Member Functions | |
| DtNavigationDaymark (DtUniqueID elementId) | |
| CTOR (callable by creator) | |
| DtNavigationDaymark () | |
| Default CTOR (unimplemented) | |
| DtNavigationDaymark (const DtNavigationDaymark &orig) | |
| Copy CTOR (unimplemented) | |
| const DtNavigationDaymark & | operator= (const DtNavigationDaymark &rhs) |
| Assignment Operator (unimplemented) | |
Protected Member Functions inherited from makVrv::DtNavigationFeature | |
| DtNavigationFeature (DtUniqueID elementId) | |
| CTOR (callable by creator) | |
| DtNavigationFeature () | |
| Default CTOR (unimplemented) | |
| DtNavigationFeature (const DtNavigationFeature &orig) | |
| Copy CTOR (unimplemented) | |
| const DtNavigationFeature & | operator= (const DtNavigationFeature &rhs) |
| Assignment Operator (unimplemented) | |
Protected Attributes | |
| unsigned int | myDaymarkShapeSwitchNumber |
| unsigned int | myShape |
| AttrValPairs | mySearchPairs |
Protected Attributes inherited from makVrv::DtNavigationFeature | |
| DtUniqueID | myElementId |
| DtVector | myPosition |
| DtArticulatedModelAgent * | myModelAgent |
Friends | |
| class | DtNavigationDaymarkCreator |
| Constructed through this creator class. | |
The DtNavigationDaymark can be attached to any articulated model through an articulated model agent that has switchable daymark switch.
It sets the daymark shape. It is the responsibility of whatever attaches this to a model to set the attachment to Null (0) when the model is destroyed.
| typedef std::vector<std::pair<std::string,std::string> > makVrv::DtNavigationDaymark::AttrValPairs |
|
virtual |
DTOR.
|
protected |
CTOR (callable by creator)
|
protected |
Default CTOR (unimplemented)
|
protected |
Copy CTOR (unimplemented)
|
virtual |
Attach the controller to an articulated model.
The model should have a multiswitch for different daymarks; and a texture atlas file to set the texture for each daymark
|
virtual |
Update the state of the daymark (on or off) based on dayDaymark conditions.
| void makVrv::DtNavigationDaymark::setShape | ( | unsigned int | color | ) |
Set/get the color value this controller should set the model's daymark shape switch to.
| unsigned int makVrv::DtNavigationDaymark::shape | ( | ) | const |
Set/get the color value this controller should set the model's daymark shape switch to.
| void makVrv::DtNavigationDaymark::setDaymarkShapeSwitchNumber | ( | int | switchNum | ) |
Set the number of the switch (State number) that controls the light color.
By default, the controller uses DtModelSemanticsMapper::State::daymark_shape
| int makVrv::DtNavigationDaymark::daymarkShapeSwitchNumber | ( | ) | const |
Set the number of the switch (State number) that controls the light color.
By default, the controller uses DtModelSemanticsMapper::State::daymark_shape
| void makVrv::DtNavigationDaymark::setFeatureAttributes | ( | const DtBuoyMarkerStringParser::ParsedAttributeValueMap & | results | ) |
Store or retrieve the parsed results containing daymark configuration data as pairs of (attribute, value)
| const AttrValPairs& makVrv::DtNavigationDaymark::featureAttribues | ( | ) |
Store or retrieve the parsed results containing daymark configuration data as pairs of (attribute, value)
|
protected |
Assignment Operator (unimplemented)
|
friend |
Constructed through this creator class.
|
protected |
|
protected |
|
protected |