7 #ifndef CAFU_MODEL_EDITOR_RENDERER_3D_HPP_INCLUDED
8 #define CAFU_MODEL_EDITOR_RENDERER_3D_HPP_INCLUDED
10 #include "Math3D/BoundingBox.hpp"
11 #include "Math3D/Matrix3x3.hpp"
12 #include "wx/gdicmn.h"
15 namespace MatSys {
class RenderMaterialT; }
This class represents a surface render material.
Definition: RenderMaterial.hpp:25
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:61
Renderer3DT()
The constructor.
Definition: Renderer3D.cpp:18
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:169
void RenderCrossHair(const wxPoint &Center) const
Renders a cross-hair at the given point. Assumes that orthogonal rendering mode is active...
Definition: Renderer3D.cpp:198
float GetConstShade(const Vector3T< float > &Normal) const
Returns a "shade" according to the direction of the given normal vector.
Definition: Renderer3D.cpp:52
This class provides auxiliary means for rendering a 3D scene view of the model editor.
Definition: Renderer3D.hpp:24
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:152
~Renderer3DT()
The destructor.
Definition: Renderer3D.cpp:37
This class represents a generic 3x3 matrix.
Definition: Angles.hpp:17