VR-Link API Documentation for DIS
leLocWorld.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 1992-2010 VT MAK
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: leLocWorld.h,v $ $Revision: 1.1 $
00007 ** $State: Exp $
00008 *********************************************************************/
00009 
00010 #ifndef DtLeEntityLocationWorldCoordinates_H_
00011 #define DtLeEntityLocationWorldCoordinates_H_
00012  
00016 
00017 #if DtDIS
00018 
00019 #include <vlutil/vlMachineTypes.h>
00020 #include <vlpi/disEnums.h>
00021 
00022 #include "packets/leTspiP.h"
00023 
00028 
00029 class DT_DLL_VL DtLeEntityLocationWorldCoordinates
00030 {
00031 
00032 public:
00033 
00035    DtLeEntityLocationWorldCoordinates();
00036    DtLeEntityLocationWorldCoordinates(
00037       const DtLeEntityLocationWorldCoordinates& orig);
00038 
00040    DtLeEntityLocationWorldCoordinates& operator=(
00041       const DtLeEntityLocationWorldCoordinates& orig);
00042    DtLeEntityLocationWorldCoordinates& operator=(
00043       const DtNetLeEntityLocationWorldCoordinates& orig);
00044 
00046    virtual ~DtLeEntityLocationWorldCoordinates();
00047 
00049    virtual void setReferencePoint(DtU16 value);
00050    virtual DtU16 referencePoint() const;
00051 
00053    virtual void setDeltaX(DtU16 value);
00054    virtual DtU16 deltaX() const;
00055 
00057    virtual void setDeltaY(DtU16 value);
00058    virtual DtU16 deltaY() const;
00059 
00061    virtual void setDeltaZ(DtU16 value);
00062    virtual DtU16 deltaZ() const;
00063 
00065    virtual void print() const;
00066 
00068    virtual void printDataToStream(std::ostream& stream) const;
00069 
00070 
00072    virtual void unloadNetRecord(
00073       const DtNetLeEntityLocationWorldCoordinates& record);
00074    virtual void loadNetRecord(
00075       DtNetLeEntityLocationWorldCoordinates& record) const;
00076 
00077 
00078 protected:
00079 
00081    DtU16                     myReferencePoint;
00082    DtU16                     myDeltaX;
00083    DtU16                     myDeltaY;
00084    DtU16                     myDeltaZ;
00085 
00086 };
00087 
00088 #endif
00089 #endif
00090 

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)