VR-Forces 4.1 Class Documentation
DtEllipsoidCuboidBase.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2006 MaK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtEllipsoidCuboidBase.h,v $ $Revision: 1.4 $ $State: Exp $
7 ******************************************************************************/
8 #pragma once
9 
16 
17 #include <vlutil/vlString.h>
18 #include <matrix/vlTaitBryan.h>
19 
21 
24 
26 
28 
29 namespace vrvControlToolkit
30 {
31 
43  {
44  protected:
67  DtEllipsoidCuboidBase(DtExerciseConn* exConn, unsigned id, const DtString& objName,
68  const DtVdc3DAttachPoint& attachment,const DtVector& dimensions,
69  const DtVector& enuOffset = DtVector::zero(),
70  const DtTaitBryan& rotation = zeros,
71  DtVdcColor color = DtVdcColor::DtVdcWhite, bool flashing = false);
72 
73  // \brief Virtual destructor
74  virtual ~DtEllipsoidCuboidBase();
75 
76  private:
82 
87 
91  DtEllipsoidCuboidBase& operator=(const DtEllipsoidCuboidBase& rhs);
92 
93  public:
94 
101  virtual const DtVdc3DAttachPoint& attachment() const;
102 
107  virtual void setAttachment(const DtVdc3DAttachPoint& attachment);
108 
115  virtual const DtVector& offset() const;
116 
121  virtual void setOffset(const DtVector& off);
127  virtual const DtTaitBryan& rotation() const;
128 
134  virtual void setRotation(const DtTaitBryan& rotation);
135 
141  virtual const DtVdcColor& color() const;
142 
148  virtual void setColor (const DtVdcColor& color);
149 
155  virtual bool flashing() const;
156 
162  virtual void setFlashing(bool flashing);
163 
164  virtual void setRemoteGraphicSet(const std::string& setName);
165 
166 
167  private:
168  void initRecords();
169  // Initializer for DtTaitBryan
170  static DtTaitBryan zeros;
171 
172  protected:
177  DtTaitBryan myRotation;
180  };
181 
182 }

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)