VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 }

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)