VR-Forces 4.3.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrvOsg
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
31
ArrayRange
() {}
32
34
unsigned
offset
;
35
37
unsigned
count
;
38
};
39
41
typedef
osg::Matrixf
InstanceMatrix
;
42
typedef
float
InstanceMatrixVal
;
43
46
struct
DT_DLL_VRVOSG
InstanceCullData
47
{
48
osg::Vec3d
l2wPos
;
49
osg::Vec3f
boundingCenter
;
50
float
boundingRadius
;
51
unsigned
int
nodeMask
;
52
short
modelSet
;
53
55
unsigned
short
templateIndex
;
56
57
bool
visible
;
58
};
59
62
struct
DT_DLL_VRVOSG
DtInstanceState
63
{
64
public
:
66
osg::Matrixf
l2wOri
;
67
69
osg::Vec3f
colorFilter
;
70
72
unsigned
short
cullDataOffset
;
73
75
ArrayRange
dofRange
;
76
78
ArrayRange
switchRange
;
79
81
ArrayRange
sequenceRange
;
82
84
ArrayRange
drawableRange
;
85
87
ArrayRange
lodRange
;
88
90
ArrayRange
lightRange
;
91
93
ArrayRange
uvOffsetRange
;
94
96
unsigned
short
templateIndex
;
97
};
98
}
Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)