VR-Forces 4.1 Class Documentation
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 
17 
21 
22 #include <vl/envPoint.h>
24 
25 namespace vrvControlToolkit
26 {
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:
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:
170 
171  DtEnvironmentalPointRecord myPointRecord;
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)