VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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 
69 protected:
70 
71  typedef boost::unordered_map<std::string, boost::shared_ptr<DtTerrainInterface> > DtObjectModelContainer;
72  typedef DtObjectModelContainer::iterator DtObjectModelIter;
73  typedef DtObjectModelContainer::const_iterator DtObjectModelConstIter;
74 
77 };

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)