VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtInstanceUtils.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/DtInstanceState.h>
14 
16 
17 #include <vector>
18 #include <map>
19 
20 namespace makVrv
21 {
22  class DtDe;
23  class DtModelDefinition;
24  class DtOsgModelInstance;
25  class DtArticulatedModelParser;
26 
31  {
32  public:
33  typedef std::map<std::string, unsigned int> InstancedAnimationMap;
34  typedef std::vector<ArrayRange> ArrayRangeList;
35  typedef std::map<std::string, ArrayRangeList> InstancedAnnotationMap;
36 
38  typedef std::vector<unsigned int> InstancedPartVec;
39 
44  typedef std::map<unsigned int, InstancedPartVec> PartToInstancedPartMap;
45 
47  {
48  public:
49  virtual ~PartMapCache();
51  };
52 
58  {
59  public:
60  virtual ~AnimationMapCache();
62  };
63 
69  {
70  public:
71  virtual ~BoundingBoxCache();
74  };
75 
79  {
80  public:
81  virtual ~AnnotationCache();
83  };
84 
86  static void registerIfNecessary(DtModelDefinition& modelDef, DtDe& de, DtOsgModelInstance& mi,
87  /* output parameters: */
88  DtVector& boundMinOut,
89  DtVector& boundMaxOut,
90  AnnotationCache*& annotationCacheOut,
91  BoundingBoxCache*& boundingBoxCacheOut,
92  AnimationMapCache*& animationMapCacheOut,
93  PartMapCache& partMapCacheOut,
94  PartMapCache& stateMapCacheOut,
95  bool daylightControlledLights
96  );
97  };
98 }

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)