Blend edges out tool.
More...
#include <PointerTool.h>
Inherits PolygonTool.
|
| | PointerTool (void) |
| | Constructor.
|
| |
| | ~PointerTool (void) |
| | Destructor.
|
| |
| virtual void | activate () |
| | Clear the selection on activate or deactivate.
|
| |
| virtual void | deactivate () |
| | deactivate.
|
| |
| virtual void | setCursor (void) |
| |
| virtual void | mouseDown (TTrackingMode m, CPoint viewPt, WbView *pView, CWorldBuilderDoc *pDoc) |
| |
| virtual void | mouseMoved (TTrackingMode m, CPoint viewPt, WbView *pView, CWorldBuilderDoc *pDoc) |
| | Left button move code.
|
| |
| virtual void | mouseUp (TTrackingMode m, CPoint viewPt, WbView *pView, CWorldBuilderDoc *pDoc) |
| |
| | PolygonTool (void) |
| | Constructor.
|
| |
| | ~PolygonTool (void) |
| | Destructor.
|
| |
| | Tool (Int toolID, Int cursorID) |
| | Tool class.
|
| |
| virtual | ~Tool (void) |
| | Destructor.
|
| |
| Int | getToolID (void) |
| |
| virtual Bool | followsTerrain (void) |
| | Become not the current tool.
|
| |
| virtual WorldHeightMapEdit * | getHeightMap (void) |
| |
|
| static void | clearSelection (void) |
| | Clears the selected objects selected flags.
|
| |
| static Bool | allowPick (MapObject *pMapObj, WbView *pView) |
| |
| static Bool | isActive (void) |
| |
| static Bool | deleteSelectedPolygon (void) |
| | Delete the selected polygon or point.
|
| |
| static Bool | isSelected (PolygonTrigger *pTrig) |
| |
| static Int | getSelectedPointNdx (void) |
| |
| static PolygonTrigger * | pickPolygon (Coord3D loc, CPoint viewPt, WbView *pView) |
| |
| static Bool | isSelectedOpen (void) |
| |
| static Real | calcRoundBlendFactor (CPoint center, Int x, Int y, Int brushWidth, Int featherWidth) |
| | Calculate the round blend factor.
|
| |
| static Real | calcSquareBlendFactor (CPoint center, Int x, Int y, Int brushWidth, Int featherWidth) |
| | Calculate the square blend factor.
|
| |
| static void | getCenterIndex (Coord3D *docLocP, Int brushWidth, CPoint *center, CWorldBuilderDoc *pDoc) |
| | Gets the cell index for the center of the brush.
|
| |
| static void | getAllIndexesIn (const Coord3D *bl, const Coord3D *br, const Coord3D *tl, const Coord3D *tr, Int widthOutside, CWorldBuilderDoc *pDoc, VecHeightMapIndexes *allIndices) |
| |
Blend edges out tool.
PointerTool Does the select/move tool operation.
Definition at line 38 of file PointerTool.h.
◆ anonymous enum
◆ PointerTool()
| PointerTool::PointerTool |
( |
void | | ) |
|
◆ ~PointerTool()
| PointerTool::~PointerTool |
( |
void | | ) |
|
◆ activate()
| void PointerTool::activate |
( |
| ) |
|
|
virtual |
◆ allowPick()
◆ checkForPropertiesPanel()
| void PointerTool::checkForPropertiesPanel |
( |
void | | ) |
|
|
protected |
See if a single obj is selected that has properties.
Definition at line 114 of file PointerTool.cpp.
◆ clearSelection()
| void PointerTool::clearSelection |
( |
void | | ) |
|
|
static |
Clears the selected objects selected flags.
Clear the selection..
Definition at line 147 of file PointerTool.cpp.
◆ deactivate()
| void PointerTool::deactivate |
( |
| ) |
|
|
virtual |
◆ mouseDown()
◆ mouseMoved()
◆ mouseUp()
Execute the tool on mouse up - if modifying, do the modify, else update the selection.
Reimplemented from PolygonTool.
Definition at line 495 of file PointerTool.cpp.
◆ setCursor()
| void PointerTool::setCursor |
( |
void | | ) |
|
|
virtual |
◆ m_curObject
◆ m_doPolyTool
| Bool PointerTool::m_doPolyTool |
|
protected |
True if we are using the polygon tool to modify a polygon triggter.
Definition at line 50 of file PointerTool.h.
◆ m_downPt2d
| CPoint PointerTool::m_downPt2d |
|
protected |
◆ m_downPt3d
◆ m_dragSelect
| Bool PointerTool::m_dragSelect |
|
protected |
True if we are drag selecting.
Definition at line 48 of file PointerTool.h.
◆ m_modifyUndoable
The modify undoable that is in progress while we track the mouse.
Definition at line 52 of file PointerTool.h.
◆ m_mouseUpMove
| Bool PointerTool::m_mouseUpMove |
|
protected |
True if we are over the "move" hotspot.
Definition at line 56 of file PointerTool.h.
◆ m_mouseUpRotate
| Bool PointerTool::m_mouseUpRotate |
|
protected |
True if we are over the "rotate" hotspot.
Definition at line 54 of file PointerTool.h.
◆ m_moveCursor
| HCURSOR PointerTool::m_moveCursor |
|
protected |
◆ m_moving
| Bool PointerTool::m_moving |
|
protected |
True if we are drag moving an object.
Definition at line 46 of file PointerTool.h.
◆ m_rotateCursor
| HCURSOR PointerTool::m_rotateCursor |
|
protected |
◆ m_rotating
| Bool PointerTool::m_rotating |
|
protected |
True if we are rotating an object.
Definition at line 47 of file PointerTool.h.
The documentation for this class was generated from the following files: