VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvDrawControl
DtText3DObject.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2006 MaK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtText3DObject.h,v $ $Revision: 1.3 $ $State: Exp $
7
******************************************************************************/
8
#pragma once
9
13
14
#include <vlutil/vlString.h>
15
16
#include <
vrvDrawControl/vrvDrawControl.h
>
17
18
#include <
vrvDrawControl/Dt3DPositionedObject.h
>
19
#include <
vrvDrawControl/DtVdc3DAttachPoint.h
>
20
#include <
vrvDrawControl/DtVdcColor.h
>
21
22
#include <vl/envPoint.h>
23
#include <
vrfExtObjects/3dGraphicalObjectStateRecord.h
>
24
25
namespace
vrvControlToolkit
26
{
32
class
DT_DLL_VRVDRAWCONTROL
DtText3DObject
:
public
Dt3DPositionedObject
33
{
34
public
:
52
DtText3DObject
(DtExerciseConn* exConn,
unsigned
id
,
const
DtString
& text,
53
const
DtVdc3DAttachPoint
& attachment,
54
const
DtVector
& enuOffset = DtVector::zero(),
55
DtVdcColor
color =
DtVdcColor::DtVdcWhite
,
bool
flashing =
false
);
56
57
// \brief Virtual destructor
58
virtual
~
DtText3DObject
();
59
60
private
:
65
DtText3DObject
();
66
70
DtText3DObject
(
const
DtText3DObject
& orig);
71
75
DtText3DObject
& operator=(
const
DtText3DObject
& rhs);
76
77
public
:
83
virtual
const
DtString
& text()
const
;
84
90
virtual
void
setText(
const
DtString
& text);
91
98
virtual
const
DtVdc3DAttachPoint
& attachment()
const
;
99
104
virtual
void
setAttachment(
const
DtVdc3DAttachPoint
& attachment);
105
112
virtual
const
DtVector
& offset()
const
;
113
119
virtual
void
setOffset(
const
DtVector
& off);
120
126
virtual
const
DtVdcColor
& color()
const
;
127
133
virtual
void
setColor (
const
DtVdcColor
& color);
134
140
virtual
bool
flashing()
const
;
141
147
virtual
void
setFlashing(
bool
flashing);
148
149
virtual
void
setRemoteGraphicSet(
const
std::string& setName);
150
159
virtual
void
update();
160
161
protected
:
162
void
initRecords();
163
164
protected
:
165
DtVdc3DAttachPoint
myAttachment
;
166
DtVector
myOffset
;
167
DtVdcColor
myColor
;
168
bool
myFlashing
;
169
DtString
myText
;
170
171
DtEnvironmentalPointRecord
myPointRecord
;
172
Dt3DGraphicalObjectStateRecord
myStateRecord
;
173
};
174
175
}
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)