VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtIndirectEntityManagerInstance.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2021 VT-MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
13 
15 
17 
18 #include <string>
19 
20 namespace makVrv
21 {
22  class DtModelDefinition;
23  class DtOsgModelInstance;
24 
25  class DtIndirectGeometry;
26 
30  {
31  public:
34  , const DtOsgModelInstance& modelInstance
35  , int modelSet
36  , float modelScale
37  , float modelRadius
38  , bool mapDofsSwitchesSequences
39  , const std::string& modelName
40  , const int modelId
41  , const int lightPointGroupId
42  );
43 
46 
49 
50  private:
53 
56  public:
59 
62 
67 
70 
72 
74  const std::string myModelName;
75 
77  const int myModelId;
78 
80  const float myModelScale;
81 
83  const float myModelRadius;
84 
87 
90 
92  const int myModelSet;
93 
97 
99  };
100 }
internal structure for mapping a DtOsgArticulatedModel/DtOsgSimpleModel object to a corresponding ins...
Definition: DtIndirectEntityManagerInstance.h:29
const int myLightPointGroupId
Definition: DtIndirectEntityManagerInstance.h:98
const std::string myModelName
These are constants for the duration of this instance within the indirect entity manager.
Definition: DtIndirectEntityManagerInstance.h:74
const bool myMapDofsSwitchesSequences
whether dofs, switches, sequences are to be mapped typically: true for articulated model...
Definition: DtIndirectEntityManagerInstance.h:96
DtIndirectEntityManagerInstance()=delete
not allowed
const float myModelScale
scale
Definition: DtIndirectEntityManagerInstance.h:80
osg::ref_ptr< DtIndirectGeometry > myIndirectGeometry
the indirect geometry to which this instance belongs to Purposely hold a reference to avoid DtIndirec...
Definition: DtIndirectEntityManagerInstance.h:66
A model definition Interaction any number of named parameters, and also can be used to store cached d...
Definition: DtModelDefinition.h:38
3 dimensional vector
const DtOsgModelInstance & myModelInstance
reference to the model instance
Definition: DtIndirectEntityManagerInstance.h:89
The base class for simple OSG based model instances.
Definition: DtOsgModelInstance.h:76
DtIndirectEntityManagerInstance & operator=(const DtIndirectEntityManagerInstance &rhs)=delete
assignment
int myInstanceIdInIndirectGeometry
These are not constants for the duration of this instance within the indirect entity manager we chang...
Definition: DtIndirectEntityManagerInstance.h:61
const int myModelSet
model set
Definition: DtIndirectEntityManagerInstance.h:92
const DtModelDefinition & myModelDefinition
reference to the model definition
Definition: DtIndirectEntityManagerInstance.h:86
const float myModelRadius
radius
Definition: DtIndirectEntityManagerInstance.h:83
virtual ~DtIndirectEntityManagerInstance()
destructor
Contains DLL export macros.
const int myModelId
the model id
Definition: DtIndirectEntityManagerInstance.h:77
Contains the DtIndirectGeometry class declaration.
Vector3_int myCellId
the cell id within the grid
Definition: DtIndirectEntityManagerInstance.h:69

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)