VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
DtDiGuyInformation Class Reference

Contains information about the current DI-Guy character instance and some of its available options. More...

Public Member Functions

 DtDiGuyInformation ()
 CTOR.
virtual ~DtDiGuyInformation ()
 DTOR.
 DtDiGuyInformation (const DtDiGuyInformation &)
 Copy constructor.
DtDiGuyInformationoperator= (const DtDiGuyInformation &)
bool operator== (const DtDiGuyInformation &) const
bool operator!= (const DtDiGuyInformation &rhs)
virtual void readFromEnvironment (const DtRwVariableBindings *)
 Seeds list from variable bindings. Will clear out all current information.
virtual void writeToEnvironment (DtRwVariableBindings *) const
 Writes all information to the variable bindings, removing all old information first.
void setCharacterType (const std::string &s)
const std::string & characterType () const
void setCharacterAppearance (const std::string &s)
const std::string & characterAppearance () const
void setCharacterHandItem (const std::string &s)
const std::string & characterHandItem () const
void setCharacterHead (const std::string &s)
const std::string & characterHead () const
void setCharacterAnimation (const std::string &s)
const std::string & characterAnimation () const
void setUseRandomAppearanceUponCreation (bool b)
bool useRandomAppearanceUponCreation () const
void setRandomAppearances (const DtRwNLengthStringVector &apps)
const DtRwNLengthStringVectorrandomAppearances () const
void setUseRandomHandItemUponCreation (bool b)
bool useRandomHandItemUponCreation () const
void setRandomHandItems (const DtRwNLengthStringVector &items)
const DtRwNLengthStringVectorrandomHandItems () const
void setUseRandomHeadUponCreation (bool b)
bool useRandomHeadUponCreation () const
void setRandomHeads (const DtRwNLengthStringVector &items)
const DtRwNLengthStringVectorrandomHeads () const
void setDiGuyEnabled (bool b)
bool diGuyEnabled () const

Protected Attributes

std::string myCharacterType
std::string myCharacterAppearance
std::string myCharacterHandItem
std::string myCharacterHead
std::string myCharacterAnimation
bool myUseRandomAppearanceUponCreation
DtRwNLengthStringVector myRandomAppearances
bool myUseRandomHandItemUponCreation
DtRwNLengthStringVector myRandomHandItems
bool myUseRandomHeadUponCreation
DtRwNLengthStringVector myRandomHeads
bool myDiGuyEnabled

Detailed Description

Contains information about the current DI-Guy character instance and some of its available options.

Used only by the Simulation Object Editor.

Constructor & Destructor Documentation

DtDiGuyInformation::DtDiGuyInformation ( )

CTOR.

virtual DtDiGuyInformation::~DtDiGuyInformation ( )
virtual

DTOR.

DtDiGuyInformation::DtDiGuyInformation ( const DtDiGuyInformation )

Copy constructor.

Member Function Documentation

DtDiGuyInformation& DtDiGuyInformation::operator= ( const DtDiGuyInformation )
bool DtDiGuyInformation::operator== ( const DtDiGuyInformation ) const
bool DtDiGuyInformation::operator!= ( const DtDiGuyInformation rhs)
inline
virtual void DtDiGuyInformation::readFromEnvironment ( const DtRwVariableBindings )
virtual

Seeds list from variable bindings. Will clear out all current information.

virtual void DtDiGuyInformation::writeToEnvironment ( DtRwVariableBindings ) const
virtual

Writes all information to the variable bindings, removing all old information first.

void DtDiGuyInformation::setCharacterType ( const std::string &  s)
const std::string& DtDiGuyInformation::characterType ( ) const
void DtDiGuyInformation::setCharacterAppearance ( const std::string &  s)
const std::string& DtDiGuyInformation::characterAppearance ( ) const
void DtDiGuyInformation::setCharacterHandItem ( const std::string &  s)
const std::string& DtDiGuyInformation::characterHandItem ( ) const
void DtDiGuyInformation::setCharacterHead ( const std::string &  s)
const std::string& DtDiGuyInformation::characterHead ( ) const
void DtDiGuyInformation::setCharacterAnimation ( const std::string &  s)
const std::string& DtDiGuyInformation::characterAnimation ( ) const
void DtDiGuyInformation::setUseRandomAppearanceUponCreation ( bool  b)
bool DtDiGuyInformation::useRandomAppearanceUponCreation ( ) const
void DtDiGuyInformation::setRandomAppearances ( const DtRwNLengthStringVector apps)
const DtRwNLengthStringVector& DtDiGuyInformation::randomAppearances ( ) const
void DtDiGuyInformation::setUseRandomHandItemUponCreation ( bool  b)
bool DtDiGuyInformation::useRandomHandItemUponCreation ( ) const
void DtDiGuyInformation::setRandomHandItems ( const DtRwNLengthStringVector items)
const DtRwNLengthStringVector& DtDiGuyInformation::randomHandItems ( ) const
void DtDiGuyInformation::setUseRandomHeadUponCreation ( bool  b)
bool DtDiGuyInformation::useRandomHeadUponCreation ( ) const
void DtDiGuyInformation::setRandomHeads ( const DtRwNLengthStringVector items)
const DtRwNLengthStringVector& DtDiGuyInformation::randomHeads ( ) const
void DtDiGuyInformation::setDiGuyEnabled ( bool  b)
bool DtDiGuyInformation::diGuyEnabled ( ) const

Member Data Documentation

std::string DtDiGuyInformation::myCharacterType
protected
std::string DtDiGuyInformation::myCharacterAppearance
protected
std::string DtDiGuyInformation::myCharacterHandItem
protected
std::string DtDiGuyInformation::myCharacterHead
protected
std::string DtDiGuyInformation::myCharacterAnimation
protected
bool DtDiGuyInformation::myUseRandomAppearanceUponCreation
protected
DtRwNLengthStringVector DtDiGuyInformation::myRandomAppearances
protected
bool DtDiGuyInformation::myUseRandomHandItemUponCreation
protected
DtRwNLengthStringVector DtDiGuyInformation::myRandomHandItems
protected
bool DtDiGuyInformation::myUseRandomHeadUponCreation
protected
DtRwNLengthStringVector DtDiGuyInformation::myRandomHeads
protected
bool DtDiGuyInformation::myDiGuyEnabled
protected

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

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)