VR-Forces 4.10 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
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Definition: simInterfaceContent.h:78
DtNetFloat64 myAggDimension
8 bytes
Definition: ifSetThresholds.h:33
virtual int netRepSize() const
Definition: simInterfaceContent.h:76
#define DT_DLL_vrfmsgs
This file is used to determine how to build.
Definition: vrfmsgsDefines.h:28
DtNetU32 myPadding2
1 byte
Definition: ifSetThresholds.h:38
virtual int type() const =0
DtNetFloat64 myTranslation
Definition: ifSetThresholds.h:31
DtReal myAggDimension
Definition: ifSetThresholds.h:116
DtReal myRotation
Definition: ifSetThresholds.h:114
bool myRotationSpecified
Definition: ifSetThresholds.h:115
File: ifThresholds.h.
Definition: ifSetThresholds.h:29
virtual void printDataToString(DtString &str)
DtNetBoolean myPadding1
1 byte
Definition: ifSetThresholds.h:37
DtNetFloat64 myRotation
8 bytes
Definition: ifSetThresholds.h:32
Total: 32 bytes.
Definition: ifSetThresholds.h:50
const DtSimInterfaceContent & operator=(const DtSimInterfaceContent &orig)
DtNetBoolean myAggDimensionSpecified
1 byte
Definition: ifSetThresholds.h:36
DtNetBoolean myTranslationSpecified
8 bytes
Definition: ifSetThresholds.h:34
DtNetBoolean myRotationSpecified
1 byte
Definition: ifSetThresholds.h:35
virtual bool setToNet()
Definition: simInterfaceContent.h:83
Definition: simInterfaceContent.h:45
bool myTranslationSpecified
Definition: ifSetThresholds.h:113
virtual DtSimInterfaceContent * clone() const =0
DtReal myTranslation
Definition: ifSetThresholds.h:112
bool myAggDimensionSpecified
Definition: ifSetThresholds.h:117

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)