VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvDrawControl
DtEllipseRectangleBase.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2006 MaK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtEllipseRectangleBase.h,v $ $Revision: 1.3 $ $State: Exp $
7
******************************************************************************/
8
#pragma once
9
15
16
#include <vlutil/vlString.h>
17
18
#include <
vrvDrawControl/vrvDrawControl.h
>
19
20
#include <
vrvDrawControl/Dt2DPositionedObject.h
>
21
#include <
vrvDrawControl/DtVdcVector2D.h
>
22
23
#include <
vrvDrawControl/DtVdcColor.h
>
24
#include <
vrfExtObjects/2dGraphicalObjectStateRecord.h
>
25
26
namespace
vrvControlToolkit
27
{
28
40
class
DT_DLL_VRVDRAWCONTROL
DtEllipseRectangleBase
:
public
Dt2DPositionedObject
41
{
42
protected
:
71
DtEllipseRectangleBase
(DtExerciseConn* exConn,
unsigned
id
,
const
DtString
& objName,
72
const
DtVdcVector2D
& position,
const
DtVdcVector2D
& size,
73
double
rotation = 0.0,
double
scale = 1.0,
74
DtVdcColor
color =
DtVdcColor::DtVdcWhite
,
bool
fill =
false
,
75
unsigned
pattern = 0xffffffff,
bool
flashing =
false
);
76
/*
81
DtEllipseRectangleBase( const DtEllipseRectangleBase& orig );
82
84
DtEllipseRectangleBase& operator=( const DtEllipseRectangleBase& rhs );
85
*/
86
// \brief Virtual destructor
87
virtual
~
DtEllipseRectangleBase
();
88
89
private
:
94
DtEllipseRectangleBase
();
95
96
public
:
102
virtual
DtVdcVector2D
position()
const
;
103
109
virtual
void
setPosition(
const
DtVdcVector2D
& position );
110
116
virtual
DtVdcVector2D
size()
const
;
117
123
virtual
void
setSize(
const
DtVdcVector2D
& size );
124
130
virtual
double
rotation()
const
;
131
137
virtual
void
setRotation(
double
rotation );
138
144
virtual
const
DtVdcColor
& color()
const
;
145
151
virtual
void
setColor (
const
DtVdcColor
& color );
152
159
virtual
bool
fill()
const
;
160
167
virtual
void
setFill(
bool
fill );
168
174
virtual
unsigned
pattern()
const
;
175
183
virtual
void
setPattern(
unsigned
pattern );
184
190
virtual
bool
flashing()
const
;
191
197
virtual
void
setFlashing(
bool
flashing );
198
204
virtual
double
scale()
const
;
205
211
virtual
void
setScale(
double
scale );
212
213
virtual
void
setRemoteGraphicSet(
const
std::string& setName);
214
223
virtual
void
update();
224
225
protected
:
226
DtVdcVector2D
myPosition
;
227
DtVdcVector2D
mySize
;
228
DtVdcColor
myColor
;
229
unsigned
myPattern
;
230
bool
myFill
;
231
double
myRotation
;
232
bool
myFlashing
;
233
double
myScale
;
234
235
Dt2DGraphicalObjectStateRecord
*
myStateRecord
;
236
};
237
238
}
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)