AnimatLab  2
Test
VsMeshMgr.h
Go to the documentation of this file.
1 
7 #pragma once
8 
9 namespace VortexAnimatSim
10 {
11 
18  class VORTEX_PORT VsMeshMgr
19  {
20  protected:
21  CStdMap<std::string, std::pair<std::string, osg::ref_ptr<osg::Node>> > m_aryMeshes;
22 
23  std::string FileCreateTime(std::string strFilename);
24  osg::Node *AddMesh(std::string strFilename);
25 
26  public:
27  VsMeshMgr();
28  virtual ~VsMeshMgr();
29 
30  osg::Node *LoadMesh(std::string strFilename);
31  void ReleaseMesh(std::string strFilename);
32  bool ContainesMesh(std::string strFilename);
33  bool VsMeshMgr::FindMesh(std::string strFilename, std::pair<std::string, osg::ref_ptr<osg::Node>> &MeshPair, bool bThrowError = true);
34  };
35 
36 } //VortexAnimatSim
Vortex physical structure implementation.
Definition: VsMeshMgr.h:18
Classes for implementing the cm-labs vortex physics engine for AnimatLab.