public |
Inheritance Graph
graph BT
ImportHandler
ImportHandler --> MeshImportHandler
click ImportHandler "classMinSG_1_1OutOfCore_1_1ImportHandler"
click MeshImportHandler "classMinSG_1_1SceneManagement_1_1MeshImportHandler"
Description
Class that registers itself at the SceneManager and then takes notice whenever a new mesh is to be loaded.
Author: Benjamin Eikel
Date: 2011-02-18
Public Functions
~ImportHandler() | |
Node * | handleImport(const Util::FileLocator & locator, const std::string & url, const SceneManagement::DescriptionMap * description) |
Documentation
function
MinSG::OutOfCore::ImportHandler::~ImportHandler
public | inline | virtual |
~ImportHandler( | ) |
Defined in MinSG/Ext/OutOfCore/ImportHandler.h:31
function
MinSG::OutOfCore::ImportHandler::handleImport
public | virtual |
Node * handleImport( | const Util::FileLocator & | locator, |
const std::string & | url, | |
const SceneManagement::DescriptionMap * | description | |
) |
Add a new cache object that is a representative for the mesh. Only meshes from “.mmf” and “.ply” files are supported by this class. Other meshes will be loaded with the function of the superclass. This function is called by the StdImporter when a Mesh has to be loaded form a file system or network location.
Parameters
- url
- Location of the mesh file.
- description
- Description of the Node to which the mesh belongs.
Returns
Arbitrary node or tree of nodes that represents the mesh inside the scene graph.
Defined in MinSG/Ext/OutOfCore/ImportHandler.h:44