VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrvIndirectRendering
DtGeometrySpecification.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2018 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
9
#pragma once
10
11
#include <
vrvIndirectRendering/vrvIndirectRendering.h
>
12
13
#include <
vrvGraphicsUtils/DtAxisAlignedBoundingBox.h
>
14
#include <
vrvGraphicsUtils/DtVector4.h
>
15
16
#include <vector>
17
18
namespace
makVrv
19
{
21
class
DT_DLL_VRVINDIRECTRENDERING
DtLodInfo
22
{
23
public
:
25
DtLodInfo
(
float
start,
float
end,
float
userValue);
26
public
:
27
float
myStart
;
28
float
myEnd
;
29
float
myUserValue
;
30
private
:
32
DtLodInfo
();
33
};
34
38
struct
DtGpuAxisAlignedBoundingBox
39
{
40
public
:
41
Vector4_32
myVectorMin
;
42
Vector4_32
myVectorMax
;
43
};
44
57
struct
DT_DLL_VRVINDIRECTRENDERING
DtGeometrySpecification
58
{
59
public
:
61
DtGeometrySpecification
(
int
indexOffset,
int
indexCount,
int
firstVertex,
int
state,
const
DtLodInfo
& lodInfo,
const
AxisAlignedBoundingBox_32
& box);
62
64
DtLodInfo
lodInfo(
void
)
const
;
65
67
void
setLodInfo(
const
DtLodInfo
& lodInfo);
68
70
int
indicesOffset()
const
;
71
73
int
indicesCount()
const
;
74
76
int
firstVertex()
const
;
77
public
:
79
Vector4_int
myIndicesInfo
;
80
82
Vector4_32
myLodInfo
;
83
85
DtGpuAxisAlignedBoundingBox
myBox
;
86
private
:
88
DtGeometrySpecification
();
89
};
90
92
typedef
std::vector<DtGeometrySpecification>
VectorGeometryLocations
;
93
}
94
95
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
)