![]() |
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, int protocolVersion) |
| used by the PDU class to fill in the network representation | |
| virtual int | netRepSize () const |
| returns the size of the net representation, in bytes. | |
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 DtEnvironmentalRecord & | operator= (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 DtNetEnvironmentalRecord * | netRep () const |
| returns the network representation of the environmental record | |
| DtNetEnvironmentalRecord * | netRep () |
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 |
Protected Attributes inherited from DtEnvironmentalGeometryRecord | |
| bool | myHasState |
Protected Attributes inherited from DtEnvironmentalRecord | |
| DtNetEnvironmentalRecord * | myNetRep |
DtEnvironmentalDRSphereRecord implements the Environmental geometry record type "Sphere Record 2" See Enumerated Bit Values document, section 12.3.4.7.
| DtEnvironmentalDRSphereRecord::DtEnvironmentalDRSphereRecord | ( | ) |
Constructor.
| DtEnvironmentalDRSphereRecord::DtEnvironmentalDRSphereRecord | ( | const DtEnvironmentalDRSphereRecord & | orig | ) |
Copy constructor.
|
virtual |
Destructor.
|
virtual |
|
virtual |
Clone.
Reimplemented from DtEnvironmentalGeometryRecord.
|
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 |
|
virtual |
returns the size of the net representation, in bytes.
Reimplemented from DtEnvironmentalRecord.
| const DtEnvironmentalDRSphereRecord& DtEnvironmentalDRSphereRecord::operator= | ( | const DtEnvironmentalDRSphereRecord & | orig | ) |
Assignment Operator.
|
virtual |
|
virtual |
|
protected |
Casts the 'this' pointer for changing elements in a const function.
Reimplemented from DtEnvironmentalRecord.
|
virtual |
Set get angular velocity.
|
virtual |
used by the PDU class to fill in the network representation
Reimplemented from DtEnvironmentalRecord.
|
virtual |
Set/ get location.
|
virtual |
Set/ get radial speed.
|
virtual |
Set/ get radius.
|
virtual |
Set get velocity.
|
virtual |
|
protected |
|
protected |
|
protected |