VR-Forces 4.8 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 
11 #include "vrfutil/rwUUID.h"
12 #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*, const DtEntityType&);
45 
47  virtual boost::shared_ptr<DtTerrainInterface> lookupModelEntry(const DtMovingObjectParameters&) const;
48 
50  virtual boost::shared_ptr<DtTerrainInterface> addModelEntry(const DtVrfObjectParameters*, const DtEntityType&);
51 
54  virtual void remove(const DtMovingObjectParameters& objectType);
55 
58  virtual void removeAll();
59 
62  virtual boost::shared_ptr<DtTerrainInterface> createObjectModelEntry(const DtVrfObjectParameters*, const DtEntityType&);
63 
64  virtual void init();
65 
66 protected:
69  virtual boost::shared_ptr<DtTerrainInterface> createObjectModel(const DtFilename&, const DtEntityType& s) const;
70 
71 protected:
72 
73  typedef boost::unordered_map<std::string, boost::shared_ptr<DtTerrainInterface> > DtObjectModelContainer;
74  typedef DtObjectModelContainer::iterator DtObjectModelIter;
75  typedef DtObjectModelContainer::const_iterator DtObjectModelConstIter;
76 
79 };
UUID is a unique ID wrapper class.
Definition: rwUUID.h:222
Instances of DtVrfObjectParameters are the readable/writeable objects that contain the information ne...
Definition: vrfObjectParameters.h:59
DtVrfObjectManager * myObjectManager
Definition: objectGeometricModelsManager.h:78
*virtual const DtObjectType & objectType() const
Definition: objectType.h:27
Manages loading and destruction of object models.
Definition: objectGeometricModelsManager.h:28
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
The moving-object-param parameter type is used for objects that are capable of movement, such as individual entities and aggregates.
Definition: movingObjectParameters.h:33
DtTerrainInterface allows access to common terrain calls without having to know the terrain implement...
Definition: terrainInterface.h:84
DtObjectModelContainer::const_iterator DtObjectModelConstIter
Definition: objectGeometricModelsManager.h:75
boost::unordered_map< std::string, boost::shared_ptr< DtTerrainInterface > > DtObjectModelContainer
Definition: objectGeometricModelsManager.h:73
DtObjectModelContainer myObjectModels
Definition: objectGeometricModelsManager.h:77
class DtVrfObjectManager:
Definition: vrfObjectManager.h:201
DT_DLL_DEBUGDRAWRENDERER void init(makVrv::DtDe &de)
Work function for the plugin initialization.
DtObjectModelContainer::iterator DtObjectModelIter
Definition: objectGeometricModelsManager.h:74

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)