VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtCellToIndirectGeoMap.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2017 VT-MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
15 
16 #include <boost/unordered_map.hpp>
17 
18 
19 namespace osg
20 {
21  class Group;
22  class Node;
23 }
24 
25 namespace makVrv
26 {
27  class DtDe;
28  class DtCellIndirectGeo;
29  class DtIndirectGeometryRegistrar;
30  class DtIndirectGeometryCreator;
31  class DtIndirectGeoIntersectionGroupCreator;
32 
39  {
40  public:
44  virtual ~DtCellToIndirectGeoMap();
45 
50  virtual DtCellIndirectGeo* getOrCreateEntry(const osg::Node* node, DtIndirectGeometryRegistrar* registrar, bool& created);
51 
53  virtual void keyNodeGettingDeleted(const osg::Node* node);
54  protected:
56  virtual DtCellIndirectGeo* getEntry(const osg::Node* node);
58  virtual DtCellIndirectGeo* createEntry(const osg::Node* node, DtIndirectGeometryRegistrar* registrar);
60  virtual void deleteEntries();
61  protected:
63  typedef boost::unordered_map<const osg::Node*, DtCellIndirectGeo*> KeyToEntryTypeMap;
65 
67 
71 
72  private:
75  };
76 }

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)