![]() |
VR-Forces 4.7 Class Documentation
|
Dt3DGraphicalObjectStateRecord implements the 3d graphical object state record for the remote graphics API. More...

Public Member Functions | |
| Dt3DGraphicalObjectStateRecord () | |
| Constructor. | |
| Dt3DGraphicalObjectStateRecord (const Dt3DGraphicalObjectStateRecord &orig) | |
| Copy constructor. | |
| const Dt3DGraphicalObjectStateRecord & | operator= (const Dt3DGraphicalObjectStateRecord &orig) |
| Assignment Operator. | |
| virtual | ~Dt3DGraphicalObjectStateRecord () |
| Destructor. | |
| virtual DtEnvironmentalRecord * | clone () const |
| Clone. | |
| virtual void | setOffset (const DtVector32 &pos) |
| Set/Get the offset. | |
| virtual const DtVector32 & | offset () const |
| virtual void | setColor (int r, int g, int b, int a) |
| Set/Get the color. | |
| virtual void | getColor (int &r, int &g, int &b, int &a) const |
| virtual void | setFillPattern (int pattern) |
| Set/Get the fill pattern. | |
| virtual int | fillPattern () const |
| virtual void | setFlashing (bool yesNo) |
| Set/Get flashing. | |
| virtual bool | flashing () const |
| virtual void | setForceType (DtForceType forceType) |
| Set/Get force the object is associated with. | |
| virtual DtForceType | forceType () const |
| virtual void | setProjected (bool yesNo) |
| Set/Get projected. | |
| virtual bool | projected () const |
| virtual void | setBound2D (bool yesNo) |
| Set/Get Bound 2D. | |
| virtual bool | bound2D () const |
| virtual bool | setNumberOfApplicationIds (int newNumberOfAppIds) |
| virtual int | numberOfApplicationIds () const |
| virtual bool | setApplicationId (int index, const DtGlobalObjectDesignator &subID) |
| virtual bool | getApplicationId (int index, DtGlobalObjectDesignator &subID) const |
| virtual bool | setNumberOfAttachments (int newNumberOfAppIds) |
| virtual int | numberOfAttachments () const |
| virtual bool | setAttachment (int index, const DtAttachmentDescriptor &desc, const DtGlobalObjectDesignator &attachId) |
| virtual bool | getAttachment (int index, DtAttachmentDescriptor &desc, DtGlobalObjectDesignator &attachId) const |
| virtual bool | setNumberOfParentOverlays (int newNumberOfParentOverlays) |
| virtual int | numberOfParentOverlays () const |
| virtual bool | setParentOverlay (int index, const DtString &name) |
| virtual bool | getParentOverlay (int index, DtString &name) const |
| virtual void | setLabel (const DtString &label) |
| Set/Get Label. | |
| virtual const DtString & | label () const |
| virtual void | setUserData (const char *data, int length) |
| Set/Get user data. | |
| virtual const char * | userData (int *length=0) const |
| virtual bool | createNetworkRepresentation () |
| Create the record's network representation. | |
| const DtNet3DGraphicalObjectStateRecord * | objectNetRep () const |
| returns the network representation of the environmental record | |
| DtNet3DGraphicalObjectStateRecord * | objectNetRep () |
| 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. | |
Protected Member Functions | |
| virtual bool | resizeNetRep (int newSize) |
| virtual void * | pointerToApplicationIds () const |
| virtual void * | pointerToAttachmentList () const |
| virtual void * | pointerToAttachmentIdList () const |
| virtual void * | pointerToParentOverlays () const |
| virtual void * | pointerToLabel () const |
| virtual void * | pointerToUserData () const |
Protected Attributes | |
| DtVector32 | myOffset |
| int | myColorR |
| int | myColorG |
| int | myColorB |
| int | myColorA |
| int | myFillPattern |
| bool | myFlashing |
| DtForceType | myForceType |
| bool | myProjected |
| bool | myBound2D |
| DtGlobalObjectDesignatorList | myApplicationIds |
| DtAttachmentDescriptorList | myAttachments |
| DtGlobalObjectDesignatorList | myAttachmentIds |
| DtStringList | myParentOverlays |
| DtString | myLabel |
| char * | myUserData |
| int | myUserDataLength |
| int | myNetRepSize |
Dt3DGraphicalObjectStateRecord implements the 3d graphical object state record for the remote graphics API.
| Dt3DGraphicalObjectStateRecord::Dt3DGraphicalObjectStateRecord | ( | ) |
Constructor.
| Dt3DGraphicalObjectStateRecord::Dt3DGraphicalObjectStateRecord | ( | const Dt3DGraphicalObjectStateRecord & | orig | ) |
Copy constructor.
|
virtual |
Destructor.
| const Dt3DGraphicalObjectStateRecord& Dt3DGraphicalObjectStateRecord::operator= | ( | const Dt3DGraphicalObjectStateRecord & | orig | ) |
Assignment Operator.
|
virtual |
Clone.
Reimplemented in Dt3DGraphicalObjectLineStateRecord.
|
virtual |
Set/Get the offset.
|
virtual |
Set/Get the color.
|
virtual |
|
virtual |
Set/Get the fill pattern.
|
virtual |
|
virtual |
Set/Get flashing.
|
virtual |
|
virtual |
Set/Get force the object is associated with.
|
virtual |
|
virtual |
Set/Get projected.
|
virtual |
|
virtual |
Set/Get Bound 2D.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Set/Get Label.
|
virtual |
Set/Get user data.
|
virtual |
Create the record's network representation.
Reimplemented in Dt3DGraphicalObjectLineStateRecord.
| const DtNet3DGraphicalObjectStateRecord* Dt3DGraphicalObjectStateRecord::objectNetRep | ( | ) | const |
returns the network representation of the environmental record
| DtNet3DGraphicalObjectStateRecord* Dt3DGraphicalObjectStateRecord::objectNetRep | ( | ) |
|
virtual |
used by the PDU class to fill in the network representation
Reimplemented in Dt3DGraphicalObjectLineStateRecord.
|
virtual |
returns the size of the net representation, in bytes.
Reimplemented in Dt3DGraphicalObjectLineStateRecord.
Reimplemented in Dt3DGraphicalObjectLineStateRecord.
|
protectedvirtual |
Reimplemented in Dt3DGraphicalObjectLineStateRecord.
|
protectedvirtual |
Reimplemented in Dt3DGraphicalObjectLineStateRecord.
|
protectedvirtual |
Reimplemented in Dt3DGraphicalObjectLineStateRecord.
|
protectedvirtual |
Reimplemented in Dt3DGraphicalObjectLineStateRecord.
|
protectedvirtual |
Reimplemented in Dt3DGraphicalObjectLineStateRecord.
|
protectedvirtual |
Reimplemented in Dt3DGraphicalObjectLineStateRecord.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |