![]() |
VR-Forces 4.0.4 Class Documentation
|
Public Member Functions | |
| DtSurfaceCharacteristicMap () | |
| default constructor. | |
| virtual | ~DtSurfaceCharacteristicMap () |
| destructor | |
| DtSurfaceCharacteristicMap (const DtSurfaceCharacteristicMap &orig) | |
| copy constructor | |
| virtual bool | init (const DtFilename filename, bool displayWarning=false) |
| assignment operator - provided by default by compiler. | |
| virtual bool | get (std::istream &stream) |
| get data from a stream | |
| virtual bool | processToken (std::istream &stream, DtString &token) |
| identifies a token or passes token the parent class. | |
| virtual bool | characteristicsFromString (const char *str, unsigned int &characteristics, int &position) |
| Set characteristics based on a string. | |
Protected Types | |
| typedef std::map< DtString, DtSurface::DtCharacteristics > | DtSurfaceStringToCharacteristics |
| typedef DtSurfaceStringToCharacteristics::const_iterator | DtSurfStrToCharsConstIter |
| typedef DtSurfaceStringToCharacteristics::iterator | DtSurfStrToCharsIter |
Protected Member Functions | |
| virtual DtSurface * | createSurface () |
| Creates mySufarce. | |
Protected Attributes | |
| DtSurfaceStringToCharacteristics | mySurfaceStringToCharacteristics |
| DtSurface * | mySurface |
Static Protected Attributes | |
| static const DtString | theMatchString |
Private Attributes | |
| std::set< std::string > | myPrintedWarnings |
| This is here to prevent error messages from streaming out when many polygons have textures not referenced in the surface characteristics map. | |
typedef std::map<DtString, DtSurface::DtCharacteristics> makVrf::DtSurfaceCharacteristicMap::DtSurfaceStringToCharacteristics [protected] |
typedef DtSurfaceStringToCharacteristics::const_iterator makVrf::DtSurfaceCharacteristicMap::DtSurfStrToCharsConstIter [protected] |
typedef DtSurfaceStringToCharacteristics::iterator makVrf::DtSurfaceCharacteristicMap::DtSurfStrToCharsIter [protected] |
default constructor.
| virtual makVrf::DtSurfaceCharacteristicMap::~DtSurfaceCharacteristicMap | ( | ) | [virtual] |
destructor
| makVrf::DtSurfaceCharacteristicMap::DtSurfaceCharacteristicMap | ( | const DtSurfaceCharacteristicMap & | orig | ) |
copy constructor
| virtual bool makVrf::DtSurfaceCharacteristicMap::init | ( | const DtFilename | filename, |
| bool | displayWarning = false |
||
| ) | [virtual] |
assignment operator - provided by default by compiler.
This class is assignable. Initialize the metafile. Calls createSurface().
| virtual bool makVrf::DtSurfaceCharacteristicMap::get | ( | std::istream & | stream | ) | [virtual] |
get data from a stream
| virtual bool makVrf::DtSurfaceCharacteristicMap::processToken | ( | std::istream & | stream, |
| DtString & | token | ||
| ) | [virtual] |
identifies a token or passes token the parent class.
| virtual bool makVrf::DtSurfaceCharacteristicMap::characteristicsFromString | ( | const char * | str, |
| unsigned int & | characteristics, | ||
| int & | position | ||
| ) | [virtual] |
Set characteristics based on a string.
| virtual DtSurface* makVrf::DtSurfaceCharacteristicMap::createSurface | ( | ) | [protected, virtual] |
Creates mySufarce.
DtSurfaceStringToCharacteristics makVrf::DtSurfaceCharacteristicMap::mySurfaceStringToCharacteristics [protected] |
const DtString makVrf::DtSurfaceCharacteristicMap::theMatchString [static, protected] |
DtSurface* makVrf::DtSurfaceCharacteristicMap::mySurface [protected] |
std::set<std::string> makVrf::DtSurfaceCharacteristicMap::myPrintedWarnings [private] |
This is here to prevent error messages from streaming out when many polygons have textures not referenced in the surface characteristics map.
Should probably be changed to a logging class that is a member of the class, that explicitly has the "only output once" logic held internally. NOTE: This is used in the characteristicsFromString function.