VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
environmentalSphereRecord.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1992-2010 MAK Technologies, Inc
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #ifndef DtEnvironmentalSphereRecord_H_
10 #define DtEnvironmentalSphereRecord_H_
11 
12 
14 
15 
19 
22 {
23 public:
25 
28  const DtEnvironmentalSphereRecord& orig);
29 
31  const DtEnvironmentalSphereRecord& orig);
32 
33  virtual ~DtEnvironmentalSphereRecord();
34 
35  virtual DtEnvironmentalRecord* clone() const;
36 
37  virtual void setLocation(const DtVector& location);
38  virtual const DtVector& location() const;
39 
40  virtual void setRadius(DtFloat32 radius);
41  virtual DtFloat32 radius() const;
42 
46  virtual bool createNetworkRepresentation();
47 
49  const DtNetEnvironmentalSphereRecord* sphereNetRep() const;
50  DtNetEnvironmentalSphereRecord* sphereNetRep();
51 
53  virtual void setFromNet(const DtNetEnvironmentalRecord& buffer, int protocolVersion);
54 
55  virtual int netRepSize() const;
56 
57 protected:
58 
60  DtEnvironmentalSphereRecord* self() const;
61 
62 protected:
63 
65 };
66 
67 
68 #endif
69 
virtual int netRepSize() const
Returns the size of the network representation.
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
DtEnvironmentalSphereRecord implements the Environmental geometry record type "Sphere Record 1" See E...
Definition: environmentalSphereRecord.h:20
virtual DtEnvironmentalRecord * clone() const
Clone.
Definition: vlVector.h:224
DtEnvironmentalGeometryRecord provides a common base class for all environmental geometry (as opposed...
Definition: environmentalGeometryRecord.h:22
DtNetEnvironmentalRecord is the network structure for the environmental process PDU record header (de...
Definition: envProcP.h:34
DtEnvironmentalRecord is the base class from which all geometry and state environmental records are d...
Definition: environmentalRecord.h:22
DtVector myCentroid
Definition: environmentalSphereRecord.h:64
Bounding Sphere and Sphere 1 Geometry Records (EBV-DOC, 12.3.4.5 - 12.3.4.6)
Definition: envProcP.h:144
virtual void setFromNet(const DtNetEnvironmentalRecord &buffer, int protocolVersion)
used by the PDU class to fill in the network representation
virtual bool createNetworkRepresentation()
This doesn't need to be called explicitly.
const DtEnvironmentalGeometryRecord & operator=(const DtEnvironmentalGeometryRecord &orig)
Assignment Operator.

Document ID: Generated on Thu Sep 19 02:12:35 EDT 2024 from SVN revision 269601
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)