MGUI::TOOL_MULTIPOINT Class Reference

TOOL_MULTIPOINT - Multi-Point tool. More...

#include <mgui/toolmlpt.h>

Inheritance diagram for MGUI::TOOL_MULTIPOINT:

Inheritance graph
[legend]
List of all members.

Public Member Functions

const DPOINT3DGetActivePoint () const
int GetNumPoints () const
const DPOINT3DGetPoint (int index) const
const DOUBLE_ARRAY< DPOINT3DGetPoints () const
bool IsActiveValid () const
void SetMarker (MARKER marker, UINT16 size=0)
 TOOL_MULTIPOINT (TOOLCANVAS *canvas)
virtual ~TOOL_MULTIPOINT ()

Protected Member Functions

virtual void v_OnChangeActiveElem ()

Detailed Description

TOOL_MULTIPOINT - Multi-Point tool.

Definition at line 36 of file toolmlpt.h.


Constructor & Destructor Documentation

MGUI::TOOL_MULTIPOINT::TOOL_MULTIPOINT TOOLCANVAS canvas  )  [explicit]
 

Constructor.

virtual MGUI::TOOL_MULTIPOINT::~TOOL_MULTIPOINT  )  [virtual]
 

Destructor.


Member Function Documentation

const DPOINT3D& MGUI::TOOL_MULTIPOINT::GetActivePoint  )  const [inline]
 

Get active point coordinates.

Definition at line 48 of file toolmlpt.h.

int MGUI::TOOL_MULTIPOINT::GetNumPoints  )  const [inline]
 

Get number of points.

Definition at line 52 of file toolmlpt.h.

const DPOINT3D& MGUI::TOOL_MULTIPOINT::GetPoint int  index  )  const [inline]
 

Get single point.

If the index is out of range the results are unpredictable.

Parameters:
index  Zero-based index of point to retrieve

Definition at line 57 of file toolmlpt.h.

const DOUBLE_ARRAY<DPOINT3D> MGUI::TOOL_MULTIPOINT::GetPoints  )  const [inline]
 

Get points.

Definition at line 62 of file toolmlpt.h.

bool MGUI::TOOL_MULTIPOINT::IsActiveValid  )  const [inline]
 

Determine if "active" point is valid.

Definition at line 66 of file toolmlpt.h.

void MGUI::TOOL_MULTIPOINT::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

virtual void MGUI::TOOL_MULTIPOINT::v_OnChangeActiveElem  )  [protected, virtual]
 

Called when "active element" changed.


The documentation for this class was generated from the following file:
Generated on Tue Dec 14 13:21:01 2004 for TNTsdk by  doxygen 1.3.8-20040913