![]() |
VR-Forces 4.8 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. More... | |
| void | disableStipple () |
| Disable line stippling. More... | |
| void | setWidth (float w) |
| Set the width. More... | |
| float | width () const |
| Get the width. More... | |
| void | setGroup (float group) |
| Set the group. More... | |
| float | group () const |
| Set the group. More... | |
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 | ( | ) |
|
protected |
| const DtLineRenderer::LineSegmentPrimitive& makVrv::DtLineSegmentProxy::mapReadOnly | ( | ) | const |
| DtLineRenderer::LineSegmentPrimitive& makVrv::DtLineSegmentProxy::mapReadWrite | ( | ) |
| void makVrv::DtLineSegmentProxy::enableStipple | ( | ) |
Enable line stippling.
| void makVrv::DtLineSegmentProxy::disableStipple | ( | ) |
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.
|
inlinestatic |
References myIndex, makVrv::DtLineRenderer::myLines, myParent, mySegmentIndex, and myWidth.
|
inlinestatic |
|
inlinestatic |
|
friend |
|
protected |
|
protected |