![]() |
VR-Link API Documentation for DIS
|
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 DtEnvironmentalSphereRecord & | operator= (const DtEnvironmentalSphereRecord &orig) |
| virtual | ~DtEnvironmentalSphereRecord () |
| virtual DtEnvironmentalRecord * | clone () const |
| Clone. | |
| virtual void | setLocation (const DtVector &location) |
| virtual const DtVector & | location () 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 | |
| DtNetEnvironmentalSphereRecord * | sphereNetRep () |
| 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 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 | |
| DtEnvironmentalSphereRecord * | self () 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 | |
| DtNetEnvironmentalRecord * | myNetRep |
DtEnvironmentalSphereRecord implements the Environmental geometry record type "Sphere Record 1" See Enumerated Bit Values document, section 12.3.4.5.
| DtEnvironmentalSphereRecord::DtEnvironmentalSphereRecord | ( | ) |
| DtEnvironmentalSphereRecord::DtEnvironmentalSphereRecord | ( | const DtEnvironmentalSphereRecord & | orig | ) |
Copy constructor.
|
virtual |
|
virtual |
Clone.
Reimplemented from DtEnvironmentalGeometryRecord.
Reimplemented in DtEnvironmentalBoundingSphereRecord.
|
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 |
|
virtual |
Returns the size of the network representation.
Reimplemented from DtEnvironmentalRecord.
| const DtEnvironmentalSphereRecord& DtEnvironmentalSphereRecord::operator= | ( | const DtEnvironmentalSphereRecord & | orig | ) |
|
virtual |
|
protected |
Casts the 'this' pointer for changing elements in a const function.
Reimplemented from DtEnvironmentalRecord.
|
virtual |
used by the PDU class to fill in the network representation
Reimplemented from DtEnvironmentalRecord.
|
virtual |
|
virtual |
| const DtNetEnvironmentalSphereRecord* DtEnvironmentalSphereRecord::sphereNetRep | ( | ) | const |
returns the network representation of the environmental record
| DtNetEnvironmentalSphereRecord* DtEnvironmentalSphereRecord::sphereNetRep | ( | ) |
|
protected |