8#ifndef META_OCEAN_RENDERING_GLES_VIEW_H
9#define META_OCEAN_RENDERING_GLES_VIEW_H
24namespace 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.
const LightSourceRef & headlight() const
Returns the headlight object of this view.
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.
~GLESView() override
Destructs a view object.
PhantomMode
Definition of different phantom modes.
Definition PhantomAttribute.h:43
This class is the base class for all rendering views.
Definition View.h:46
float Scalar
Definition of a scalar type.
Definition Math.h:129
The namespace covering the entire Ocean framework.
Definition Accessor.h:15