This class is used to implement the OpenGEX importer.
More...
Inherits Assimp::BaseImporter.
|
void | clearNodeStack () |
|
void | copyCameras (aiScene *pScene) |
|
void | copyLights (aiScene *pScene) |
|
void | copyMeshes (aiScene *pScene) |
|
void | createNodeTree (aiScene *pScene) |
|
void | handleAttenNode (ODDLParser::DDLNode *node, aiScene *pScene) |
|
void | handleCameraNode (ODDLParser::DDLNode *node, aiScene *pScene) |
|
void | handleCameraObject (ODDLParser::DDLNode *node, aiScene *pScene) |
|
void | handleColorNode (ODDLParser::DDLNode *node, aiScene *pScene) |
|
void | handleGeometryNode (ODDLParser::DDLNode *node, aiScene *pScene) |
|
void | handleGeometryObject (ODDLParser::DDLNode *node, aiScene *pScene) |
|
void | handleIndexArrayNode (ODDLParser::DDLNode *node, aiScene *pScene) |
|
void | handleLightNode (ODDLParser::DDLNode *node, aiScene *pScene) |
|
void | handleLightObject (ODDLParser::DDLNode *node, aiScene *pScene) |
|
void | handleMaterialNode (ODDLParser::DDLNode *node, aiScene *pScene) |
|
void | handleMaterialRefNode (ODDLParser::DDLNode *node, aiScene *pScene) |
|
void | handleMeshNode (ODDLParser::DDLNode *node, aiScene *pScene) |
|
void | handleMetricNode (ODDLParser::DDLNode *node, aiScene *pScene) |
|
void | handleNameNode (ODDLParser::DDLNode *node, aiScene *pScene) |
|
void | handleNodes (ODDLParser::DDLNode *node, aiScene *pScene) |
|
void | handleObjectRefNode (ODDLParser::DDLNode *node, aiScene *pScene) |
|
void | handleParamNode (ODDLParser::DDLNode *node, aiScene *pScene) |
|
void | handleTextureNode (ODDLParser::DDLNode *node, aiScene *pScene) |
|
void | handleTransformNode (ODDLParser::DDLNode *node, aiScene *pScene) |
|
void | handleVertexArrayNode (ODDLParser::DDLNode *node, aiScene *pScene) |
|
aiNode * | popNode () |
|
void | pushNode (aiNode *node, aiScene *pScene) |
|
void | resolveReferences () |
|
aiNode * | top () const |
|
|
enum | TextFileMode { ALLOW_EMPTY,
FORBID_EMPTY
} |
|
static bool | CheckMagicToken (IOSystem *pIOHandler, const std::string &pFile, const void *magic, unsigned int num, unsigned int offset=0, unsigned int size=4) |
| Check whether a file starts with one or more magic tokens. More...
|
|
static void | ConvertToUTF8 (std::vector< char > &data) |
| An utility for all text file loaders. More...
|
|
static void | ConvertUTF8toISO8859_1 (std::string &data) |
| An utility for all text file loaders. More...
|
|
template<typename T > |
static AI_FORCE_INLINE void | CopyVector (std::vector< T > &vec, T *&out, unsigned int &outLength) |
| Utility function to move a std::vector into a aiScene array. More...
|
|
static std::string | GetExtension (const std::string &pFile) |
| Extract file extension from a string. More...
|
|
static bool | SearchFileHeaderForToken (IOSystem *pIOSystem, const std::string &file, const char **tokens, unsigned int numTokens, unsigned int searchBytes=200, bool tokensSol=false) |
| A utility for CanRead(). More...
|
|
static bool | SimpleExtensionCheck (const std::string &pFile, const char *ext0, const char *ext1=NULL, const char *ext2=NULL) |
| Check whether a file has a specific file extension. More...
|
|
static void | TextFileToBuffer (IOStream *stream, std::vector< char > &data, TextFileMode mode=FORBID_EMPTY) |
| Utility for text file loaders which copies the contents of the file into a memory buffer and converts it to our UTF8 representation. More...
|
|
std::string | m_ErrorText |
| Error description in case there was one. More...
|
|
ProgressHandler * | m_progress |
| Currently set progress handler. More...
|
|
This class is used to implement the OpenGEX importer.
See http://opengex.org/OpenGEX.pdf for spec.
Assimp::OpenGEX::OpenGEXImporter::OpenGEXImporter |
( |
| ) |
|
Assimp::OpenGEX::OpenGEXImporter::~OpenGEXImporter |
( |
| ) |
|
|
virtual |
bool Assimp::OpenGEX::OpenGEXImporter::CanRead |
( |
const std::string & |
file, |
|
|
IOSystem * |
pIOHandler, |
|
|
bool |
checkSig |
|
) |
| const |
|
virtual |
void Assimp::OpenGEX::OpenGEXImporter::clearNodeStack |
( |
| ) |
|
|
protected |
void Assimp::OpenGEX::OpenGEXImporter::copyCameras |
( |
aiScene * |
pScene | ) |
|
|
protected |
void Assimp::OpenGEX::OpenGEXImporter::copyLights |
( |
aiScene * |
pScene | ) |
|
|
protected |
void Assimp::OpenGEX::OpenGEXImporter::copyMeshes |
( |
aiScene * |
pScene | ) |
|
|
protected |
void Assimp::OpenGEX::OpenGEXImporter::createNodeTree |
( |
aiScene * |
pScene | ) |
|
|
protected |
const aiImporterDesc * Assimp::OpenGEX::OpenGEXImporter::GetInfo |
( |
| ) |
const |
|
virtual |
void Assimp::OpenGEX::OpenGEXImporter::handleAttenNode |
( |
ODDLParser::DDLNode * |
node, |
|
|
aiScene * |
pScene |
|
) |
| |
|
protected |
void Assimp::OpenGEX::OpenGEXImporter::handleCameraNode |
( |
ODDLParser::DDLNode * |
node, |
|
|
aiScene * |
pScene |
|
) |
| |
|
protected |
void Assimp::OpenGEX::OpenGEXImporter::handleCameraObject |
( |
ODDLParser::DDLNode * |
node, |
|
|
aiScene * |
pScene |
|
) |
| |
|
protected |
void Assimp::OpenGEX::OpenGEXImporter::handleColorNode |
( |
ODDLParser::DDLNode * |
node, |
|
|
aiScene * |
pScene |
|
) |
| |
|
protected |
void Assimp::OpenGEX::OpenGEXImporter::handleGeometryNode |
( |
ODDLParser::DDLNode * |
node, |
|
|
aiScene * |
pScene |
|
) |
| |
|
protected |
void Assimp::OpenGEX::OpenGEXImporter::handleGeometryObject |
( |
ODDLParser::DDLNode * |
node, |
|
|
aiScene * |
pScene |
|
) |
| |
|
protected |
void Assimp::OpenGEX::OpenGEXImporter::handleIndexArrayNode |
( |
ODDLParser::DDLNode * |
node, |
|
|
aiScene * |
pScene |
|
) |
| |
|
protected |
void Assimp::OpenGEX::OpenGEXImporter::handleLightNode |
( |
ODDLParser::DDLNode * |
node, |
|
|
aiScene * |
pScene |
|
) |
| |
|
protected |
void Assimp::OpenGEX::OpenGEXImporter::handleLightObject |
( |
ODDLParser::DDLNode * |
node, |
|
|
aiScene * |
pScene |
|
) |
| |
|
protected |
void Assimp::OpenGEX::OpenGEXImporter::handleMaterialNode |
( |
ODDLParser::DDLNode * |
node, |
|
|
aiScene * |
pScene |
|
) |
| |
|
protected |
void Assimp::OpenGEX::OpenGEXImporter::handleMaterialRefNode |
( |
ODDLParser::DDLNode * |
node, |
|
|
aiScene * |
pScene |
|
) |
| |
|
protected |
void Assimp::OpenGEX::OpenGEXImporter::handleMeshNode |
( |
ODDLParser::DDLNode * |
node, |
|
|
aiScene * |
pScene |
|
) |
| |
|
protected |
void Assimp::OpenGEX::OpenGEXImporter::handleMetricNode |
( |
ODDLParser::DDLNode * |
node, |
|
|
aiScene * |
pScene |
|
) |
| |
|
protected |
void Assimp::OpenGEX::OpenGEXImporter::handleNameNode |
( |
ODDLParser::DDLNode * |
node, |
|
|
aiScene * |
pScene |
|
) |
| |
|
protected |
void Assimp::OpenGEX::OpenGEXImporter::handleNodes |
( |
ODDLParser::DDLNode * |
node, |
|
|
aiScene * |
pScene |
|
) |
| |
|
protected |
void Assimp::OpenGEX::OpenGEXImporter::handleObjectRefNode |
( |
ODDLParser::DDLNode * |
node, |
|
|
aiScene * |
pScene |
|
) |
| |
|
protected |
void Assimp::OpenGEX::OpenGEXImporter::handleParamNode |
( |
ODDLParser::DDLNode * |
node, |
|
|
aiScene * |
pScene |
|
) |
| |
|
protected |
void Assimp::OpenGEX::OpenGEXImporter::handleTextureNode |
( |
ODDLParser::DDLNode * |
node, |
|
|
aiScene * |
pScene |
|
) |
| |
|
protected |
void Assimp::OpenGEX::OpenGEXImporter::handleTransformNode |
( |
ODDLParser::DDLNode * |
node, |
|
|
aiScene * |
pScene |
|
) |
| |
|
protected |
void Assimp::OpenGEX::OpenGEXImporter::handleVertexArrayNode |
( |
ODDLParser::DDLNode * |
node, |
|
|
aiScene * |
pScene |
|
) |
| |
|
protected |
void Assimp::OpenGEX::OpenGEXImporter::InternReadFile |
( |
const std::string & |
file, |
|
|
aiScene * |
pScene, |
|
|
IOSystem * |
pIOHandler |
|
) |
| |
|
virtual |
aiNode * Assimp::OpenGEX::OpenGEXImporter::popNode |
( |
| ) |
|
|
protected |
void Assimp::OpenGEX::OpenGEXImporter::resolveReferences |
( |
| ) |
|
|
protected |
void Assimp::OpenGEX::OpenGEXImporter::SetupProperties |
( |
const Importer * |
pImp | ) |
|
|
virtual |
aiNode * Assimp::OpenGEX::OpenGEXImporter::top |
( |
| ) |
const |
|
protected |
The documentation for this class was generated from the following files: