VR-Forces 4.3 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
vrvDrawControl
DtText3DObject.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2014 MaK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
6
#pragma once
7
11
12
#include <vlutil/vlString.h>
13
14
#include <
vrvDrawControl/vrvDrawControl.h
>
15
16
#include <
vrvDrawControl/Dt3DPositionedObject.h
>
17
#include <
vrvDrawControl/DtVdc3DAttachPoint.h
>
18
#include <
vrvDrawControl/DtVdcColor.h
>
19
20
#include <vl/environmentalPointRecord.h>
21
#include <vrfExtObjects/3dGraphicalObjectStateRecord.h>
22
23
namespace
vrvControlToolkit
24
{
30
class
DT_DLL_VRVDRAWCONTROL
DtText3DObject
:
public
Dt3DPositionedObject
31
{
32
public
:
50
DtText3DObject
(DtExerciseConn* exConn,
unsigned
id
,
const
DtString
& text,
51
const
DtVdc3DAttachPoint
& attachment,
52
const
DtVector
& enuOffset = DtVector::zero(),
53
DtVdcColor
color =
DtVdcColor::DtVdcWhite
,
bool
flashing =
false
);
54
55
// \brief Virtual destructor
56
virtual
~
DtText3DObject
();
57
58
private
:
63
DtText3DObject
();
64
68
DtText3DObject
(
const
DtText3DObject
& orig);
69
73
DtText3DObject
& operator=(
const
DtText3DObject
& rhs);
74
75
public
:
81
virtual
const
DtString
& text()
const
;
82
88
virtual
void
setText(
const
DtString
& text);
89
96
virtual
const
DtVdc3DAttachPoint
& attachment()
const
;
97
102
virtual
void
setAttachment(
const
DtVdc3DAttachPoint
& attachment);
103
110
virtual
const
DtVector
& offset()
const
;
111
117
virtual
void
setOffset(
const
DtVector
& off);
118
124
virtual
const
DtVdcColor
& color()
const
;
125
131
virtual
void
setColor (
const
DtVdcColor
& color);
132
138
virtual
bool
flashing()
const
;
139
145
virtual
void
setFlashing(
bool
flashing);
146
147
virtual
void
setRemoteGraphicSet(
const
std::string& setName);
148
157
virtual
void
update();
158
159
protected
:
160
void
initRecords();
161
162
protected
:
163
DtVdc3DAttachPoint
myAttachment
;
164
DtVector
myOffset
;
165
DtVdcColor
myColor
;
166
bool
myFlashing
;
167
DtString
myText
;
168
169
DtEnvironmentalPointRecord
myPointRecord
;
170
Dt3DGraphicalObjectStateRecord
myStateRecord
;
171
};
172
173
}
Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)