8 #ifndef META_OCEAN_RENDERING_SKY_BACKGROUND_H
9 #define META_OCEAN_RENDERING_SKY_BACKGROUND_H
This class is the base class for all backgrounds.
Definition: rendering/Background.h:37
ObjectType
Definition of different object type.
Definition: Object.h:63
This class is the base class for all sky backgrounds.
Definition: SkyBackground.h:38
virtual ColorPairs groundColors() const
Returns the ground angle and color pairs.
virtual TexturesRef backTextures() const
Returns the back textures.
virtual bool setSkyColors(const ColorPairs &colors)
Sets the sky angle and color pairs for the sky background.
virtual bool setRightTextures(const TexturesRef &textures)
Sets the textures for the right plane.
ObjectType type() const override
Returns the type of this object.
virtual TexturesRef bottomTextures() const
Returns the bottom textures.
std::pair< Scalar, RGBAColor > ColorPair
Definition of a pair holding an angle and a color value.
Definition: SkyBackground.h:45
virtual bool setLeftTextures(const TexturesRef &textures)
Sets the textures for the left plane.
virtual ColorPairs skyColors() const
Returns the sky angle and color pairs.
virtual TexturesRef frontTextures() const
Returns the front textures.
virtual bool setGroundColors(const ColorPairs &colors)
Returns the ground angle and color pairs.
SkyBackground()
Creates a new sky background object.
virtual TexturesRef topTextures() const
Returns the top textures.
std::vector< ColorPair > ColorPairs
Definition of a vector holding color values.
Definition: SkyBackground.h:50
virtual bool setTopTextures(const TexturesRef &textures)
Sets the textures for the top plane.
virtual TexturesRef leftTextures() const
Returns the left textures.
~SkyBackground() override
Destructs a Sky background object.
virtual bool setBackTextures(const TexturesRef &textures)
Sets the textures for the back plane.
virtual bool setFrontTextures(const TexturesRef &textures)
Sets the textures for the front plane.
virtual TexturesRef rightTextures() const
Returns the right textures.
virtual bool setBottomTextures(const TexturesRef &textures)
Sets the textures for the bottom plane.
This class implements a smart rendering object reference.
Definition: rendering/ObjectRef.h:34
SmartObjectRef< SkyBackground > SkyBackgroundRef
Definition of a smart object reference holding a sky background.
Definition: SkyBackground.h:24
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15