![]() |
VR-Forces 4.0.4 Class Documentation
|
A line definition to be stored in shared memory. More...

Public Member Functions | |
| DtDebugDrawerLineMemory () | |
| Constructor. | |
| ~DtDebugDrawerLineMemory () | |
| Destructor. | |
| virtual char * | encode (char *buffer) |
| Encodes this line into a buffer. | |
| virtual const char * | decode (const char *buffer) |
| Decodes a line from a buffer into this object. | |
| virtual int | getSize () |
| Gets the size this object would take in bytes were it encoded with encode(). | |
| virtual int | type () |
| Gets the type of this object. | |
Public Attributes | |
| DtVector | myPoint1 |
| The first point of the line. | |
| DtVector | myPoint2 |
| The second point of the line. | |
A line definition to be stored in shared memory.
Constructor.
Destructor.
| virtual char* DtDebugDrawerLineMemory::encode | ( | char * | buffer | ) | [virtual] |
Encodes this line into a buffer.
| buffer | pointer to a character buffer |
Implements DtDebugDrawerGeometryMemory.
| virtual const char* DtDebugDrawerLineMemory::decode | ( | const char * | buffer | ) | [virtual] |
Decodes a line from a buffer into this object.
This should only be called when it is certain that the the first set of data in the buffer is of this particular shape.
| buffer | Pointer to a character buffer that previously had encode() called on it. |
Implements DtDebugDrawerGeometryMemory.
| virtual int DtDebugDrawerLineMemory::getSize | ( | ) | [virtual] |
Gets the size this object would take in bytes were it encoded with encode().
Implements DtDebugDrawerGeometryMemory.
| virtual int DtDebugDrawerLineMemory::type | ( | ) | [virtual] |
Gets the type of this object.
Used to identify the object of this class.
Implements DtDebugDrawerGeometryMemory.
The first point of the line.
This member was intentionally left public for easier access to the value.
The second point of the line.
This member was intentionally left public for easier access to the value.