VR-Link API Documentation for DIS
Public Member Functions | Protected Member Functions | Protected Attributes
DtEnvironmentalDRSphereRecord Class Reference

DtEnvironmentalDRSphereRecord implements the Environmental geometry record type "Sphere Record 2" See Enumerated Bit Values document, section 12.3.4.7. More...

+ Inheritance diagram for DtEnvironmentalDRSphereRecord:
+ Collaboration diagram for DtEnvironmentalDRSphereRecord:

List of all members.

Public Member Functions

 DtEnvironmentalDRSphereRecord ()
 Constructor.
 DtEnvironmentalDRSphereRecord (const DtEnvironmentalDRSphereRecord &orig)
 Copy Constructor.
const
DtEnvironmentalDRSphereRecord
operator= (const DtEnvironmentalDRSphereRecord &orig)
 Assignment Operator.
virtual ~DtEnvironmentalDRSphereRecord ()
 Destructor.
virtual DtEnvironmentalRecordclone () const
 Clone.
virtual void setLocation (const DtVector &location)
 Set/ get location.
virtual const DtVectorlocation () const
virtual void setRadius (DtFloat32 radius)
 Set/ get radius.
virtual DtFloat32 radius () const
virtual void setRadialSpeed (DtFloat32 radialSpeed)
 Set/ get radial speed.
virtual DtFloat32 radialSpeed () const
virtual void setVelocity (const DtVector &velocity)
 Set get velocity.
virtual const DtVectorvelocity () const
virtual void setAngularVelocity (const DtVector &angularVelocity)
 Set get angular velocity.
virtual const DtVectorangularVelocity () const
virtual bool createNetworkRepresentation ()
 This doesn't need to be called explicitly.
const
DtNetEnvironmentalDRSphereRecord
drSphereNetRep () const
 returns the network representation of the environmental record
DtNetEnvironmentalDRSphereRecorddrSphereNetRep ()
virtual void setFromNet (const DtNetEnvironmentalRecord &buffer)
 used by the PDU class to fill in the network representation
virtual int netRepSize () const
 returns the size of the net representation, in bytes.

Protected Member Functions

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

Protected Attributes

DtVector myCentroid
DtVector myVelocity
DtVector myAngularVelocity

Detailed Description

DtEnvironmentalDRSphereRecord implements the Environmental geometry record type "Sphere Record 2" See Enumerated Bit Values document, section 12.3.4.7.


Constructor & Destructor Documentation

Constructor.

Copy Constructor.

Destructor.


Member Function Documentation

virtual const DtVector& DtEnvironmentalDRSphereRecord::angularVelocity ( ) const [virtual]

Clone.

Reimplemented from DtEnvironmentalGeometryRecord.

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.

returns the network representation of the environmental record

virtual const DtVector& DtEnvironmentalDRSphereRecord::location ( ) const [virtual]
virtual int DtEnvironmentalDRSphereRecord::netRepSize ( ) const [virtual]

returns the size of the net representation, in bytes.

Reimplemented from DtEnvironmentalRecord.

const DtEnvironmentalDRSphereRecord& DtEnvironmentalDRSphereRecord::operator= ( const DtEnvironmentalDRSphereRecord orig)

Assignment Operator.

virtual DtFloat32 DtEnvironmentalDRSphereRecord::radius ( ) const [virtual]

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

Reimplemented from DtEnvironmentalRecord.

virtual void DtEnvironmentalDRSphereRecord::setAngularVelocity ( const DtVector angularVelocity) [virtual]

Set get angular velocity.

virtual void DtEnvironmentalDRSphereRecord::setFromNet ( const DtNetEnvironmentalRecord buffer) [virtual]

used by the PDU class to fill in the network representation

Reimplemented from DtEnvironmentalRecord.

virtual void DtEnvironmentalDRSphereRecord::setLocation ( const DtVector location) [virtual]

Set/ get location.

virtual void DtEnvironmentalDRSphereRecord::setRadialSpeed ( DtFloat32  radialSpeed) [virtual]

Set/ get radial speed.

virtual void DtEnvironmentalDRSphereRecord::setRadius ( DtFloat32  radius) [virtual]

Set/ get radius.

virtual void DtEnvironmentalDRSphereRecord::setVelocity ( const DtVector velocity) [virtual]

Set get velocity.

virtual const DtVector& DtEnvironmentalDRSphereRecord::velocity ( ) const [virtual]

Member Data Documentation


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

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)