7 #ifndef CAFU_RENDERER_3D_HPP_INCLUDED
8 #define CAFU_RENDERER_3D_HPP_INCLUDED
10 #include "ChildFrameViewWin.hpp"
11 #include "OrthoBspTree.hpp"
12 #include "Math3D/Matrix3x3.hpp"
13 #include "Math3D/Plane3.hpp"
14 #include "Templates/Array.hpp"
16 #include "wx/gdicmn.h"
23 namespace MatSys {
class RenderMaterialT; }
59 const ViewWindow3DT& GetViewWin3D()
const {
return m_ViewWin3D; }
60 const Plane3fT* GetViewFrustumPlanes()
const {
return m_FrustumPlanesCache; }
112 const ToolT* m_ActiveToolCache;
This class provides auxiliary means for rendering a 3D view.
Definition: Renderer3D.hpp:30
~Renderer3DT()
The destructor.
Definition: Renderer3D.cpp:77
This class represents a surface render material.
Definition: RenderMaterial.hpp:25
This class represents a CaWE "map" document.
Definition: MapDocument.hpp:45
~UseOrthoMatricesT()
The destructor.
Definition: Renderer3D.cpp:49
UseOrthoMatricesT(const wxWindow &Window)
The constructor.
Definition: Renderer3D.cpp:35
void InitFrame()
Initializes the rendering of a new frame by computing and caching all relevant data.
Definition: Renderer3D.cpp:90
Definition: OrthoBspTree.hpp:45
void RenderCrossHair(const wxPoint &Center) const
Renders a cross-hair at the given point. Assumes that orthogonal rendering mode is active...
Definition: Renderer3D.cpp:319
void BasisVectors(const Vector3fT &Pos, const cf::math::Matrix3x3fT &Mat, float Length=100.0f) const
Renders the basis vectors (the "axes") of the given matrix at the given position with the given lengt...
Definition: Renderer3D.cpp:290
void RenderSplitPlanes(const OrthoBspTreeT::NodeT *Node, int Depth) const
Renders the split planes of the BSP tree at and below the given node, up to the given depth...
Definition: Renderer3D.cpp:228
A helper class that temporarily sets up the matrices in the Cafu MatSys for orthogonal rendering into...
Definition: Renderer3D.hpp:37
Definition: ChildFrameViewWin3D.hpp:21
void RenderLine(const Vector3fT &A, const Vector3fT &B, const wxColour &Color) const
Renders a line from A to B in the given color.
Definition: Renderer3D.cpp:211
Renderer3DT(ViewWindow3DT &ViewWin3D)
The constructor.
Definition: Renderer3D.cpp:57
void RenderBox(const BoundingBox3fT &BB, const wxColour &Color, bool Solid) const
Renders a box from the given bounding-box in the given color, with solid faces or in wireframe...
Definition: Renderer3D.cpp:120
This class represents a generic 3x3 matrix.
Definition: Angles.hpp:17
This class represents an axis-aligned bounding-box ("AABB") in 3-dimensional space.
Definition: BoundingBox.hpp:23
This is the base class for all elements ("objects") that can exist in a map.
Definition: MapElement.hpp:57