VR-Forces 4.1 Class Documentation
artPartSR.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2001 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: artPartSR.h,v $ $Revision: 1.7 $ $State: Exp $
7 *******************************************************************************/
8 
11 
14 
15 #ifndef artPartSR_H_
16 #define artPartSR_H_
17 
19 #include "vrfobjcore/simObjSR.h"
20 
30 {
31 public:
33  const DtObjectType& objectType,
34  const DtString& rwName = DtString::nullString(),
35  DtReaderWriterRegistry* parentRegistry = 0);
36 
37 protected:
39  const DtString& rwName = DtString::nullString(),
40  DtReaderWriterRegistry* parentRegistry = 0);
41 
42 public:
43 
46 
48 
50  const DtString& rwName = DtString::nullString(),
51  DtReaderWriterRegistry* parentRegistry = 0) const;
52 
54  virtual DtString type() const;
55 
59  enum DtJointAxis {DtYAW, DtPITCH, DtROLL};
61 
65  DtReal angle() const;
66 
67  DtReal turnRate() const;
68  void setTurnRate(DtReal turnRate);
69 
70  void setAngle(DtReal angle);
71 
76  void setBodyPartType(const DtArtPartType & type);
77  DtArtPartType bodyPartType();
78 
79  virtual DtReal artPartPosition() const;
80  virtual void setArtPartPosition(DtReal position);
81 
82  virtual DtReal artPartPositionRate() const;
83  virtual void setArtPartPositionRate(DtReal rate);
84 
85  virtual DtReal extension() const;
86  virtual void setExtension(DtReal extension);
87 
88  virtual DtReal extensionRate() const;
89  virtual void setExtensionRate(DtReal rate);
90 
91 protected:
92 
95 
96  DtReal myExtension;
98 };
99 
100 #endif
101 
102 

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)