VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtInstanceState.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include <vrvOsg/vrvOsg.h>
12 
13 #include <osg/Matrixf>
14 #include <osg/Vec3d>
15 
16 namespace makVrv
17 {
20  struct ArrayRange
21  {
23  ArrayRange(unsigned _offset, unsigned _count)
24  : offset(_offset)
25  , count(_count)
26  {
27 
28  }
29 
32 
34  unsigned offset;
35 
37  unsigned count;
38  };
39 
41  typedef osg::Matrixf InstanceMatrix;
42  typedef float InstanceMatrixVal;
43 
47  {
48  osg::Vec3d l2wPos;
49  osg::Vec3f boundingCenter;
51  unsigned int nodeMask;
52  short modelSet;
53  bool visible;
54  };
55 
59  {
60  public:
62  osg::Matrixf l2wOri;
63 
65  osg::Vec3f colorFilter;
66 
68  unsigned short cullDataOffset;
69 
72 
75 
78 
81 
84 
87 
90 
92  unsigned short templateIndex;
93  };
94 }

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)