VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ifSetThresholds.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2003 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: ifThresholds.h,v $ $Revision: 1.5 $ $State: Exp $
7 *******************************************************************************/
8 
11 
17 
18 
19 #ifndef DtIfSetThresholds_H_
20 #define DtIfSetThresholds_H_
21 
22 #include <vlutil/vlString.h>
24 #include <vl/hostStructs.h>
25 
26 
30 {
31  DtNetFloat64 myTranslation;
32  DtNetFloat64 myRotation;
33  DtNetFloat64 myAggDimension;
34  DtNetBoolean myTranslationSpecified;
35  DtNetBoolean myRotationSpecified;
36  DtNetBoolean myAggDimensionSpecified;
37  DtNetBoolean myPadding1;
38  DtNetU32 myPadding2;
39 };
40 
49 #include "vrfmsgs/vrfmsgsDefines.h"
51 {
52 
53 public:
56 
59 
61  const DtIfSetThresholds & operator=(const DtIfSetThresholds & orig);
62 
63  virtual ~DtIfSetThresholds();
64 
66  virtual int type() const;
67 
69  virtual DtSimInterfaceContent * clone() const;
70 
72  virtual void setRotationThreshold(DtReal thresh);
74  virtual double rotationThreshold() const;
75 
77  virtual void setTranslationThreshold(DtReal thresh);
79  virtual double translationThreshold() const;
80 
84  virtual void setAggDimensionThreshold(DtReal thresh);
85  virtual double aggDimensionThreshold() const;
86 
88  virtual bool isRotationThresholdSpecified();
90  virtual bool isTranslationThresholdSpecified();
92  virtual bool isAggDimensionThresholdSpecified();
93 
95  virtual void printDataToString(DtString& str);
96 
98  virtual int netRepSize() const;
99 
101  virtual bool setFromNet(const char* contentBuffer,
102  unsigned contentSize);
103 
105  virtual bool setToNet();
106 
108  static DtSimInterfaceContent* creator();
109 
110 protected:
111 
114  DtReal myRotation;
118 };
119 
120 #endif

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)