VR-Link API Documentation for HLA 1516
 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
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:

Public Member Functions

 DtEnvironmentalDRSphereRecord ()
 Constructor. More...
 
 DtEnvironmentalDRSphereRecord (const DtEnvironmentalDRSphereRecord &orig)
 Copy constructor. More...
 
const
DtEnvironmentalDRSphereRecord
operator= (const DtEnvironmentalDRSphereRecord &orig)
 Assignment Operator. More...
 
virtual ~DtEnvironmentalDRSphereRecord ()
 Destructor. More...
 
virtual DtEnvironmentalRecordclone () const
 Clone. More...
 
virtual void setLocation (const DtVector &location)
 Set/ get location. More...
 
virtual const DtVectorlocation () const
 
virtual void setRadius (DtFloat32 radius)
 Set/ get radius. More...
 
virtual DtFloat32 radius () const
 
virtual void setRadialSpeed (DtFloat32 radialSpeed)
 Set/ get radial speed. More...
 
virtual DtFloat32 radialSpeed () const
 
virtual void setVelocity (const DtVector &velocity)
 Set get velocity. More...
 
virtual const DtVectorvelocity () const
 
virtual void setAngularVelocity (const DtVector &angularVelocity)
 Set get angular velocity. More...
 
virtual const DtVectorangularVelocity () const
 
virtual bool createNetworkRepresentation ()
 This doesn't need to be called explicitly. More...
 
const
DtNetEnvironmentalDRSphereRecord
drSphereNetRep () const
 returns the network representation of the environmental record More...
 
DtNetEnvironmentalDRSphereRecorddrSphereNetRep ()
 
virtual void setFromNet (const DtNetEnvironmentalRecord &buffer, int protocolVersion)
 used by the PDU class to fill in the network representation More...
 
virtual int netRepSize () const
 returns the size of the net representation, in bytes. More...
 
- Public Member Functions inherited from DtEnvironmentalGeometryRecord
 DtEnvironmentalGeometryRecord ()
 Constructor. More...
 
 DtEnvironmentalGeometryRecord (const DtEnvironmentalGeometryRecord &orig)
 Copy constructor. More...
 
const
DtEnvironmentalGeometryRecord
operator= (const DtEnvironmentalGeometryRecord &orig)
 Assignment Operator. More...
 
virtual ~DtEnvironmentalGeometryRecord ()
 Destructor. More...
 
virtual void setHasState (bool hasState)
 Set/get a flag to indicate whether or not a state record is associated with this geometry record. More...
 
virtual bool hasState () const
 
- Public Member Functions inherited from DtEnvironmentalRecord
 DtEnvironmentalRecord ()
 Constructor. More...
 
 DtEnvironmentalRecord (const DtEnvironmentalRecord &orig)
 Copy constructor. More...
 
const DtEnvironmentalRecordoperator= (const DtEnvironmentalRecord &orig)
 Assignment operator. More...
 
virtual ~DtEnvironmentalRecord ()
 Destructor. More...
 
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 More...
 
DtNetEnvironmentalRecordnetRep ()
 

Protected Member Functions

DtEnvironmentalDRSphereRecordself () const
 Casts the 'this' pointer for changing elements in a const function. More...
 
- Protected Member Functions inherited from DtEnvironmentalRecord
virtual bool checkAndCreate ()
 Checks to see if we need a representation, and creates it if we do Returns false, if the create fails, true otherwise. More...
 
virtual bool resizeNetRep (int newSize)
 Resizes the network representation. More...
 
DtEnvironmentalRecordself () const
 Casts the 'this' pointer for changing elements in a const function. More...
 

Protected Attributes

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

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

DtEnvironmentalDRSphereRecord::DtEnvironmentalDRSphereRecord ( )

Constructor.

DtEnvironmentalDRSphereRecord::DtEnvironmentalDRSphereRecord ( const DtEnvironmentalDRSphereRecord orig)

Copy constructor.

virtual DtEnvironmentalDRSphereRecord::~DtEnvironmentalDRSphereRecord ( )
virtual

Destructor.

Member Function Documentation

virtual const DtVector& DtEnvironmentalDRSphereRecord::angularVelocity ( ) const
virtual
virtual DtEnvironmentalRecord* DtEnvironmentalDRSphereRecord::clone ( ) const
virtual

Clone.

Reimplemented from DtEnvironmentalGeometryRecord.

virtual bool DtEnvironmentalDRSphereRecord::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.

const DtNetEnvironmentalDRSphereRecord* DtEnvironmentalDRSphereRecord::drSphereNetRep ( ) const

returns the network representation of the environmental record

DtNetEnvironmentalDRSphereRecord* DtEnvironmentalDRSphereRecord::drSphereNetRep ( )
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::radialSpeed ( ) const
virtual
virtual DtFloat32 DtEnvironmentalDRSphereRecord::radius ( ) const
virtual
DtEnvironmentalDRSphereRecord* DtEnvironmentalDRSphereRecord::self ( ) const
protected

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

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

Set get angular velocity.

virtual void DtEnvironmentalDRSphereRecord::setFromNet ( const DtNetEnvironmentalRecord buffer,
int  protocolVersion 
)
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

DtVector DtEnvironmentalDRSphereRecord::myAngularVelocity
protected
DtVector DtEnvironmentalDRSphereRecord::myCentroid
protected
DtVector DtEnvironmentalDRSphereRecord::myVelocity
protected

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

Document ID: Generated on Tue Feb 2 21:02:17 EST 2021 from SVN revision 223668
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)