VR-Forces 5.0.1 Developer's Guide
 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. Used only by the Simulation Object Editor.

Public Member Functions

 DtDiGuyInformation ()
 
virtual ~DtDiGuyInformation ()
 
 DtDiGuyInformation (const DtDiGuyInformation &)
 
DtDiGuyInformationoperator= (const DtDiGuyInformation &)
 
bool operator== (const DtDiGuyInformation &) const
 
bool operator!= (const DtDiGuyInformation &rhs)
 
virtual void readFromEnvironment (const DtRwVariableBindings *)
 
virtual void writeToEnvironment (DtRwVariableBindings *) const
 
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 setCharacterTaskableAnimations (const AlternateNamesList &list)
 
const AlternateNamesListcharacterTaskableAnimations () 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
 
AlternateNamesList myTaskableAnimationsList
 
bool myUseRandomAppearanceUponCreation
 
DtRwNLengthStringVector myRandomAppearances
 
bool myUseRandomHandItemUponCreation
 
DtRwNLengthStringVector myRandomHandItems
 
bool myUseRandomHeadUponCreation
 
DtRwNLengthStringVector myRandomHeads
 
bool myDiGuyEnabled
 

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::setCharacterTaskableAnimations ( const AlternateNamesList list)
const AlternateNamesList& DtDiGuyInformation::characterTaskableAnimations ( ) 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
AlternateNamesList DtDiGuyInformation::myTaskableAnimationsList
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 Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)