Description
Classes for the management of scenes, for example loading and saving of scenes from and to the file system. Global registration for Nodes and States .
Namespaces
Classes
Typedefs
Variables
Functions
|
|
|
|
void |
initExtBehaviourExporter() |
|
|
void |
initExtNodeExporter() |
|
|
void |
initExtStateExporter() |
|
|
void |
initExtAdditionalDataImporter() |
|
|
void |
initExtBehaviourImporter() |
|
|
void |
initExtNodeImporter() |
|
|
void |
initExtStateImporter() |
|
|
void |
initCoreNodeExporter() |
|
|
void |
initCoreStateExporter() |
|
|
void |
saveMinSGFile( SceneManager & sm, const Util::FileName & fileName, const std::deque< Node * > & nodes) |
|
|
void |
saveMinSGStream( SceneManager & sm, std::ostream & out, const std::deque< Node * > & nodes) |
|
|
void |
saveMeshesInSubtreeAsPLY( Node * rootNode, const std::string & dirName, bool saveRegisteredNodes) |
|
|
void |
saveMeshesInSubtreeAsMMF( Node * rootNode, const std::string & dirName, bool saveRegisteredNodes) |
|
|
void |
initCoreNodeImporter() |
|
|
void |
initCoreStateImporter() |
|
|
std::vector< Util::Reference < Node > > |
loadMinSGFile( SceneManager & sm, const Util::FileName & fileName, const importOption_t importOptions) |
|
|
std::vector< Util::Reference < Node > > |
loadMinSGFile( ImportContext & importContext, const Util::FileName & fileName) |
|
|
std::vector< Util::Reference < Node > > |
loadMinSGStream( ImportContext & importContext, std::istream & in) |
|
|
GroupNode * |
loadCOLLADA( SceneManager & sm, const Util::FileName & fileName, const importOption_t importOptions) |
|
|
GroupNode * |
loadCOLLADA( ImportContext & importContext, const Util::FileName & fileName) |
|
|
ImportContext |
createImportContext( SceneManager & sm, const importOption_t importOptions) |
Documentation
typedef
MinSG::SceneManagement::DescriptionMap
Defined in MinSG/SceneManagement/Exporter/ExporterContext.h:34
typedef
MinSG::SceneManagement::DescriptionArray
Defined in MinSG/SceneManagement/Importer/ImporterTools.h:30
typedef
MinSG::SceneManagement::importOption_t
Defined in MinSG/SceneManagement/ImportFunctions.h:27
typedef
MinSG::SceneManagement::floatVecWrapper_t
Defined in MinSG/SceneManagement/SceneDescription.h:29
typedef
MinSG::SceneManagement::uint32VecWrapper_t
Defined in MinSG/SceneManagement/SceneDescription.h:30
variable
MinSG::SceneManagement::IMPORT_OPTION_NONE
Defined in MinSG/SceneManagement/ImportFunctions.h:28
variable
MinSG::SceneManagement::IMPORT_OPTION_REUSE_EXISTING_STATES
Defined in MinSG/SceneManagement/ImportFunctions.h:29
variable
MinSG::SceneManagement::IMPORT_OPTION_DAE_INVERT_TRANSPARENCY
Defined in MinSG/SceneManagement/ImportFunctions.h:30
variable
MinSG::SceneManagement::IMPORT_OPTION_USE_TEXTURE_REGISTRY
Defined in MinSG/SceneManagement/ImportFunctions.h:31
variable
MinSG::SceneManagement::IMPORT_OPTION_USE_MESH_REGISTRY
Defined in MinSG/SceneManagement/ImportFunctions.h:32
variable
MinSG::SceneManagement::IMPORT_OPTION_USE_MESH_HASHING_REGISTRY
Defined in MinSG/SceneManagement/ImportFunctions.h:33
function
MinSG::SceneManagement::initExtBehaviourExporter
Defined in MinSG/Ext/SceneManagement/Exporter/ExtBehaviourExporter.h:17
function
MinSG::SceneManagement::initExtNodeExporter
Defined in MinSG/Ext/SceneManagement/Exporter/ExtNodeExporter.h:17
function
MinSG::SceneManagement::initExtStateExporter
Defined in MinSG/Ext/SceneManagement/Exporter/ExtStateExporter.h:17
function
MinSG::SceneManagement::initExtAdditionalDataImporter
Defined in MinSG/Ext/SceneManagement/Importer/ExtAdditionalDataImporter.h:17
function
MinSG::SceneManagement::initExtBehaviourImporter
Defined in MinSG/Ext/SceneManagement/Importer/ExtBehaviourImporter.h:17
function
MinSG::SceneManagement::initExtNodeImporter
Defined in MinSG/Ext/SceneManagement/Importer/ExtNodeImporter.h:17
function
MinSG::SceneManagement::initExtStateImporter
Defined in MinSG/Ext/SceneManagement/Importer/ExtStateImporter.h:17
function
MinSG::SceneManagement::initCoreNodeExporter
Defined in MinSG/SceneManagement/Exporter/CoreNodeExporter.h:17
function
MinSG::SceneManagement::initCoreStateExporter
Defined in MinSG/SceneManagement/Exporter/CoreStateExporter.h:17
function
MinSG::SceneManagement::saveMinSGFile
Save MinSG nodes to a file. Throws an exception on failure.
Parameters
- fileName
- Path that the new MinSG XML file will be saved to
- nodes
- Array of nodes that will be saved
Defined in MinSG/SceneManagement/ExportFunctions.h:27
function
MinSG::SceneManagement::saveMinSGStream
Save MinSG nodes to a stream. Throws an exception on failure.
Parameters
- out
- Output stream to which the MinSG XML data will be written
- nodes
- Array of nodes that will be saved
Defined in MinSG/SceneManagement/ExportFunctions.h:32
function
MinSG::SceneManagement::saveMeshesInSubtreeAsPLY
Traverses the scene graph belowrootNodeand saves all meshes that are found in GeometryNodes and that are not saved yet into PLY files in a separate directory.
Parameters
- rootNode
- Root of scene graph that will be traversed.
- dirName
- Name of directory that is used to store the meshes.
- saveRegisteredNodes
- If true, even already saved meshes are exported.
Defined in MinSG/SceneManagement/ExportFunctions.h:43
function
MinSG::SceneManagement::saveMeshesInSubtreeAsMMF
Traverses the scene graph belowrootNodeand saves all meshes that are found in GeometryNodes and that are not saved yet into MMF files in a separate directory.
Parameters
- rootNode
- Root of scene graph that will be traversed.
- dirName
- Name of directory that is used to store the meshes.
- saveRegisteredNodes
- If true, even already saved meshes are exported.
Defined in MinSG/SceneManagement/ExportFunctions.h:53
function
MinSG::SceneManagement::initCoreNodeImporter
Defined in MinSG/SceneManagement/Importer/CoreNodeImporter.h:17
function
MinSG::SceneManagement::initCoreStateImporter
Defined in MinSG/SceneManagement/Importer/CoreStateImporter.h:17
function
MinSG::SceneManagement::loadMinSGFile
Load MinSG nodes from a file.
Parameters
- fileName
- Path to a MinSG XML file
- importOptions
- Options controlling the import procedure
Returns
Array of MinSG nodes. In case of an error, an empty array will be returned.
Defined in MinSG/SceneManagement/ImportFunctions.h:43
function
MinSG::SceneManagement::loadMinSGFile
Load MinSG nodes from a file.
Parameters
- importContext
- Context that is used for the import procedure
- fileName
- Path to a MinSG XML file
Returns
Array of MinSG nodes. In case of an error, an empty array will be returned.
Defined in MinSG/SceneManagement/ImportFunctions.h:52
function
MinSG::SceneManagement::loadMinSGStream
Load MinSG nodes from a stream.
Parameters
- importContext
- Context that is used for the import procedure
- in
- Input stream providing MinSG XML data
Returns
Array of MinSG nodes. In case of an error, an empty array will be returned.
Defined in MinSG/SceneManagement/ImportFunctions.h:61
function
MinSG::SceneManagement::loadCOLLADA
Defined in MinSG/SceneManagement/ImportFunctions.h:63
function
MinSG::SceneManagement::loadCOLLADA
Defined in MinSG/SceneManagement/ImportFunctions.h:64
function
MinSG::SceneManagement::createImportContext
Defined in MinSG/SceneManagement/ImportFunctions.h:66