8 #ifndef META_OCEAN_RENDERING_TEXTURE_FRAMEBUFFER_H
9 #define META_OCEAN_RENDERING_TEXTURE_FRAMEBUFFER_H
25 class TextureFramebuffer;
47 virtual bool resize(
const unsigned int width,
const unsigned int height) = 0;
This class implements Ocean's image class.
Definition: Frame.h:1792
PixelFormat
Definition of all pixel formats available in the Ocean framework.
Definition: Frame.h:183
ObjectType
Definition of different object type.
Definition: Object.h:63
@ TYPE_TEXTURE_FRAMEBUFFER
TextureFramebuffer type.
Definition: Object.h:163
This class is the base class for all textures based on a framebuffer.
Definition: rendering/TextureFramebuffer.h:39
TextureFramebuffer()=default
Creates a new texture object.
virtual bool setWrapTypeS(const WrapType type)
Sets the texture wrap type in s direction.
virtual FrameType::PixelFormat pixelFormat() const =0
Returns the texture framebuffer's internal pixel format.
virtual WrapType wrapTypeS() const
Returns the texture wrap type in s direction.
virtual bool resize(const unsigned int width, const unsigned int height)=0
Resizes the texture framebuffer.
~TextureFramebuffer() override
Destructs a texture object.
virtual bool copyDepthTextureToFrame(Frame &frame, const CV::PixelBoundingBox &subRegion=CV::PixelBoundingBox())
Copies the image content of the depth texture to a given frame.
ObjectType type() const override
Returns the type of this object.
Definition: rendering/TextureFramebuffer.h:133
virtual bool copyColorTextureToFrame(Frame &frame, const CV::PixelBoundingBox &subRegion=CV::PixelBoundingBox())
Copies the image content of the color texture to a given frame.
virtual bool setPixelFormat(const FrameType::PixelFormat pixelFormat)=0
Sets the texture framebuffer's internal pixel format.
virtual bool setWrapTypeT(const WrapType type)
Sets the texture wrap type in t direction.
virtual WrapType wrapTypeT() const
Returns the texture wrap type in t direction.
This class is the base class for all textures.
Definition: rendering/Texture.h:38
WrapType
Definition of different texture wrapping types.
Definition: rendering/Texture.h:96
SmartObjectRef< TextureFramebuffer > TextureFramebufferRef
Definition of a smart object reference holding a texture framebuffer.
Definition: rendering/TextureFramebuffer.h:25
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15