ForestSelectionTool
Engine/source/forest/editor/forestSelectionTool.h
Private Types
Parent
Protected Attributes
bool
bool
bool
bool
Protected Functions
_selectItem(const ForestItem & item)
Public Functions
on3DMouseDown(const Gui3DMouseEvent & evt)
on3DMouseDragged(const Gui3DMouseEvent & evt)
on3DMouseMove(const Gui3DMouseEvent & evt)
on3DMouseUp(const Gui3DMouseEvent & evt)
setActiveForest(Forest * forest)
setParentEditor(ForestEditorCtrl * editor)
bool
Detailed Description
Private Types
typedef ForestTool Parent
Protected Attributes
Box3F mBounds
ForestUpdateAction * mCurrAction
RectI mDragRect
ColorI mDragRectColor
bool mDragSelect
ForestItemSelection mDragSelection
Point2I mDragStart
Gizmo * mGizmo
GizmoProfile * mGizmoProfile
ForestItem mHoverItem
bool mMouseDown
bool mMouseDragged
ForestItemSelection mSelection
bool mUsingGizmo
Protected Functions
_selectItem(const ForestItem & item)
Public Functions
ForestSelectionTool()
~ForestSelectionTool()
clearSelection()
copySelection()
cutSelection()
DECLARE_CONOBJECT(ForestSelectionTool )
deleteSelection()
getSelectionCount()
on3DMouseDown(const Gui3DMouseEvent & evt)
Reimplemented from: ForestTool
on3DMouseDragged(const Gui3DMouseEvent & evt)
Reimplemented from: ForestTool
on3DMouseMove(const Gui3DMouseEvent & evt)
Reimplemented from: ForestTool
on3DMouseUp(const Gui3DMouseEvent & evt)
Reimplemented from: ForestTool
onRender2D()
Reimplemented from: ForestTool
onRender3D()
Reimplemented from: ForestTool
onUndoAction()
Reimplemented from: ForestTool
pasteSelection()
setActiveForest(Forest * forest)
Reimplemented from: ForestTool
setParentEditor(ForestEditorCtrl * editor)
Reimplemented from: ForestTool
updateGizmo()
Reimplemented from: ForestTool
updateGuiInfo()
Reimplemented from: ForestTool