AnimatLab  2
Test
OsgAnimatSim::OsgMeshMgr Class Reference

Vortex physical structure implementation. More...

#include <OsgMeshMgr.h>

+ Collaboration diagram for OsgAnimatSim::OsgMeshMgr:

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
 

Detailed Description

Vortex physical structure implementation.

Author
dcofer
Date
4/25/2011

Definition at line 18 of file OsgMeshMgr.h.

Constructor & Destructor Documentation

OsgAnimatSim::OsgMeshMgr::OsgMeshMgr ( )

Default constructor.

Author
dcofer
Date
4/25/2011

Definition at line 19 of file OsgMeshMgr.cpp.

OsgAnimatSim::OsgMeshMgr::~OsgMeshMgr ( )
virtual

Destructor.

Author
dcofer
Date
4/25/2011

Definition at line 29 of file OsgMeshMgr.cpp.

References StdUtils::Std_TraceMsg().

+ Here is the call graph for this function:

Member Function Documentation

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.

Author
dcofer
Date
3/18/2011
Parameters
strFilenamefilename of the mesh to find.
bThrowErrorIf true and the ID is not found then it throws an error, otherwise it does nothing.
Returns
null if it the column is not found and bThrowError is false, else a pointer to the found column.

Definition at line 140 of file OsgMeshMgr.cpp.

References StdUtils::Std_CheckString().

+ Here is the call graph for this function:


The documentation for this class was generated from the following files: