VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Friends
makVrv::DtLineSegmentProxy Class Reference

A line segment proxy is a flyweight class for controlling a single line segment. More...

List of all members.

Public Member Functions

 ~DtLineSegmentProxy ()
const
DtLineRenderer::LineSegmentPrimitive
mapReadOnly () const
DtLineRenderer::LineSegmentPrimitivemapReadWrite ()
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

DtLineRenderermyParent
bool myDirtyFlag
int mySegmentIndex
int myIndex
float myWidth

Friends

class DtLineRenderer

Detailed Description

A line segment proxy is a flyweight class for controlling a single line segment.


Constructor & Destructor Documentation

makVrv::DtLineSegmentProxy::DtLineSegmentProxy ( DtLineRenderer parent,
int  index 
) [protected]

Member Function Documentation

Enable line stippling.

Disable line stippling.

Set the width.

Get the width.

void makVrv::DtLineSegmentProxy::setGroup ( float  group)

Set the group.

Set the group.

static void makVrv::DtLineSegmentProxy::swap ( DtLineSegmentProxy *&  v1,
DtLineSegmentProxy *&  v2 
) [inline, static]
static bool makVrv::DtLineSegmentProxy::less ( DtLineSegmentProxy *&  v1,
DtLineSegmentProxy *&  v2 
) [inline, static]
static bool makVrv::DtLineSegmentProxy::equal ( DtLineSegmentProxy *&  v1,
DtLineSegmentProxy *&  v2 
) [inline, static]

Friends And Related Function Documentation

friend class DtLineRenderer [friend]

Member Data Documentation

Referenced by equal(), less(), and swap().

Referenced by equal(), less(), and swap().

Referenced by equal(), less(), and swap().

Referenced by equal(), less(), and swap().


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)