VR-Link API Documentation for HLA 1.3
leEntityOri.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 1992-2010 VT MAK
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: leEntityOri.h,v $ $Revision: 1.1 $
00007 ** $State: Exp $
00008 *********************************************************************/
00009 
00010 #ifndef DtLeEntityOrientation_H_
00011 #define DtLeEntityOrientation_H_
00012  
00016 
00017 #if DtDIS
00018 
00019 #include <vlutil/vlMachineTypes.h>
00020 #include <vlpi/disEnums.h>
00021 
00022 #include "packets/leTspiP.h"
00023 
00030 
00031 class DT_DLL_VL DtLeEntityOrientation
00032 {
00033 
00034 public:
00035 
00037    DtLeEntityOrientation();
00038    DtLeEntityOrientation(const DtLeEntityOrientation& orig);
00039 
00041    DtLeEntityOrientation& operator=(
00042       const DtLeEntityOrientation& orig);
00043    DtLeEntityOrientation& operator=(
00044       const DtNetLeEntityOrientation& orig);
00045 
00047    virtual ~DtLeEntityOrientation();
00048 
00050    virtual void setPsi(DtU16 value);
00051    virtual DtU16 psi() const;
00052 
00054    virtual void setTheta(DtU16 value);
00055    virtual DtU16 theta() const;
00056 
00058    virtual void setPhi(DtU16 value);
00059    virtual DtU16 phi() const;
00060 
00062    virtual void print() const;
00063 
00065    virtual void printDataToStream(std::ostream& stream) const;
00066 
00068    virtual void unloadNetRecord(
00069       const DtNetLeEntityOrientation& record);
00070    virtual void loadNetRecord(
00071       DtNetLeEntityOrientation& record) const;
00072 
00074    virtual void unloadNetRecord16(
00075       const DtNetLeEntityOrientation16& record);
00076    virtual void loadNetRecord16(
00077       DtNetLeEntityOrientation16& record) const;
00078 
00079 
00080 protected:
00081 
00083    DtU16                     myPsi;
00084    DtU16                     myTheta;
00085    DtU16                     myPhi;
00086 
00087 };
00088 
00089 #endif
00090 #endif
00091 

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)