#include <TileTool.h>
Inherits TileTool.
Public Member Functions | |
| virtual void | activate () |
| Become the current tool. | |
| BigTileTool (void) | |
| Constructor. | |
| virtual Int | getWidth (void) |
Public Member Functions inherited from TileTool | |
| TileTool (void) | |
| Constructor. | |
| ~TileTool (void) | |
| Destructor. | |
| virtual void | mouseDown (TTrackingMode m, CPoint viewPt, WbView *pView, CWorldBuilderDoc *pDoc) |
| Common mouse down code for left and right clicks. | |
| virtual void | mouseUp (TTrackingMode m, CPoint viewPt, WbView *pView, CWorldBuilderDoc *pDoc) |
| Common mouse up code for left and right clicks. | |
| virtual void | mouseMoved (TTrackingMode m, CPoint viewPt, WbView *pView, CWorldBuilderDoc *pDoc) |
| Common mouse moved code for left and right clicks. | |
| virtual WorldHeightMapEdit * | getHeightMap (void) |
Public Member Functions inherited from Tool | |
| Tool (Int toolID, Int cursorID) | |
| Tool class. | |
| virtual | ~Tool (void) |
| Destructor. | |
| Int | getToolID (void) |
| virtual void | setCursor (void) |
| virtual void | deactivate () |
| virtual Bool | followsTerrain (void) |
| Become not the current tool. | |
Static Public Member Functions | |
| static void | setWidth (Int width) |
| Shows the terrain materials options panel. | |
Static Public Member Functions inherited from Tool | |
| 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) |
Static Protected Attributes | |
| static Int | m_currentWidth = 0 |
Additional Inherited Members | |
Protected Attributes inherited from TileTool | |
| WorldHeightMapEdit * | m_htMapEditCopy |
| Int | m_textureClassToDraw |
| CPoint | m_prevViewPt |
Protected Attributes inherited from Tool | |
| Int | m_toolID |
| Int | m_cursorID |
| HCURSOR | m_cursor |
| Int | m_prevXIndex |
| Int | m_prevYIndex |
Definition at line 56 of file TileTool.h.
| BigTileTool::BigTileTool | ( | void | ) |
Constructor.
Definition at line 185 of file TileTool.cpp.
|
virtual |
Become the current tool.
Shows the terrain materials options panel.
Reimplemented from TileTool.
Definition at line 198 of file TileTool.cpp.
|
inlinevirtual |
Reimplemented from TileTool.
Definition at line 69 of file TileTool.h.
|
static |
Shows the terrain materials options panel.
Definition at line 191 of file TileTool.cpp.
|
staticprotected |
Definition at line 60 of file TileTool.h.