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:
50  DtText3DObject(DtExerciseConn* exConn, unsigned id, const DtString& text,
51  const DtVdc3DAttachPoint& attachment,
52  const DtVector& offset = DtVector::zero(),
53  DtVdcColor color = DtVdcColor::DtVdcWhite, bool flashing = false);
54 
55  // \brief Virtual destructor
56  virtual ~DtText3DObject();
57 
58  private:
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 DtVector32& offset() const;
111 
117  virtual void setOffset(const DtVector32& 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:
164  DtVector32 myOffset;
168 
169  DtEnvironmentalPointRecord myPointRecord;
171  };
172 
173 }
DtString myText
Definition: DtText3DObject.h:167
DtVector32 myOffset
Definition: DtText3DObject.h:164
Dt3DGraphicalObjectStateRecord myStateRecord
Definition: DtText3DObject.h:170
DtVdcColor myColor
Definition: DtText3DObject.h:165
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:166
DtVdcColor represents colors for Draw Control Objects.
Definition: DtVdcColor.h:21
DtEnvironmentalPointRecord myPointRecord
Definition: DtText3DObject.h:169
#define DT_DLL_VRVDRAWCONTROL
Definition: vrvDrawControl.h:15
DtVdc3DAttachPoint myAttachment
Definition: DtText3DObject.h:163
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 Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)