#include <mi32/grtool.h>
Inheritance diagram for MicroImages::GRTOOL_MULTIPOINT:

Public Member Functions | |
| virtual MGUI::CTRL * | CreateControlForm (MGUI::LAYOUT_PANE_BASE &ParentPane, CTRLOPT ctrlopt) |
| const DPOINT3D & | GetActivePoint () const |
| int | GetNumPoints () const |
| const DPOINT3D & | GetPoint (int index) const |
| const DOUBLE_ARRAY< DPOINT3D > | GetPoints () const |
| GRTOOL_MULTIPOINT (GRTOOLVIEW *view) | |
| bool | IsActiveValid () const |
| void | SetMarker (MARKER marker, UINT16 size=0) |
| virtual | ~GRTOOL_MULTIPOINT () |
Protected Member Functions | |
| virtual void | OnChangeActiveElem () |
| virtual void | OnClear () |
Private Types | |
| enum | EDITMODE { EDITMODE_Automatic, EDITMODE_Add, EDITMODE_Move, EDITMODE_Select } |
| enum | ZONE { ZONE_NoFunction = 0, ZONE_Outside } |
Private Member Functions | |
| void | ActivateClosestPoint (const DPOINT2D &) |
| void | AddPoint (CDC *, const DPOINT2D &) |
| void | AdjustTool (DPOINT2D &, MOVESEQ) |
| void | ComputeCursorZone (const DPOINT2D &) |
| void | DeletePoint () |
| virtual void | DoDraw (CDC *) |
| virtual void | DoMove (double dx, double dy, ADJUSTFLAGS flags) |
| void | DrawNeighborPoints (CDC *, const LRECT2D &) const |
| void | DrawPoint (CDC *, int) const |
| void | ErasePoint (CDC *, bool circleonly=false) const |
| int | FindClosestPoint (const DPOINT2D &) const |
| virtual bool | OnKey (UINT nChar, UINT nRepCnt, UINT nFlags) |
| virtual void | OnLButtonDown (UINT nFlags, const CPoint &mpoint) |
| virtual void | OnLButtonUp (UINT nFlags, const CPoint &mpoint) |
| virtual void | OnMouseMove (UINT nFlags, const CPoint &mpoint) |
| void | SetActiveIndex (int) |
| void | UpdateCursor () const |
Private Attributes | |
| int | m_ActiveIndex |
| ZONE | m_CursorZone |
| EDITMODE | m_EditMode |
| MARKER | m_marker |
| UINT16 | m_markersize |
| bool | m_NotifyChangeElem |
| DOUBLE_ARRAY< DPOINT3D > | m_Points |
| DPOINT2D | m_prevpt |
Definition at line 745 of file grtool.h.
|
|
|
|
|
|
|
|
Constructor.
|
|
|
Destructor.
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
||||||||||||
|
Create "form" with tool-specific controls.
Reimplemented from MicroImages::GRTOOL. |
|
|
|
|
|
Implements MicroImages::GRTOOL. |
|
||||||||||||||||
|
Reimplemented from MicroImages::GRTOOL. |
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
Get active point coordinates.
|
|
|
Get number of points.
|
|
|
Get single point. If the index is out of range the results are unpredictable.
|
|
|
Get points.
|
|
|
Determine if "active" point is valid.
|
|
|
Called when "active element" changed. Derived class must call superclass method BEFORE performing own processing. |
|
|
Called when tool is "cleared" by user action, usually on control dialog. Derived class must call superclass method BEFORE performing own processing. Reimplemented from MicroImages::GRTOOL. |
|
||||||||||||||||
|
Called when key pressed/released.
Reimplemented from MicroImages::GRTOOL. |
|
||||||||||||
|
Implements MicroImages::GRTOOL. |
|
||||||||||||
|
Reimplemented from MicroImages::GRTOOL. |
|
||||||||||||
|
Implements MicroImages::GRTOOL. |
|
|
|
|
||||||||||||
|
Set marker type and size. The default marker is MARKER_Plus with a size of 9 pixels.
|
|
|
|
|
|
Index of active point.
|
|
|
Current cursor zone.
|
|
|
|
|
|
Tool settings.
|
|
|
|
|
|
|
|
|
Points.
|
|
|
|
1.3.8-20040913