VR-Forces 4.5 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
vrvGraphics
DtQuad.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* Copyright (c) 2011 MAK Technologies, Inc.
3
* All rights reserved.
4
*****************************************************************************/
5
9
10
#pragma once
11
12
#include <
vrvGraphics/DtOverlayResourceProvider.h
>
13
14
namespace
makVrv
15
{
16
17
class
DtQuadProxy;
18
class
DtBoundingBox;
19
class
DtQuadRenderer;
20
class
DtOverlayRenderer;
21
24
class
DT_DLL_VRVGRAPHICS
DtQuad
25
{
26
public
:
27
28
enum
FillType
29
{
30
Fill_Solid = 0,
31
Fill_Stipple
,
32
Fill_Texture
33
};
34
35
public
:
36
38
DtQuad
(
DtQuadRenderer
& renderer );
39
41
DtQuad
(
DtOverlayRenderer
& renderer );
42
44
~
DtQuad
();
45
47
void
setPosition(
float
x,
float
y,
float
z,
float
w );
48
50
void
getPosition(
float
& x,
float
& y,
float
& z,
float
& w )
const
;
51
53
void
setRotation(
float
angle );
54
56
void
getRotation(
float
& angle )
const
;
57
60
void
setGroup(
float
order );
61
63
float
group()
const
;
64
66
void
setColor(
float
r,
float
g,
float
b,
float
a );
67
69
void
getColor(
float
& r,
float
& g,
float
& b,
float
& a )
const
;
70
72
void
setBounds(
const
DtBoundingBox
& bounds );
73
75
void
getBounds(
DtBoundingBox
& bounds )
const
;
76
79
void
setPoints(
const
float
points[8] );
80
83
void
getPoints(
float
points[8] );
84
88
void
setFillType( FillType type );
89
91
FillType fillType()
const
;
92
97
void
setFillParameter(
unsigned
int
param,
unsigned
int
fullStipplePattern[32] = 0 );
98
100
void
setTextureParameter(
DtOverlayResourceProvider::NativeResourceHandle
texture,
101
float
left = 0.0f,
float
right = 1.0f,
float
bottom = 0.0f,
float
top = 1.0f );
102
104
DtOverlayResourceProvider::NativeResourceHandle
textureParameter()
const
;
105
106
protected
:
107
108
DtQuadProxy
*
myProxy
;
109
110
};
111
112
}
Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (
www.mak.com
)