![]() |
VR-Forces 4.1 Class Documentation
|

Public Types | |
| enum | Dt2DTextAlignment { Dt2DTextAlignmentLeft = 0, Dt2DTextAlignmentCenter = 1, Dt2DTextAlignmentRight = 2, Dt2DTextAlignmentJustify = 3 } |
Public Member Functions | |
| Dt2DGraphicalObjectTextStateRecord () | |
| Constructor. | |
| Dt2DGraphicalObjectTextStateRecord (const Dt2DGraphicalObjectTextStateRecord &orig) | |
| Copy Constructor. | |
| Dt2DGraphicalObjectTextStateRecord & | operator= (const Dt2DGraphicalObjectTextStateRecord &orig) |
| Assignment Operator. | |
| virtual | ~Dt2DGraphicalObjectTextStateRecord () |
| Destructor. | |
| virtual DtEnvironmentalRecord * | clone () const |
| Clone. | |
| virtual void | setFontName (const char *fontName, int length) |
| virtual const char * | fontName (int *length=0) const |
| virtual void | setFontSize (float sizeInPoints) |
| virtual float | fontSize () const |
| virtual void | setWidth (int widthInPixels) |
| virtual int | width () const |
| virtual void | setAlignment (Dt2DTextAlignment align) |
| virtual Dt2DTextAlignment | alignment () const |
| virtual bool | createNetworkRepresentation () |
| Create the record's network representation. | |
| virtual void | setFromNet (const DtNetEnvironmentalRecord &buffer) |
| used by the PDU class to fill in the network representation | |
| const DtNet2DGraphicalObjectTextStateRecord * | textNetRep () const |
| returns the network representation of the environmental record | |
| DtNet2DGraphicalObjectTextStateRecord * | textNetRep () |
| virtual int | netRepSize () const |
| returns the size of the net representation, in bytes. | |
Public Member Functions inherited from Dt2DGraphicalObjectStateRecord | |
| Dt2DGraphicalObjectStateRecord () | |
| Constructor. | |
| Dt2DGraphicalObjectStateRecord (const Dt2DGraphicalObjectStateRecord &orig) | |
| Copy Constructor. | |
| const Dt2DGraphicalObjectStateRecord & | operator= (const Dt2DGraphicalObjectStateRecord &orig) |
| Assignment Operator. | |
| virtual | ~Dt2DGraphicalObjectStateRecord () |
| Destructor. | |
| 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 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 DtVector &loc) |
| virtual bool | getVertex (unsigned int index, DtVector &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. | |
| virtual const DtString & | windowName () const |
| virtual void | setUserData (const char *data, int length) |
| Set/Get user data. | |
| virtual const char * | userData (int *length=0) const |
| const DtNet2DGraphicalObjectStateRecord * | objectNetRep () const |
| returns the network representation of the environmental record | |
| DtNet2DGraphicalObjectStateRecord * | objectNetRep () |
Protected Member Functions | |
| virtual bool | resizeNetRep (int newSize) |
| virtual void * | pointerToFontName () const |
| virtual void * | pointerToVertices () const |
| virtual void * | pointerToApplicationIds () const |
| virtual void * | pointerToParentOverlays () const |
| virtual void * | pointerToWindowName () const |
| virtual void * | pointerToUserData () const |
Protected Member Functions inherited from Dt2DGraphicalObjectStateRecord | |
| virtual int | verticesNetSize () const |
Protected Attributes | |
| char * | myFontName |
| int | myFontNameLength |
| float | myFontSize |
| int | myWidth |
| Dt2DTextAlignment | myAlignment |
Protected Attributes inherited from Dt2DGraphicalObjectStateRecord | |
| int | myColorR |
| int | myColorG |
| int | myColorB |
| int | myColorA |
| int | myFillPattern |
| bool | myFlashing |
| std::vector< DtVector > | myVertices |
| DtGlobalObjectDesignatorList | myApplicationIds |
| DtStringList | myParentOverlays |
| DtString | myWindowName |
| char * | myUserData |
| int | myUserDataLength |
| int | myNetRepSize |
| Dt2DGraphicalObjectTextStateRecord::Dt2DGraphicalObjectTextStateRecord | ( | ) |
Constructor.
| Dt2DGraphicalObjectTextStateRecord::Dt2DGraphicalObjectTextStateRecord | ( | const Dt2DGraphicalObjectTextStateRecord & | orig | ) |
Copy Constructor.
|
virtual |
Destructor.
| Dt2DGraphicalObjectTextStateRecord& Dt2DGraphicalObjectTextStateRecord::operator= | ( | const Dt2DGraphicalObjectTextStateRecord & | orig | ) |
Assignment Operator.
|
virtual |
Clone.
Reimplemented from Dt2DGraphicalObjectStateRecord.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Create the record's network representation.
Reimplemented from Dt2DGraphicalObjectStateRecord.
|
virtual |
used by the PDU class to fill in the network representation
Reimplemented from Dt2DGraphicalObjectStateRecord.
| const DtNet2DGraphicalObjectTextStateRecord* Dt2DGraphicalObjectTextStateRecord::textNetRep | ( | ) | const |
returns the network representation of the environmental record
| DtNet2DGraphicalObjectTextStateRecord* Dt2DGraphicalObjectTextStateRecord::textNetRep | ( | ) |
|
virtual |
returns the size of the net representation, in bytes.
Reimplemented from Dt2DGraphicalObjectStateRecord.
|
protectedvirtual |
Reimplemented from Dt2DGraphicalObjectStateRecord.
|
protectedvirtual |
|
protectedvirtual |
Reimplemented from Dt2DGraphicalObjectStateRecord.
|
protectedvirtual |
Reimplemented from Dt2DGraphicalObjectStateRecord.
|
protectedvirtual |
Reimplemented from Dt2DGraphicalObjectStateRecord.
|
protectedvirtual |
Reimplemented from Dt2DGraphicalObjectStateRecord.
|
protectedvirtual |
Reimplemented from Dt2DGraphicalObjectStateRecord.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |