VR-Forces 4.6 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
vrvCore
DtWindowPolygonInstance.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2010 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtWindowPolygonInstance.h,v $ $Revision: 1.0 $ $State: Exp $
7
******************************************************************************/
8
12
13
#ifndef DtWindowPolygonInstance_H_
14
#define DtWindowPolygonInstance_H_
15
16
#include <
vrvCore/vrvCore.h
>
17
#include <
vrvCore/DtSetVisibilityInterface.h
>
18
19
#include <vector>
20
21
namespace
makVrv
22
{
26
class
DT_DLL_VRVCORE
DtWindowPolygonInstance
:
public
DtSetVisibilityInterface
27
{
28
public
:
30
struct
Vertex
31
{
32
double
x
;
33
double
y
;
34
};
35
36
typedef
std::vector<Vertex>
VertexList
;
37
39
virtual
~
DtWindowPolygonInstance
();
40
42
virtual
void
setVertex(
int
i,
double
x,
double
y) = 0;
43
45
virtual
void
setFillPattern(
unsigned
int
fillPattern) = 0;
46
48
virtual
void
setFill(
bool
fill) = 0;
49
51
virtual
void
setScale(
double
scale) = 0;
52
54
virtual
void
setRotation(
double
rotation) = 0;
55
57
virtual
void
setNumVertices(
unsigned
int
numVertices) = 0;
58
60
virtual
void
setColor(
float
r,
float
g,
float
b,
float
a) = 0;
61
63
virtual
const
VertexList
& vertices()
const
= 0;
64
};
65
}
66
67
#endif
Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)