VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | 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...

Public Member Functions

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

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 ( )
makVrv::DtLineSegmentProxy::DtLineSegmentProxy ( DtLineRenderer parent,
int  index 
)
protected

Member Function Documentation

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.

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

Friends And Related Function Documentation

friend class DtLineRenderer
friend

Member Data Documentation

DtLineRenderer* makVrv::DtLineSegmentProxy::myParent
protected

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

bool makVrv::DtLineSegmentProxy::myDirtyFlag
protected
int makVrv::DtLineSegmentProxy::mySegmentIndex
protected

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

int makVrv::DtLineSegmentProxy::myIndex
protected

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

float makVrv::DtLineSegmentProxy::myWidth
protected

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


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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)