![]() |
VR-Forces 4.0.4 Class Documentation
|
A line segment proxy is a flyweight class for controlling a single line segment. More...
Public Member Functions | |
| ~DtLineSegmentProxy () | |
| const DtLineRenderer::LineSegmentPrimitive & | mapReadOnly () const |
| DtLineRenderer::LineSegmentPrimitive & | mapReadWrite () |
| void | enableStipple () |
| Enable line stippling. | |
| void | disableStipple () |
| Disable line stippling. | |
| void | setWidth (float w) |
| Set the width. | |
| float | width () const |
| Get the width. | |
| void | setGroup (float group) |
| Set the group. | |
| float | group () const |
| Set the group. | |
Static Public Member Functions | |
| static void | swap (DtLineSegmentProxy *&v1, DtLineSegmentProxy *&v2) |
| static bool | less (DtLineSegmentProxy *&v1, DtLineSegmentProxy *&v2) |
| static bool | equal (DtLineSegmentProxy *&v1, DtLineSegmentProxy *&v2) |
Protected Member Functions | |
| DtLineSegmentProxy (DtLineRenderer &parent, int index) | |
Protected Attributes | |
| DtLineRenderer * | myParent |
| bool | myDirtyFlag |
| int | mySegmentIndex |
| int | myIndex |
| float | myWidth |
Friends | |
| class | DtLineRenderer |
A line segment proxy is a flyweight class for controlling a single line segment.
| makVrv::DtLineSegmentProxy::DtLineSegmentProxy | ( | DtLineRenderer & | parent, |
| int | index | ||
| ) | [protected] |
Enable line stippling.
Disable line stippling.
| void makVrv::DtLineSegmentProxy::setWidth | ( | float | w | ) |
Set the width.
| float makVrv::DtLineSegmentProxy::width | ( | ) | const |
Get the width.
| void makVrv::DtLineSegmentProxy::setGroup | ( | float | group | ) |
Set the group.
| float makVrv::DtLineSegmentProxy::group | ( | ) | const |
Set the group.
| static void makVrv::DtLineSegmentProxy::swap | ( | DtLineSegmentProxy *& | v1, |
| DtLineSegmentProxy *& | v2 | ||
| ) | [inline, static] |
References myIndex, makVrv::DtLineRenderer::myLines, myParent, mySegmentIndex, and myWidth.
| static bool makVrv::DtLineSegmentProxy::less | ( | DtLineSegmentProxy *& | v1, |
| DtLineSegmentProxy *& | v2 | ||
| ) | [inline, static] |
| static bool makVrv::DtLineSegmentProxy::equal | ( | DtLineSegmentProxy *& | v1, |
| DtLineSegmentProxy *& | v2 | ||
| ) | [inline, static] |
friend class DtLineRenderer [friend] |
DtLineRenderer* makVrv::DtLineSegmentProxy::myParent [protected] |
bool makVrv::DtLineSegmentProxy::myDirtyFlag [protected] |
int makVrv::DtLineSegmentProxy::mySegmentIndex [protected] |
int makVrv::DtLineSegmentProxy::myIndex [protected] |
float makVrv::DtLineSegmentProxy::myWidth [protected] |