VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
leEntityLocationWorldCoordinates.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: leLocWorld.h,v $ $Revision: 1.1 $
7 ** $State: Exp $
8 *********************************************************************/
9 
10 #ifndef DtLeEntityLocationWorldCoordinates_H_
11 #define DtLeEntityLocationWorldCoordinates_H_
12 
16 
17 #if DtDIS
18 
19 #include <vlutil/vlMachineTypes.h>
20 #include <vlpi/disEnums.h>
21 
22 #include "packets/leTspiP.h"
23 
28 
29 class DT_DLL_VL DtLeEntityLocationWorldCoordinates
30 {
31 
32 public:
33 
35  DtLeEntityLocationWorldCoordinates();
36  DtLeEntityLocationWorldCoordinates(
37  const DtLeEntityLocationWorldCoordinates& orig);
38 
40  DtLeEntityLocationWorldCoordinates& operator=(
41  const DtLeEntityLocationWorldCoordinates& orig);
42  DtLeEntityLocationWorldCoordinates& operator=(
43  const DtNetLeEntityLocationWorldCoordinates& orig);
44 
46  virtual ~DtLeEntityLocationWorldCoordinates();
47 
49  virtual void setReferencePoint(DtU16 value);
50  virtual DtU16 referencePoint() const;
51 
53  virtual void setDeltaX(DtU16 value);
54  virtual DtU16 deltaX() const;
55 
57  virtual void setDeltaY(DtU16 value);
58  virtual DtU16 deltaY() const;
59 
61  virtual void setDeltaZ(DtU16 value);
62  virtual DtU16 deltaZ() const;
63 
65  virtual void print() const;
66 
68  virtual void printDataToStream(std::ostream& stream) const;
69 
70 
72  virtual void unloadNetRecord(
73  const DtNetLeEntityLocationWorldCoordinates& record);
74  virtual void loadNetRecord(
75  DtNetLeEntityLocationWorldCoordinates& record) const;
76 
77 
78 protected:
79 
81  DtU16 myReferencePoint;
82  DtU16 myDeltaX;
83  DtU16 myDeltaY;
84  DtU16 myDeltaZ;
85 
86 };
87 
88 #endif
89 #endif
90 
#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)