VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
DtEnvironmentalSphereRecord Class Reference

DtEnvironmentalSphereRecord implements the Environmental geometry record type "Sphere Record 1" See Enumerated Bit Values document, section 12.3.4.5. More...

+ Inheritance diagram for DtEnvironmentalSphereRecord:
+ Collaboration diagram for DtEnvironmentalSphereRecord:

Public Member Functions

 DtEnvironmentalSphereRecord ()
 DtEnvironmentalSphereRecord (const DtEnvironmentalSphereRecord &orig)
 Copy constructor.
const DtEnvironmentalSphereRecordoperator= (const DtEnvironmentalSphereRecord &orig)
virtual ~DtEnvironmentalSphereRecord ()
virtual DtEnvironmentalRecordclone () const
 Clone.
virtual void setLocation (const DtVector &location)
virtual const DtVectorlocation () const
virtual void setRadius (DtFloat32 radius)
virtual DtFloat32 radius () const
virtual bool createNetworkRepresentation ()
 This doesn't need to be called explicitly.
const
DtNetEnvironmentalSphereRecord
sphereNetRep () const
 returns the network representation of the environmental record
DtNetEnvironmentalSphereRecordsphereNetRep ()
virtual void setFromNet (const DtNetEnvironmentalRecord &buffer, int protocolVersion)
 used by the PDU class to fill in the network representation
virtual int netRepSize () const
 Returns the size of the network representation.
- Public Member Functions inherited from DtEnvironmentalGeometryRecord
 DtEnvironmentalGeometryRecord ()
 Constructor.
 DtEnvironmentalGeometryRecord (const DtEnvironmentalGeometryRecord &orig)
 Copy constructor.
const
DtEnvironmentalGeometryRecord
operator= (const DtEnvironmentalGeometryRecord &orig)
 Assignment Operator.
virtual ~DtEnvironmentalGeometryRecord ()
 Destructor.
virtual void setHasState (bool hasState)
 Set/get a flag to indicate whether or not a state record is associated with this geometry record.
virtual bool hasState () const
- Public Member Functions inherited from DtEnvironmentalRecord
 DtEnvironmentalRecord ()
 Constructor.
 DtEnvironmentalRecord (const DtEnvironmentalRecord &orig)
 Copy constructor.
const DtEnvironmentalRecordoperator= (const DtEnvironmentalRecord &orig)
 Assignment operator.
virtual ~DtEnvironmentalRecord ()
 Destructor.
virtual void setType (DtU32 type)
virtual DtU32 type () const
virtual void setLength (DtU16 length)
virtual DtU16 length () const
virtual void setIndex (DtU8 index)
virtual DtU8 index () const
const DtNetEnvironmentalRecordnetRep () const
 returns the network representation of the environmental record
DtNetEnvironmentalRecordnetRep ()

Protected Member Functions

DtEnvironmentalSphereRecordself () const
 Casts the 'this' pointer for changing elements in a const function.

Protected Attributes

DtVector myCentroid
- Protected Attributes inherited from DtEnvironmentalGeometryRecord
bool myHasState
- Protected Attributes inherited from DtEnvironmentalRecord
DtNetEnvironmentalRecordmyNetRep

Detailed Description

DtEnvironmentalSphereRecord implements the Environmental geometry record type "Sphere Record 1" See Enumerated Bit Values document, section 12.3.4.5.

Constructor & Destructor Documentation

DtEnvironmentalSphereRecord::DtEnvironmentalSphereRecord ( )
DtEnvironmentalSphereRecord::DtEnvironmentalSphereRecord ( const DtEnvironmentalSphereRecord orig)

Copy constructor.

virtual DtEnvironmentalSphereRecord::~DtEnvironmentalSphereRecord ( )
virtual

Member Function Documentation

virtual DtEnvironmentalRecord* DtEnvironmentalSphereRecord::clone ( ) const
virtual

Clone.

Reimplemented from DtEnvironmentalGeometryRecord.

Reimplemented in DtEnvironmentalBoundingSphereRecord.

virtual bool DtEnvironmentalSphereRecord::createNetworkRepresentation ( )
virtual

This doesn't need to be called explicitly.

If any routine that needs the repository finds that it hasn't been created yet, it calls this method.

Reimplemented from DtEnvironmentalRecord.

Reimplemented in DtEnvironmentalBoundingSphereRecord.

virtual const DtVector& DtEnvironmentalSphereRecord::location ( ) const
virtual
virtual int DtEnvironmentalSphereRecord::netRepSize ( ) const
virtual

Returns the size of the network representation.

Reimplemented from DtEnvironmentalRecord.

const DtEnvironmentalSphereRecord& DtEnvironmentalSphereRecord::operator= ( const DtEnvironmentalSphereRecord orig)
virtual DtFloat32 DtEnvironmentalSphereRecord::radius ( ) const
virtual
DtEnvironmentalSphereRecord* DtEnvironmentalSphereRecord::self ( ) const
protected

Casts the 'this' pointer for changing elements in a const function.

Reimplemented from DtEnvironmentalRecord.

virtual void DtEnvironmentalSphereRecord::setFromNet ( const DtNetEnvironmentalRecord buffer,
int  protocolVersion 
)
virtual

used by the PDU class to fill in the network representation

Reimplemented from DtEnvironmentalRecord.

virtual void DtEnvironmentalSphereRecord::setLocation ( const DtVector location)
virtual
virtual void DtEnvironmentalSphereRecord::setRadius ( DtFloat32  radius)
virtual
const DtNetEnvironmentalSphereRecord* DtEnvironmentalSphereRecord::sphereNetRep ( ) const

returns the network representation of the environmental record

DtNetEnvironmentalSphereRecord* DtEnvironmentalSphereRecord::sphereNetRep ( )

Member Data Documentation

DtVector DtEnvironmentalSphereRecord::myCentroid
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Mon Jun 22 21:18:40 EDT 2020 from SVN revision 213785
Copyright © 2005-2018 MAK Technologies. All Rights Reserved (www.mak.com)