8 #ifndef META_OCEAN_RENDERING_GLES_VIEW_H
9 #define META_OCEAN_RENDERING_GLES_VIEW_H
24 namespace GLESceneGraph
182 bool useHeadlight_ =
true;
This class implements a color defined by red, green, blue and alpha parameters.
Definition: RGBAColor.h:41
This class implements a base for all GLESceneGraph framebuffers.
Definition: rendering/glescenegraph/GLESFramebuffer.h:34
This class is the base class for all GLESceneGraph objects.
Definition: GLESObject.h:57
This class implements a GLESceneGraph view object.
Definition: GLESView.h:34
Scalar aspectRatio() const override
Returns the aspect ratio of this view.
RGBAColor backgroundColor() const override
Returns the background color of the view.
HomogenousMatrix4 transformation() const override
Returns the transformation between view and world (the inverse of the known View Matrix).
bool setPhantomMode(const PhantomAttribute::PhantomMode mode) override
Sets the phantom mode of this view.
bool setNearDistance(const Scalar distance) override
Sets the distance to the near clippling plane.
Scalar farDistance() const override
Returns the distance to the far clipping plane.
GLESView()
Creates a new view object.
LightSourceRef headlight_
Thew view's headlight object.
Definition: GLESView.h:185
bool setAspectRatio(const Scalar aspectRatio) override
Sets the aspect ratio of this view.
void setTransformation(const HomogenousMatrix4 &transformation) override
Sets the position and orientation of the view by a viewing matrix.
Scalar nearDistance() const override
Returns the distance to the near clipping plane.
bool useHeadlight() const override
Returns whether the headlight is enabled.
virtual bool calculateProjectionMatrix()
(Re-)calculates the view projection matrix.
PhantomAttribute::PhantomMode phantomMode() const override
Returns the phantom mode of this view.
bool setBackgroundColor(const RGBAColor &color) override
Sets the background color of the view.
SquareMatrix4 projectionMatrix() const override
Returns the view projection matrix.
bool setFarDistance(const Scalar distance) override
Sets the distance to the far clipping plane.
bool setNearFarDistance(const Scalar nearDistance, const Scalar farDistance) override
Sets the distance to the near and far clipping plane.
void setUseHeadlight(const bool state) override
Sets whether the headlight should be activated.
const LightSourceRef & headlight() const
Returns the headlight object of this view.
~GLESView() override
Destructs a view object.
PhantomMode
Definition of different phantom modes.
Definition: PhantomAttribute.h:43
@ PM_DEFAULT
Default phantom mode.
Definition: PhantomAttribute.h:47
This class is the base class for all rendering views.
Definition: View.h:46
float Scalar
Definition of a scalar type.
Definition: Math.h:128
SquareMatrixT4< Scalar > SquareMatrix4
Definition of the SquareMatrix4 object, depending on the OCEAN_MATH_USE_SINGLE_PRECISION either with ...
Definition: SquareMatrix4.h:32
HomogenousMatrixT4< Scalar > HomogenousMatrix4
Definition of the HomogenousMatrix4 object, depending on the OCEAN_MATH_USE_SINGLE_PRECISION flag eit...
Definition: HomogenousMatrix4.h:37
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15