VR-Vantage API Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Tutorials
File List
File Members
include
vrvCore
DtWindowPolygon.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2010 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtWindowPolygon.h,v $ $Revision: 1.0 $ $State: Exp $
7
******************************************************************************/
8
12
13
#ifndef DtWindowPolygon_H_
14
#define DtWindowPolygon_H_
15
16
#include <
vrvCore/vrvCore.h
>
17
#include <
vrvCore/DtUniqueID.h
>
18
#include <
vrvCore/DtWindowObject.h
>
19
20
#include <vector>
21
22
namespace
makVrv
23
{
24
class
DtDe;
25
class
DtWindowPolygonInstance;
26
30
class
DT_DLL_VRVCORE
DtWindowPolygon
:
public
DtWindowObject
31
{
32
public
:
33
35
DtWindowPolygon
(
DtDe
& de,
DtUniqueID
id
);
36
38
virtual
~
DtWindowPolygon
();
39
41
virtual
void
setVertex(
int
i,
double
x,
double
y);
42
44
virtual
void
setNumVertices(
int
numVertices);
45
47
virtual
void
setScale(
double
scale);
48
50
virtual
void
setRotation(
double
rotation);
51
53
virtual
void
setVisible(
bool
isVisible);
54
56
virtual
void
setStipplePattern(
unsigned
int
stipplePattern);
57
59
virtual
void
setColor(
float
r,
float
g,
float
b,
float
a);
60
63
virtual
void
setInstance(
DtWindowPolygonInstance
* instance);
64
66
virtual
void
setFill(
bool
fill);
67
69
virtual
DtWindowPolygonInstance
* instance();
70
71
protected
:
72
DtWindowPolygonInstance
*
myInstance
;
73
};
74
}
75
76
#endif
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)