A static class used to read (and then access) an old Stealth 6.2-style mtl model map file.
More...
Static Public Member Functions |
| static bool | carAsFixnum (DtlObjPtr lst, int &fixnumOut, DtlObjPtr &cdrOut) |
| | Get the car of a list as a fixnum, returning the num and cdr of the list through output parameters (fixnumOut and cdrOut).
|
| static bool | carAsString (DtlObjPtr lst, std::string &strOut, DtlObjPtr &cdrOut) |
| | Get the car of a list as a c string, returning the string and cdr of the list through output parameters (strOut and cdrOut).
|
| static bool | listToEntityType (DtlObjPtr lst, DtEntityType &typeOut) |
| | Interpret a list of 7 fixnums as a DIS entity type, returning the result through an output parameter (typeOut)
|
| static DtlObjPtr | DtlModelMap (const DtlObjPtr &args, const DtlObjPtr &env) |
| | Callback to interpret a model-map function call in an mtl file.
|
| static MtlModelMappings & | mtlModelMappings () |
| | Accessor for the imported model mappings.
|
| static std::set< std::string > & | stealthModelSet () |
Detailed Description
A static class used to read (and then access) an old Stealth 6.2-style mtl model map file.
Member Typedef Documentation
Vector of model mappings.
Member Function Documentation
| static bool makVrv::DtMtlModelMapReader::carAsFixnum |
( |
DtlObjPtr |
lst, |
|
|
int & |
fixnumOut, |
|
|
DtlObjPtr & |
cdrOut |
|
) |
| |
|
static |
Get the car of a list as a fixnum, returning the num and cdr of the list through output parameters (fixnumOut and cdrOut).
- Returns
- Returns false if the input is not a list of length >= 1 or its car is not a fixnum.
| static bool makVrv::DtMtlModelMapReader::carAsString |
( |
DtlObjPtr |
lst, |
|
|
std::string & |
strOut, |
|
|
DtlObjPtr & |
cdrOut |
|
) |
| |
|
static |
Get the car of a list as a c string, returning the string and cdr of the list through output parameters (strOut and cdrOut).
- Returns
- Returns false if the input is not a list of length >= 1 or its car is not a string.
| static bool makVrv::DtMtlModelMapReader::listToEntityType |
( |
DtlObjPtr |
lst, |
|
|
DtEntityType & |
typeOut |
|
) |
| |
|
static |
Interpret a list of 7 fixnums as a DIS entity type, returning the result through an output parameter (typeOut)
- Returns
- false if the list doesn't consist of exactly 7 fixnums
| static DtlObjPtr makVrv::DtMtlModelMapReader::DtlModelMap |
( |
const DtlObjPtr & |
args, |
|
|
const DtlObjPtr & |
env |
|
) |
| |
|
static |
Callback to interpret a model-map function call in an mtl file.
Creates an MtlModelMapping and adds it to the global list.
Accessor for the imported model mappings.
- Returns
- the imported model mappings
| static std::set<std::string>& makVrv::DtMtlModelMapReader::stealthModelSet |
( |
| ) |
|
|
static |
Member Data Documentation
| std::set<std::string> makVrv::DtMtlModelMapReader::theStealthModelSet |
|
staticprotected |
The documentation for this class was generated from the following file: