Scroll tool.
More...
#include <HandScrollTool.h>
Inherits Tool.
|
| | HandScrollTool (void) |
| | Constructor.
|
| |
| | ~HandScrollTool (void) |
| | Destructor.
|
| |
| virtual void | mouseDown (TTrackingMode m, CPoint viewPt, WbView *pView, CWorldBuilderDoc *pDoc) |
| | Start scrolling.
|
| |
| virtual void | mouseMoved (TTrackingMode m, CPoint viewPt, WbView *pView, CWorldBuilderDoc *pDoc) |
| | Scroll.
|
| |
| virtual void | mouseUp (TTrackingMode m, CPoint viewPt, WbView *pView, CWorldBuilderDoc *pDoc) |
| | End scroll.
|
| |
| virtual void | activate () |
| | Become the current tool.
|
| |
| virtual Bool | followsTerrain (void) |
| | Become not the current tool.
|
| |
| | Tool (Int toolID, Int cursorID) |
| | Tool class.
|
| |
| virtual | ~Tool (void) |
| | Destructor.
|
| |
| Int | getToolID (void) |
| |
| virtual void | setCursor (void) |
| |
| virtual void | deactivate () |
| |
| virtual WorldHeightMapEdit * | getHeightMap (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) |
| |
Scroll tool.
Definition at line 33 of file HandScrollTool.h.
◆ anonymous enum
◆ HandScrollTool()
| HandScrollTool::HandScrollTool |
( |
void | | ) |
|
◆ ~HandScrollTool()
| HandScrollTool::~HandScrollTool |
( |
void | | ) |
|
◆ activate()
| void HandScrollTool::activate |
( |
| ) |
|
|
virtual |
Become the current tool.
Shows the terrain materials options panel.
Reimplemented from Tool.
Definition at line 47 of file HandScrollTool.cpp.
◆ followsTerrain()
| virtual Bool HandScrollTool::followsTerrain |
( |
void | | ) |
|
|
inlinevirtual |
◆ mouseDown()
◆ mouseMoved()
◆ mouseUp()
◆ m_downPt2d
| CPoint HandScrollTool::m_downPt2d |
|
protected |
◆ m_mouseDownTime
| UINT HandScrollTool::m_mouseDownTime |
|
protected |
◆ m_prevPt2d
| CPoint HandScrollTool::m_prevPt2d |
|
protected |
◆ m_scrolling
| Bool HandScrollTool::m_scrolling |
|
protected |
The documentation for this class was generated from the following files: