VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtCuboidObject.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2014 MaK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 #pragma once
6 
10 
11 #include <vlutil/vlString.h>
12 
14 
16 
17 #include <vl/environmentalRectangularVolumeRecord.h>
18 
19 namespace vrvControlToolkit
20 {
28  {
29  public:
54  DtCuboidObject(DtExerciseConn* exConn, unsigned id, const DtVdc3DAttachPoint& attachment,
55  double length, double width, double height,
56  const DtVector& enuOffset = DtVector::zero(),
57  const DtTaitBryan& rotation = zeros,
58  DtVdcColor color = DtVdcColor::DtVdcWhite, bool flashing = false);
59 
60  // \brief Virtual destructor
61  virtual ~DtCuboidObject();
62 
68  virtual double length() const;
69 
75  virtual void setLength(double length);
76 
82  virtual double width() const;
83 
89  virtual void setWidth(double width);
90 
96  virtual double height() const;
97 
103  virtual void setHeight(double height);
104 
105  virtual void setAttachment(const DtVdc3DAttachPoint& attachment);
106  virtual void setRotation(const DtTaitBryan& rotation);
107 
108  virtual void update();
109 
110  private:
115  DtCuboidObject();
116 
120  DtCuboidObject(const DtCuboidObject& orig);
121 
125  DtCuboidObject& operator=(const DtCuboidObject& rhs);
126 
127  void initCuboidRecords();
128 
129  protected:
130  DtEnvironmentalRectangularVolumeRecord myCuboidRecord;
131 
132  private:
133  // Initializer for DtTaitBryan
134  static DtTaitBryan zeros;
135 
136  };
137 }

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)