![]() |
VR-Link API Documentation for DIS
|
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. | |
| DtEnvironmentalDRSphereRecord (const DtEnvironmentalDRSphereRecord &orig) | |
| Copy Constructor. | |
| const DtEnvironmentalDRSphereRecord & | operator= (const DtEnvironmentalDRSphereRecord &orig) |
| Assignment Operator. | |
| virtual | ~DtEnvironmentalDRSphereRecord () |
| Destructor. | |
| virtual DtEnvironmentalRecord * | clone () const |
| Clone. | |
| virtual void | setLocation (const DtVector &location) |
| Set/ get location. | |
| virtual const DtVector & | location () 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 DtVector & | velocity () const |
| virtual void | setAngularVelocity (const DtVector &angularVelocity) |
| Set get angular velocity. | |
| virtual const DtVector & | angularVelocity () const |
| virtual bool | createNetworkRepresentation () |
| This doesn't need to be called explicitly. | |
| const DtNetEnvironmentalDRSphereRecord * | drSphereNetRep () const |
| returns the network representation of the environmental record | |
| DtNetEnvironmentalDRSphereRecord * | drSphereNetRep () |
| 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 | |
| DtEnvironmentalDRSphereRecord * | self () const |
| Casts the 'this' pointer for changing elements in a const function. | |
Protected Attributes | |
| DtVector | myCentroid |
| DtVector | myVelocity |
| DtVector | myAngularVelocity |
DtEnvironmentalDRSphereRecord implements the Environmental geometry record type "Sphere Record 2" See Enumerated Bit Values document, section 12.3.4.7.
Constructor.
| DtEnvironmentalDRSphereRecord::DtEnvironmentalDRSphereRecord | ( | const DtEnvironmentalDRSphereRecord & | orig | ) |
Copy Constructor.
| virtual DtEnvironmentalDRSphereRecord::~DtEnvironmentalDRSphereRecord | ( | ) | [virtual] |
Destructor.
| 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.
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::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.
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] |
DtVector DtEnvironmentalDRSphereRecord::myCentroid [protected] |
DtVector DtEnvironmentalDRSphereRecord::myVelocity [protected] |