ForestTool
Engine/source/forest/editor/forestTool.h
Private Types
Parent
Protected Attributes
Protected Functions
_submitUndo(UndoAction * action)
Public Functions
on3DMouseDown(const Gui3DMouseEvent & evt)
on3DMouseDragged(const Gui3DMouseEvent & evt)
on3DMouseEnter(const Gui3DMouseEvent & evt)
on3DMouseLeave(const Gui3DMouseEvent & evt)
on3DMouseMove(const Gui3DMouseEvent & evt)
on3DMouseUp(const Gui3DMouseEvent & evt)
onActivated(const Gui3DMouseEvent & lastEvent)
bool
onMouseWheel(const GuiEvent & evt)
setActiveForest(Forest * forest)
setParentEditor(ForestEditorCtrl * editor)
bool
Detailed Description
Private Types
typedef SimObject Parent
Protected Attributes
ForestEditorCtrl * mEditor
SimObjectPtr< Forest > mForest
Protected Functions
_submitUndo(UndoAction * action)
Public Functions
ForestTool()
~ForestTool()
DECLARE_CONOBJECT(ForestTool )
on3DMouseDown(const Gui3DMouseEvent & evt)
Reimplemented by: ForestBrushTool, ForestSelectionTool
on3DMouseDragged(const Gui3DMouseEvent & evt)
Reimplemented by: ForestBrushTool, ForestSelectionTool
on3DMouseEnter(const Gui3DMouseEvent & evt)
on3DMouseLeave(const Gui3DMouseEvent & evt)
on3DMouseMove(const Gui3DMouseEvent & evt)
Reimplemented by: ForestBrushTool, ForestSelectionTool
on3DMouseUp(const Gui3DMouseEvent & evt)
Reimplemented by: ForestBrushTool, ForestSelectionTool
onActivated(const Gui3DMouseEvent & lastEvent)
Reimplemented by: ForestBrushTool
onDeactivated()
Reimplemented by: ForestBrushTool
onMouseWheel(const GuiEvent & evt)
Reimplemented by: ForestBrushTool
onRender2D()
Reimplemented by: ForestBrushTool, ForestSelectionTool
onRender3D()
Reimplemented by: ForestBrushTool, ForestSelectionTool
onUndoAction()
Reimplemented by: ForestSelectionTool
setActiveForest(Forest * forest)
Reimplemented by: ForestSelectionTool
setParentEditor(ForestEditorCtrl * editor)
Reimplemented by: ForestSelectionTool
updateGizmo()
Reimplemented by: ForestSelectionTool
updateGuiInfo()
Reimplemented by: ForestBrushTool, ForestSelectionTool