7 #ifndef CAFU_TOOL_CAMERA_HPP_INCLUDED
8 #define CAFU_TOOL_CAMERA_HPP_INCLUDED
11 #include "Math3D/Vector3.hpp"
12 #include "Templates/Array.hpp"
28 CameraT* GetActiveCamera()
const {
return m_Cameras[m_ActiveCameraNr]; }
29 void AddCamera(
CameraT* Camera);
30 void DeleteActiveCamera();
31 void NotifyCameraChanged(
const CameraT* Camera);
35 int GetWxEventID()
const {
return ChildFrameT::ID_MENU_TOOLS_TOOL_CAMERA; }
40 bool OnLMouseUp2D (
ViewWindow2DT& ViewWindow, wxMouseEvent& ME);
41 bool OnMouseMove2D (
ViewWindow2DT& ViewWindow, wxMouseEvent& ME);
44 bool OnMouseMove3D (
ViewWindow3DT& ViewWindow, wxMouseEvent& ME);
71 bool FindCamera(
ViewWindow2DT& ViewWindow,
const wxPoint& PointWS,
unsigned long& CamNr, CameraPartT& CamPart)
const;
74 bool OnKeyDown(
ViewWindowT& ViewWindow, wxKeyEvent& KE);
78 unsigned long m_ActiveCameraNr;
79 ToolStateT m_ToolState;
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 class implements a camera.
Definition: Camera.hpp:17
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