public |
Inheritance Graph
graph BT
MeshImportHandler
ImportHandler --> MeshImportHandler
click MeshImportHandler "classMinSG_1_1SceneManagement_1_1MeshImportHandler"
click ImportHandler "classMinSG_1_1OutOfCore_1_1ImportHandler"
Description
Class that registers itself at the SceneManager and then is responsible to load meshes.
Author: Benjamin Eikel
Date: 2011-02-17
Public Functions
~MeshImportHandler() | |
Node * | handleImport(const Util::FileLocator & locator, const std::string & url, const DescriptionMap * description) |
Documentation
function
MinSG::SceneManagement::MeshImportHandler::~MeshImportHandler
public | inline | virtual |
~MeshImportHandler( | ) |
Defined in MinSG/SceneManagement/Importer/MeshImportHandler.h:33
function
MinSG::SceneManagement::MeshImportHandler::handleImport
public | virtual |
Node * handleImport( | const Util::FileLocator & | locator, |
const std::string & | url, | |
const DescriptionMap * | description | |
) |
Load the mesh from the given address and create MinSG Nodes for it. This function is called by the StdImporter when a Mesh has to be loaded form a file system or network location.
Parameters
- locator
- Used to resolve the actual path to the file.
- 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/SceneManagement/Importer/MeshImportHandler.h:45