8#ifndef META_OCEAN_RENDERING_GLES_UNDISTORTED_BACKGROUND_H
9#define META_OCEAN_RENDERING_GLES_UNDISTORTED_BACKGROUND_H
GLESBackground()
Creates a new GLESceneGraph background object.
This class implements a base for all GLESceneGraph framebuffers.
Definition rendering/glescenegraph/GLESFramebuffer.h:34
This class implements a traverser for renderables.
Definition GLESTraverser.h:39
void addToTraverser(const GLESFramebuffer &framebuffer, const SquareMatrix4 &projectionMatrix, const HomogenousMatrix4 &camera_T_parent, const Lights &lights, GLESTraverser &traverser) const override
Adds this node and all child node to a traverser.
friend class GLESFactory
Definition GLESUndistortedBackground.h:37
Texture2DRef texture() const
Returns the background texture.
SquareMatrix4 normalizedCameraFrustumMatrix_
The normalized camera frustum matrix mapping 3D points to texture coordinates [0, 1],...
Definition GLESUndistortedBackground.h:152
virtual void setVerticalElements(const unsigned int elements)
Sets the number of vertical elements.
virtual unsigned int verticalElements() const
Returns the number of vertical elements.
~GLESUndistortedBackground() override
Destructs a GLESceneGraph undistorted background object.
const Timestamp & cameraTimestamp() const
Returns the timestamp of the most recent camera change.
TexturesRef textures_
Textures object holding the 2D texture.
Definition GLESUndistortedBackground.h:137
bool setDisplayType(const DisplayType type) override
Sets the display type of this background object.
unsigned int horizontalElements_
Number of horizontal elements.
Definition GLESUndistortedBackground.h:143
const SquareMatrix4 & normalizedCameraFrustumMatrix() const
Returns the normalized camera frustum matrix of the background.
void onMediumCameraChanged(const Timestamp timestamp) override
Event function if the camera of the used medium has changed.
AttributeSetRef attributeSet_
Attribute set holding rendering attributes of the background object.
Definition GLESUndistortedBackground.h:140
Texture2DRef offsetTexture() const
Returns the offset texture.
TriangleStripsRef triangleStrips_
Triangle strips for the background geometry.
Definition GLESUndistortedBackground.h:131
Timestamp cameraTimestamp_
Timestamp of the camera frame type.
Definition GLESUndistortedBackground.h:149
virtual void rebuildPrimitive()
Rebuilds the primitive vertex, normals and face sets.
virtual unsigned int horizontalElements() const
Returns the number of horizontal elements.
virtual void setHorizontalElements(const unsigned int elements)
Sets the number of horizontal elements.
GLESUndistortedBackground()
Creates a new GLESceneGraph undistorted background object.
unsigned int verticalElements_
Number of vertical elements.
Definition GLESUndistortedBackground.h:146
VertexSetRef vertexSet_
Vertexset for the background geometry.
Definition GLESUndistortedBackground.h:134
Texture2DRef offsetTexture_
Optional texture storing per-pixel offset data for additional distortion correction during background...
Definition GLESUndistortedBackground.h:155
UndistortedBackground()
Creates an undistorted background object.
DisplayType
Definition of different distortion display types.
Definition UndistortedBackground.h:53
ObjectType type() const override
Returns the type of this object.
This class implements a timestamp.
Definition Timestamp.h:64
HomogenousMatrixT4< Scalar > HomogenousMatrix4
Definition of the HomogenousMatrix4 object, depending on the OCEAN_MATH_USE_SINGLE_PRECISION flag eit...
Definition HomogenousMatrix4.h:44
SquareMatrixT4< Scalar > SquareMatrix4
Definition of the SquareMatrix4 object, depending on the OCEAN_MATH_USE_SINGLE_PRECISION either with ...
Definition SquareMatrix4.h:39
SmartObjectRef< AttributeSet > AttributeSetRef
Definition of a smart object reference holding an attribute set.
Definition AttributeSet.h:32
SmartObjectRef< TriangleStrips > TriangleStripsRef
Definition of a smart object reference holding a triangle strips node.
Definition TriangleStrips.h:29
SmartObjectRef< VertexSet > VertexSetRef
Definition of a smart object reference holding a vertex set node.
Definition VertexSet.h:31
SmartObjectRef< Texture2D > Texture2DRef
Definition of a smart object reference holding a 2D texture.
Definition Texture2D.h:32
SmartObjectRef< Textures > TexturesRef
Definition of a smart object reference holding a textures.
Definition Textures.h:32
std::vector< LightPair > Lights
Definition of a set holding light sources.
Definition GLESLightSource.h:44
Namespace of the Rendering GLESceneGraph library.
Definition rendering/glescenegraph/android/Android.h:20
Namespace of the Rendering library.
Definition AbsoluteTransform.h:18
The namespace covering the entire Ocean framework.
Definition Accessor.h:15