AnimatLab
2
Test
|
Vortex physical structure implementation. More...
#include <OsgMeshMgr.h>
Public Member Functions | |
OsgMeshMgr () | |
Default constructor. More... | |
virtual | ~OsgMeshMgr () |
Destructor. More... | |
bool | ContainesMesh (std::string strFilename) |
bool | FindMesh (std::string strFilename, std::pair< std::string, osg::ref_ptr< osg::Node >> &MeshPair, bool bThrowError=true) |
Searches for a mesh that matches the specified filename. More... | |
osg::Node * | LoadMesh (std::string strFilename) |
void | ReleaseMesh (std::string strFilename) |
Protected Member Functions | |
osg::Node * | AddMesh (std::string strFilename) |
std::string | FileCreateTime (std::string strFilename) |
Protected Attributes | |
CStdMap< std::string, std::pair< std::string, osg::ref_ptr< osg::Node > > > | m_aryMeshes |
OsgAnimatSim::OsgMeshMgr::OsgMeshMgr | ( | ) |
|
virtual |
Destructor.
Definition at line 29 of file OsgMeshMgr.cpp.
References StdUtils::Std_TraceMsg().
bool OsgAnimatSim::OsgMeshMgr::FindMesh | ( | std::string | strFilename, |
std::pair< std::string, osg::ref_ptr< osg::Node >> & | MeshPair, | ||
bool | bThrowError = true |
||
) |
Searches for a mesh that matches the specified filename.
strFilename | filename of the mesh to find. |
bThrowError | If true and the ID is not found then it throws an error, otherwise it does nothing. |
Definition at line 140 of file OsgMeshMgr.cpp.
References StdUtils::Std_CheckString().