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

Public Member Functions | |
| Dt2DGraphicalObjectStateRecord () | |
| Constructor. More... | |
| Dt2DGraphicalObjectStateRecord (const Dt2DGraphicalObjectStateRecord &orig) | |
| Copy constructor. More... | |
| const Dt2DGraphicalObjectStateRecord & | operator= (const Dt2DGraphicalObjectStateRecord &orig) |
| Assignment Operator. More... | |
| virtual | ~Dt2DGraphicalObjectStateRecord () |
| Destructor. More... | |
| virtual DtEnvironmentalRecord * | clone () const |
| Clone. More... | |
| virtual void | setColor (int r, int g, int b, int a) |
| Set/Get the color. More... | |
| virtual void | getColor (int &r, int &g, int &b, int &a) const |
| virtual void | setFillPattern (int pattern) |
| Set/Get the fill pattern. More... | |
| virtual int | fillPattern () const |
| virtual void | setFlashing (bool yesNo) |
| Set/Get flashing. More... | |
| virtual bool | flashing () 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 | setNumberOfVertices (unsigned int newNumberOfVertices) |
| virtual unsigned int | numberOfVertices () const |
| virtual bool | setVertex (unsigned int index, const DtVector32 &loc) |
| virtual bool | getVertex (unsigned int index, DtVector32 &loc) |
| 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 | setWindowName (const DtString &name) |
| Set/Get Window Name. More... | |
| virtual const DtString & | windowName () const |
| virtual void | setUserData (const char *data, int length) |
| Set/Get user data. More... | |
| virtual const char * | userData (int *length=0) const |
| virtual bool | createNetworkRepresentation () |
| Create the record's network representation. More... | |
| const DtNet2DGraphicalObjectStateRecord * | objectNetRep () const |
| returns the network representation of the environmental record More... | |
| DtNet2DGraphicalObjectStateRecord * | objectNetRep () |
| 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... | |
Protected Member Functions | |
| virtual bool | resizeNetRep (int newSize) |
| virtual int | verticesNetSize () const |
| virtual void * | pointerToVertices () const |
| virtual void * | pointerToApplicationIds () const |
| virtual void * | pointerToParentOverlays () const |
| virtual void * | pointerToWindowName () const |
| virtual void * | pointerToUserData () const |
Protected Attributes | |
| int | myColorR |
| int | myColorG |
| int | myColorB |
| int | myColorA |
| int | myFillPattern |
| bool | myFlashing |
| std::vector< DtVector32 > | myVertices |
| DtGlobalObjectDesignatorList | myApplicationIds |
| DtStringList | myParentOverlays |
| DtString | myWindowName |
| char * | myUserData |
| int | myUserDataLength |
| int | myNetRepSize |
Dt2DGraphicalObjectStateRecord implements the 2d graphical object state record for the remote graphics API.
| Dt2DGraphicalObjectStateRecord::Dt2DGraphicalObjectStateRecord | ( | ) |
Constructor.
| Dt2DGraphicalObjectStateRecord::Dt2DGraphicalObjectStateRecord | ( | const Dt2DGraphicalObjectStateRecord & | orig | ) |
Copy constructor.
|
virtual |
Destructor.
| const Dt2DGraphicalObjectStateRecord& Dt2DGraphicalObjectStateRecord::operator= | ( | const Dt2DGraphicalObjectStateRecord & | orig | ) |
Assignment Operator.
|
virtual |
Clone.
Reimplemented in Dt2DGraphicalObjectTextStateRecord.
Set/Get the color.
|
virtual |
|
virtual |
Set/Get the fill pattern.
|
virtual |
|
virtual |
Set/Get flashing.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Set/Get Window Name.
|
virtual |
Set/Get user data.
|
virtual |
Create the record's network representation.
Reimplemented in Dt2DGraphicalObjectTextStateRecord.
| const DtNet2DGraphicalObjectStateRecord* Dt2DGraphicalObjectStateRecord::objectNetRep | ( | ) | const |
returns the network representation of the environmental record
| DtNet2DGraphicalObjectStateRecord* Dt2DGraphicalObjectStateRecord::objectNetRep | ( | ) |
|
virtual |
used by the PDU class to fill in the network representation
Reimplemented in Dt2DGraphicalObjectTextStateRecord.
|
virtual |
returns the size of the net representation, in bytes.
Reimplemented in Dt2DGraphicalObjectTextStateRecord.
Reimplemented in Dt2DGraphicalObjectTextStateRecord.
|
protectedvirtual |
|
protectedvirtual |
Reimplemented in Dt2DGraphicalObjectTextStateRecord.
|
protectedvirtual |
Reimplemented in Dt2DGraphicalObjectTextStateRecord.
|
protectedvirtual |
Reimplemented in Dt2DGraphicalObjectTextStateRecord.
|
protectedvirtual |
Reimplemented in Dt2DGraphicalObjectTextStateRecord.
|
protectedvirtual |
Reimplemented in Dt2DGraphicalObjectTextStateRecord.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |