This class is used to implement the OpenGEX importer.
More...
Inherits Assimp::BaseImporter.
|
| void | clearNodeStack () |
| |
| void | copyCameras (aiScene *pScene) |
| |
| void | copyLights (aiScene *pScene) |
| |
| void | copyMaterials (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
} |
| | Enum to define, if empty files are ok or not. More...
|
| |
| 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.
◆ OpenGEXImporter()
| Assimp::OpenGEX::OpenGEXImporter::OpenGEXImporter |
( |
| ) |
|
◆ ~OpenGEXImporter()
| Assimp::OpenGEX::OpenGEXImporter::~OpenGEXImporter |
( |
| ) |
|
|
virtual |
◆ CanRead()
| bool Assimp::OpenGEX::OpenGEXImporter::CanRead |
( |
const std::string & |
file, |
|
|
IOSystem * |
pIOHandler, |
|
|
bool |
checkSig |
|
) |
| const |
|
virtual |
◆ clearNodeStack()
| void Assimp::OpenGEX::OpenGEXImporter::clearNodeStack |
( |
| ) |
|
|
protected |
◆ copyCameras()
| void Assimp::OpenGEX::OpenGEXImporter::copyCameras |
( |
aiScene * |
pScene | ) |
|
|
protected |
◆ copyLights()
| void Assimp::OpenGEX::OpenGEXImporter::copyLights |
( |
aiScene * |
pScene | ) |
|
|
protected |
◆ copyMaterials()
| void Assimp::OpenGEX::OpenGEXImporter::copyMaterials |
( |
aiScene * |
pScene | ) |
|
|
protected |
◆ copyMeshes()
| void Assimp::OpenGEX::OpenGEXImporter::copyMeshes |
( |
aiScene * |
pScene | ) |
|
|
protected |
◆ createNodeTree()
| void Assimp::OpenGEX::OpenGEXImporter::createNodeTree |
( |
aiScene * |
pScene | ) |
|
|
protected |
◆ GetInfo()
| const aiImporterDesc * Assimp::OpenGEX::OpenGEXImporter::GetInfo |
( |
| ) |
const |
|
virtual |
◆ handleAttenNode()
| void Assimp::OpenGEX::OpenGEXImporter::handleAttenNode |
( |
ODDLParser::DDLNode * |
node, |
|
|
aiScene * |
pScene |
|
) |
| |
|
protected |
◆ handleCameraNode()
| void Assimp::OpenGEX::OpenGEXImporter::handleCameraNode |
( |
ODDLParser::DDLNode * |
node, |
|
|
aiScene * |
pScene |
|
) |
| |
|
protected |
◆ handleCameraObject()
| void Assimp::OpenGEX::OpenGEXImporter::handleCameraObject |
( |
ODDLParser::DDLNode * |
node, |
|
|
aiScene * |
pScene |
|
) |
| |
|
protected |
◆ handleColorNode()
| void Assimp::OpenGEX::OpenGEXImporter::handleColorNode |
( |
ODDLParser::DDLNode * |
node, |
|
|
aiScene * |
pScene |
|
) |
| |
|
protected |
◆ handleGeometryNode()
| void Assimp::OpenGEX::OpenGEXImporter::handleGeometryNode |
( |
ODDLParser::DDLNode * |
node, |
|
|
aiScene * |
pScene |
|
) |
| |
|
protected |
◆ handleGeometryObject()
| void Assimp::OpenGEX::OpenGEXImporter::handleGeometryObject |
( |
ODDLParser::DDLNode * |
node, |
|
|
aiScene * |
pScene |
|
) |
| |
|
protected |
◆ handleIndexArrayNode()
| void Assimp::OpenGEX::OpenGEXImporter::handleIndexArrayNode |
( |
ODDLParser::DDLNode * |
node, |
|
|
aiScene * |
pScene |
|
) |
| |
|
protected |
◆ handleLightNode()
| void Assimp::OpenGEX::OpenGEXImporter::handleLightNode |
( |
ODDLParser::DDLNode * |
node, |
|
|
aiScene * |
pScene |
|
) |
| |
|
protected |
◆ handleLightObject()
| void Assimp::OpenGEX::OpenGEXImporter::handleLightObject |
( |
ODDLParser::DDLNode * |
node, |
|
|
aiScene * |
pScene |
|
) |
| |
|
protected |
◆ handleMaterialNode()
| void Assimp::OpenGEX::OpenGEXImporter::handleMaterialNode |
( |
ODDLParser::DDLNode * |
node, |
|
|
aiScene * |
pScene |
|
) |
| |
|
protected |
◆ handleMaterialRefNode()
| void Assimp::OpenGEX::OpenGEXImporter::handleMaterialRefNode |
( |
ODDLParser::DDLNode * |
node, |
|
|
aiScene * |
pScene |
|
) |
| |
|
protected |
◆ handleMeshNode()
| void Assimp::OpenGEX::OpenGEXImporter::handleMeshNode |
( |
ODDLParser::DDLNode * |
node, |
|
|
aiScene * |
pScene |
|
) |
| |
|
protected |
◆ handleMetricNode()
| void Assimp::OpenGEX::OpenGEXImporter::handleMetricNode |
( |
ODDLParser::DDLNode * |
node, |
|
|
aiScene * |
pScene |
|
) |
| |
|
protected |
◆ handleNameNode()
| void Assimp::OpenGEX::OpenGEXImporter::handleNameNode |
( |
ODDLParser::DDLNode * |
node, |
|
|
aiScene * |
pScene |
|
) |
| |
|
protected |
◆ handleNodes()
| void Assimp::OpenGEX::OpenGEXImporter::handleNodes |
( |
ODDLParser::DDLNode * |
node, |
|
|
aiScene * |
pScene |
|
) |
| |
|
protected |
◆ handleObjectRefNode()
| void Assimp::OpenGEX::OpenGEXImporter::handleObjectRefNode |
( |
ODDLParser::DDLNode * |
node, |
|
|
aiScene * |
pScene |
|
) |
| |
|
protected |
◆ handleParamNode()
| void Assimp::OpenGEX::OpenGEXImporter::handleParamNode |
( |
ODDLParser::DDLNode * |
node, |
|
|
aiScene * |
pScene |
|
) |
| |
|
protected |
◆ handleTextureNode()
| void Assimp::OpenGEX::OpenGEXImporter::handleTextureNode |
( |
ODDLParser::DDLNode * |
node, |
|
|
aiScene * |
pScene |
|
) |
| |
|
protected |
◆ handleTransformNode()
| void Assimp::OpenGEX::OpenGEXImporter::handleTransformNode |
( |
ODDLParser::DDLNode * |
node, |
|
|
aiScene * |
pScene |
|
) |
| |
|
protected |
◆ handleVertexArrayNode()
| void Assimp::OpenGEX::OpenGEXImporter::handleVertexArrayNode |
( |
ODDLParser::DDLNode * |
node, |
|
|
aiScene * |
pScene |
|
) |
| |
|
protected |
◆ InternReadFile()
| void Assimp::OpenGEX::OpenGEXImporter::InternReadFile |
( |
const std::string & |
file, |
|
|
aiScene * |
pScene, |
|
|
IOSystem * |
pIOHandler |
|
) |
| |
|
virtual |
◆ popNode()
| aiNode * Assimp::OpenGEX::OpenGEXImporter::popNode |
( |
| ) |
|
|
protected |
◆ pushNode()
| void Assimp::OpenGEX::OpenGEXImporter::pushNode |
( |
aiNode * |
node, |
|
|
aiScene * |
pScene |
|
) |
| |
|
protected |
◆ resolveReferences()
| void Assimp::OpenGEX::OpenGEXImporter::resolveReferences |
( |
| ) |
|
|
protected |
◆ SetupProperties()
| void Assimp::OpenGEX::OpenGEXImporter::SetupProperties |
( |
const Importer * |
pImp | ) |
|
|
virtual |
◆ top()
| aiNode * Assimp::OpenGEX::OpenGEXImporter::top |
( |
| ) |
const |
|
protected |
The documentation for this class was generated from the following files: