VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
objectGeometricModelsManager.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 #pragma once
6 
9 
10 #include "vrfutil/rwUUID.h"
11 #include <boost/shared_ptr.hpp>
13 
14 class DtVrfObjectManager;
16 class Dt3dBoundingVolume;
18 class DtTerrainInterface;
19 class DtObjectType;
20 class DtFilename;
21 class DtEntityType;
22 
29 {
30 public:
31 
34 
37 
40  virtual boost::shared_ptr<DtTerrainInterface> objectModelEntry(const DtUUID& parent);
41  virtual boost::shared_ptr<DtTerrainInterface> objectModelEntry(const DtObjectType& type);
42 
44  virtual boost::shared_ptr<DtTerrainInterface> objectModelEntry(const DtVrfObjectParameters*);
45 
47  virtual boost::shared_ptr<DtTerrainInterface> lookupModelEntry(const DtMovingObjectParameters&) const;
48 
50  virtual boost::shared_ptr<DtTerrainInterface> addModelEntry(const DtVrfObjectParameters*);
51 
54  virtual void remove(const DtMovingObjectParameters& objectType);
55 
58  virtual void removeAll();
59 
62  virtual boost::shared_ptr<DtTerrainInterface> createObjectModelEntry(const DtVrfObjectParameters*);
63 
64  virtual void init();
65 
66 protected:
67  virtual boost::shared_ptr<DtTerrainInterface> createObjectModel(const DtFilename&, const DtEntityType& s) const;
68  virtual boost::shared_ptr<DtTerrainInterface> createObjectModel(const Dt3dBoundingVolume& s) const;
69 
70 protected:
71 
72  typedef boost::unordered_map<std::string, boost::shared_ptr<DtTerrainInterface> > DtObjectModelContainer;
73  typedef DtObjectModelContainer::iterator DtObjectModelIter;
74  typedef DtObjectModelContainer::const_iterator DtObjectModelConstIter;
75 
78 };

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)