VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
leEntityOrientation.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: leEntityOri.h,v $ $Revision: 1.1 $
7 ** $State: Exp $
8 *********************************************************************/
9 
10 #ifndef DtLeEntityOrientation_H_
11 #define DtLeEntityOrientation_H_
12 
16 
17 #if DtDIS
18 
19 #include <vlutil/vlMachineTypes.h>
20 #include <vlpi/disEnums.h>
21 
22 #include "packets/leTspiP.h"
23 
30 
31 class DT_DLL_VL DtLeEntityOrientation
32 {
33 
34 public:
35 
37  DtLeEntityOrientation();
38  DtLeEntityOrientation(const DtLeEntityOrientation& orig);
39 
41  DtLeEntityOrientation& operator=(
42  const DtLeEntityOrientation& orig);
43  DtLeEntityOrientation& operator=(
44  const DtNetLeEntityOrientation& orig);
45 
47  virtual ~DtLeEntityOrientation();
48 
50  virtual void setPsi(DtU16 value);
51  virtual DtU16 psi() const;
52 
54  virtual void setTheta(DtU16 value);
55  virtual DtU16 theta() const;
56 
58  virtual void setPhi(DtU16 value);
59  virtual DtU16 phi() const;
60 
62  virtual void print() const;
63 
65  virtual void printDataToStream(std::ostream& stream) const;
66 
68  virtual void unloadNetRecord(
69  const DtNetLeEntityOrientation& record);
70  virtual void loadNetRecord(
71  DtNetLeEntityOrientation& record) const;
72 
74  virtual void unloadNetRecord16(
75  const DtNetLeEntityOrientation16& record);
76  virtual void loadNetRecord16(
77  DtNetLeEntityOrientation16& record) const;
78 
79 
80 protected:
81 
83  DtU16 myPsi;
84  DtU16 myTheta;
85  DtU16 myPhi;
86 
87 };
88 
89 #endif
90 #endif
91 
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
unsigned short DtU16
A 16 bit unsigned integer value.
Definition: vlMachineTypes.h:140
Contains the standard DIS enumerations.
This file contains typedefs for machine dependant types.
This file declares network classes for the LeEntity objects.

Document ID: Generated on Mon Apr 25 03:39:01 EDT 2022 from SVN revision 242502
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)