VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
15 
19 
20 #include <vl/environmentalPointRecord.h>
22 
23 namespace vrvControlToolkit
24 {
31  {
32  public:
52  DtText3DObject(DtExerciseConn* exConn, unsigned id, const DtString& text,
53  const DtVdc3DAttachPoint& attachment,
54  const DtVector& offset = DtVector::zero(),
55  DtVdcColor color = DtVdcColor::DtVdcWhite, bool flashing = false);
56 
57  // \brief Virtual destructor
58  virtual ~DtText3DObject();
59 
60  private:
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 DtVector32& offset() const;
113 
119  virtual void setOffset(const DtVector32& 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:
166  DtVector32 myOffset;
170 
171  DtEnvironmentalPointRecord myPointRecord;
173  };
174 
175 }
DtString myText
Definition: DtText3DObject.h:169
DtVector32 myOffset
Definition: DtText3DObject.h:166
Dt3DGraphicalObjectStateRecord myStateRecord
Definition: DtText3DObject.h:172
DtVdcColor myColor
Definition: DtText3DObject.h:167
Contains the Dt3DGraphicalObjectStateRecord class declaration.
A 3D Text Stealth Draw Control Object.
Definition: DtText3DObject.h:30
static const DtVdcColor DtVdcWhite
Constant for the color White.
Definition: DtVdcColor.h:186
bool myFlashing
Definition: DtText3DObject.h:168
DtVdcColor represents colors for Draw Control Objects.
Definition: DtVdcColor.h:21
DtEnvironmentalPointRecord myPointRecord
Definition: DtText3DObject.h:171
#define DT_DLL_VRVDRAWCONTROL
Definition: vrvDrawControl.h:15
DtVdc3DAttachPoint myAttachment
Definition: DtText3DObject.h:165
Dt3DGraphicalObjectStateRecord implements the 3d graphical object state record for the remote graphic...
Definition: 3dGraphicalObjectStateRecord.h:42
DtVdc3DAttachPoint.h contains the class definition for DtVdc3DAttachPoint, which functions as a discr...
voidpf uLong offset
Definition: ioapi.h:42
Definition: Dt3DPositionedObject.h:20
DtVdcColor.h contains the class definition for DtVdcColor, which is used to represent colors for all ...
DtVdc3DAttachPoint represents the 3 methods for attaching a 3D draw control object in 3-space...
Definition: DtVdc3DAttachPoint.h:33

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)