Dt2DGraphicalObjectStateRecord implements the 2d graphical object state record for the remote graphics API.
More...
Public Member Functions |
| | Dt2DGraphicalObjectStateRecord () |
| | Constructor.
|
| | Dt2DGraphicalObjectStateRecord (const Dt2DGraphicalObjectStateRecord &orig) |
| | Copy constructor.
|
const
Dt2DGraphicalObjectStateRecord & | operator= (const Dt2DGraphicalObjectStateRecord &orig) |
| | Assignment Operator.
|
| virtual | ~Dt2DGraphicalObjectStateRecord () |
| | Destructor.
|
| virtual DtEnvironmentalRecord * | clone () const |
| | Clone.
|
| 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 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.
|
| 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 |
| virtual bool | createNetworkRepresentation () |
| | Create the record's network representation.
|
const
DtNet2DGraphicalObjectStateRecord * | objectNetRep () const |
| | returns the network representation of the environmental record
|
| DtNet2DGraphicalObjectStateRecord * | 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.
|
Detailed Description
Dt2DGraphicalObjectStateRecord implements the 2d graphical object state record for the remote graphics API.
Constructor & Destructor Documentation
| Dt2DGraphicalObjectStateRecord::Dt2DGraphicalObjectStateRecord |
( |
| ) |
|
| virtual Dt2DGraphicalObjectStateRecord::~Dt2DGraphicalObjectStateRecord |
( |
| ) |
|
|
virtual |
Member Function Documentation
| virtual void Dt2DGraphicalObjectStateRecord::setColor |
( |
int |
r, |
|
|
int |
g, |
|
|
int |
b, |
|
|
int |
a |
|
) |
| |
|
virtual |
| virtual void Dt2DGraphicalObjectStateRecord::getColor |
( |
int & |
r, |
|
|
int & |
g, |
|
|
int & |
b, |
|
|
int & |
a |
|
) |
| const |
|
virtual |
| virtual void Dt2DGraphicalObjectStateRecord::setFillPattern |
( |
int |
pattern | ) |
|
|
virtual |
Set/Get the fill pattern.
| virtual int Dt2DGraphicalObjectStateRecord::fillPattern |
( |
| ) |
const |
|
virtual |
| virtual void Dt2DGraphicalObjectStateRecord::setFlashing |
( |
bool |
yesNo | ) |
|
|
virtual |
| virtual bool Dt2DGraphicalObjectStateRecord::flashing |
( |
| ) |
const |
|
virtual |
| virtual bool Dt2DGraphicalObjectStateRecord::setNumberOfApplicationIds |
( |
int |
newNumberOfAppIds | ) |
|
|
virtual |
| virtual int Dt2DGraphicalObjectStateRecord::numberOfApplicationIds |
( |
| ) |
const |
|
virtual |
| virtual bool Dt2DGraphicalObjectStateRecord::setNumberOfVertices |
( |
unsigned int |
newNumberOfVertices | ) |
|
|
virtual |
| virtual unsigned int Dt2DGraphicalObjectStateRecord::numberOfVertices |
( |
| ) |
const |
|
virtual |
| virtual bool Dt2DGraphicalObjectStateRecord::setVertex |
( |
unsigned int |
index, |
|
|
const DtVector32 & |
loc |
|
) |
| |
|
virtual |
| virtual bool Dt2DGraphicalObjectStateRecord::getVertex |
( |
unsigned int |
index, |
|
|
DtVector32 & |
loc |
|
) |
| |
|
virtual |
| virtual bool Dt2DGraphicalObjectStateRecord::setNumberOfParentOverlays |
( |
int |
newNumberOfParentOverlays | ) |
|
|
virtual |
| virtual int Dt2DGraphicalObjectStateRecord::numberOfParentOverlays |
( |
| ) |
const |
|
virtual |
| virtual bool Dt2DGraphicalObjectStateRecord::setParentOverlay |
( |
int |
index, |
|
|
const DtString & |
name |
|
) |
| |
|
virtual |
| virtual bool Dt2DGraphicalObjectStateRecord::getParentOverlay |
( |
int |
index, |
|
|
DtString & |
name |
|
) |
| const |
|
virtual |
| virtual void Dt2DGraphicalObjectStateRecord::setWindowName |
( |
const DtString & |
name | ) |
|
|
virtual |
| virtual const DtString& Dt2DGraphicalObjectStateRecord::windowName |
( |
| ) |
const |
|
virtual |
| virtual void Dt2DGraphicalObjectStateRecord::setUserData |
( |
const char * |
data, |
|
|
int |
length |
|
) |
| |
|
virtual |
| virtual const char* Dt2DGraphicalObjectStateRecord::userData |
( |
int * |
length = 0 | ) |
const |
|
virtual |
| virtual bool Dt2DGraphicalObjectStateRecord::createNetworkRepresentation |
( |
| ) |
|
|
virtual |
returns the network representation of the environmental record
| virtual void Dt2DGraphicalObjectStateRecord::setFromNet |
( |
const DtNetEnvironmentalRecord & |
buffer, |
|
|
int |
protocolVersion |
|
) |
| |
|
virtual |
| virtual int Dt2DGraphicalObjectStateRecord::netRepSize |
( |
| ) |
const |
|
virtual |
| virtual bool Dt2DGraphicalObjectStateRecord::resizeNetRep |
( |
int |
newSize | ) |
|
|
protectedvirtual |
| virtual int Dt2DGraphicalObjectStateRecord::verticesNetSize |
( |
| ) |
const |
|
protectedvirtual |
| virtual void* Dt2DGraphicalObjectStateRecord::pointerToVertices |
( |
| ) |
const |
|
protectedvirtual |
| virtual void* Dt2DGraphicalObjectStateRecord::pointerToApplicationIds |
( |
| ) |
const |
|
protectedvirtual |
| virtual void* Dt2DGraphicalObjectStateRecord::pointerToParentOverlays |
( |
| ) |
const |
|
protectedvirtual |
| virtual void* Dt2DGraphicalObjectStateRecord::pointerToWindowName |
( |
| ) |
const |
|
protectedvirtual |
| virtual void* Dt2DGraphicalObjectStateRecord::pointerToUserData |
( |
| ) |
const |
|
protectedvirtual |
Member Data Documentation
| int Dt2DGraphicalObjectStateRecord::myColorR |
|
protected |
| int Dt2DGraphicalObjectStateRecord::myColorG |
|
protected |
| int Dt2DGraphicalObjectStateRecord::myColorB |
|
protected |
| int Dt2DGraphicalObjectStateRecord::myColorA |
|
protected |
| int Dt2DGraphicalObjectStateRecord::myFillPattern |
|
protected |
| bool Dt2DGraphicalObjectStateRecord::myFlashing |
|
protected |
| std::vector<DtVector32> Dt2DGraphicalObjectStateRecord::myVertices |
|
protected |
| DtGlobalObjectDesignatorList Dt2DGraphicalObjectStateRecord::myApplicationIds |
|
protected |
| DtStringList Dt2DGraphicalObjectStateRecord::myParentOverlays |
|
protected |
| DtString Dt2DGraphicalObjectStateRecord::myWindowName |
|
protected |
| char* Dt2DGraphicalObjectStateRecord::myUserData |
|
protected |
| int Dt2DGraphicalObjectStateRecord::myUserDataLength |
|
protected |
| int Dt2DGraphicalObjectStateRecord::myNetRepSize |
|
protected |
The documentation for this class was generated from the following file: