7 #ifndef CAFU_TOOL_CLIP_HPP_INCLUDED
8 #define CAFU_TOOL_CLIP_HPP_INCLUDED
11 #include "Math3D/Plane3.hpp"
12 #include "Templates/Array.hpp"
35 int GetWxEventID()
const {
return ChildFrameT::ID_MENU_TOOLS_TOOL_CLIP; }
37 void OnActivate(
ToolT* OldTool);
38 void OnDeactivate(
ToolT* NewTool);
42 bool OnLMouseUp2D (
ViewWindow2DT& ViewWindow, wxMouseEvent& ME);
43 bool OnMouseMove2D (
ViewWindow2DT& ViewWindow, wxMouseEvent& ME);
67 int HitTest(
ViewWindow2DT& ViewWindow,
const wxPoint& PointWS);
70 void UpdateClipResults();
73 bool OnKeyDown(
ViewWindowT& ViewWindow, wxKeyEvent& KE);
76 ToolStateT m_ToolState;
80 bool m_DrawMeasurements;
This class provides auxiliary means for rendering a 3D view.
Definition: Renderer3D.hpp:30
This class implements the rendering into a 2D view.
Definition: Renderer2D.hpp:22
This class represents a CaWE "map" document.
Definition: MapDocument.hpp:45
This struct describes and holds the result of clipping a brush.
Definition: Clip.hpp:15
This class represents a (superclass of a) 2D or 3D map view window.
Definition: ChildFrameViewWin.hpp:21
Definition: ChildFrameViewWin2D.hpp:24
Definition: ChildFrameViewWin3D.hpp:21
Definition: TypeSys.hpp:52
This class keeps type information (about an entity class that occurs in the game).
Definition: TypeSys.hpp:79