MGUI::TOOL_NODE Class Reference

Node adjustment tool with attached lines. More...

#include <mgui/toolnode.h>

Inheritance diagram for MGUI::TOOL_NODE:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 TOOL_NODE (TOOLCANVAS *canvas)
virtual ~TOOL_NODE ()
const DPOINT3DGetNode (POLYLINELIST &LineList) const
void SetLinePercentage (double LinePercentage)
void SetMarker (MARKER marker, UINT16 size=0)
void SetNode (const DPOINT3D &node, const POLYLINELIST &LineList)

Detailed Description

Node adjustment tool with attached lines.


Constructor & Destructor Documentation

MGUI::TOOL_NODE::TOOL_NODE ( TOOLCANVAS canvas  )  [explicit]

Constructor.

virtual MGUI::TOOL_NODE::~TOOL_NODE (  )  [virtual]

Destructor.


Member Function Documentation

const DPOINT3D& MGUI::TOOL_NODE::GetNode ( POLYLINELIST LineList  )  const

Get current tool node coordinates.

void MGUI::TOOL_NODE::SetLinePercentage ( double  LinePercentage  ) 

Set a percentage of the lines to move in relation to the node being moved.

Adding the vertex to end to line movement will occur when the user moves the node.

void MGUI::TOOL_NODE::SetMarker ( MARKER  marker,
UINT16  size = 0 
)

Set marker type and size.

The default marker is MARKER_Plus with a size of 9 pixels.

Parameters:
marker New marker type
size New marker size, 0 to retain current size
void MGUI::TOOL_NODE::SetNode ( const DPOINT3D node,
const POLYLINELIST LineList 
)

Set tool node coordinates.


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

Generated on Sun Oct 7 21:36:19 2012 for TNTsdk 2012 by  doxygen 1.6.1