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

The DtNavigationMark can be attached to any articulated model through an articulated model agent that has switchable nav matk switch. More...

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

Public Types

typedef std::vector< std::pair
< std::string, std::string > > 
AttrValPairs

Public Member Functions

virtual ~DtNavigationMark ()
 DTOR.
virtual void attach (DtBuoyOrBeaconFacade &buoyOrBeacon)
 Attach the mark to an articulated model.
virtual void setupDesignator (DtArticulatedModelAgent *model, const std::string &designator, const std::string &atlasFileName, DtTextureAtlasIndexParser *parser)
 If the nav mark is a daymark, set the designator - 3 character max (ex.
void setShape (unsigned int color)
 Set/get the switch value this mark should set the model's daymark or topmark shape switch to.
unsigned int shape () const
 Set/get the switch value this mark should set the model's daymark or topmark shape switch to.
void setFeatureAttributes (const DtBuoyBeaconModelStringParser::ParsedAttributeValueMap &results)
 Store or retrieve the parsed results containing daymark configuration data as pairs of (attribute, value)
const AttrValPairsfeatureAttribues ()
 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.
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 ()
 Access the articulated model agent this whose object this controls.
void setPosition (const DtVector &position)
 Set / get the position of the navigation feature.
const DtVectorposition () const
 Set / get the position of the navigation feature.

Protected Member Functions

 DtNavigationMark (DtUniqueID elementId)
 CTOR (callable by creator)
 DtNavigationMark ()
 Default CTOR (unimplemented)
 DtNavigationMark (const DtNavigationMark &orig)
 Copy CTOR (unimplemented)
const DtNavigationMarkoperator= (const DtNavigationMark &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 DtNavigationFeatureoperator= (const DtNavigationFeature &rhs)
 Assignment Operator (unimplemented)

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
 Constructed through this creator class.

Detailed Description

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.

Member Typedef Documentation

typedef std::vector<std::pair<std::string,std::string> > makVrv::DtNavigationMark::AttrValPairs

Constructor & Destructor Documentation

virtual makVrv::DtNavigationMark::~DtNavigationMark ( )
virtual

DTOR.

makVrv::DtNavigationMark::DtNavigationMark ( DtUniqueID  elementId)
protected

CTOR (callable by creator)

makVrv::DtNavigationMark::DtNavigationMark ( )
protected

Default CTOR (unimplemented)

makVrv::DtNavigationMark::DtNavigationMark ( const DtNavigationMark orig)
protected

Copy CTOR (unimplemented)

Member Function Documentation

virtual void makVrv::DtNavigationMark::attach ( DtBuoyOrBeaconFacade buoyOrBeacon)
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.

void makVrv::DtNavigationMark::setShape ( unsigned int  color)

Set/get the switch value this mark should set the model's daymark or topmark shape switch to.

unsigned int makVrv::DtNavigationMark::shape ( ) const

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 void makVrv::DtNavigationMark::setupDesignator ( DtArticulatedModelAgent *  model,
const std::string &  designator,
const std::string &  atlasFileName,
DtTextureAtlasIndexParser parser 
)
virtual

If the nav mark is a daymark, set the designator - 3 character max (ex.

'CF','123','A')

const DtNavigationMark& makVrv::DtNavigationMark::operator= ( const DtNavigationMark rhs)
protected

Assignment Operator (unimplemented)

Friends And Related Function Documentation

friend class DtNavigationMarkCreator
friend

Constructed through this creator class.

Member Data Documentation

unsigned int makVrv::DtNavigationMark::myShapeSwitchValue
protected
AttrValPairs makVrv::DtNavigationMark::mySearchPairs
protected

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

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)