Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
Represents a vl::Image with an associated Pixel Buffer Object. More...
#include <ImagePBO.hpp>
Public Member Functions | |
| virtual const char * | className () |
| Returns the name of the class. | |
| ImagePBO () | |
| Constructor. | |
| ImagePBO (const String &path) | |
| Constructors: loads an image from the specified path. | |
| ImagePBO (int x, int y, int z, int bytealign, EImageFormat format, EImageType type) | |
| Constructor: initializes an image with the specified parameters. | |
| const GLBufferObject * | pixelBufferObject () const |
| The associated OpenGL Buffer Object. | |
| GLBufferObject * | pixelBufferObject () |
| The associated OpenGL Buffer Object. | |
| void | setPixelBufferObject (GLBufferObject *pbo) |
| The associated OpenGL Buffer Object. | |
Protected Attributes | |
| ref< GLBufferObject > | mPBO |
Represents a vl::Image with an associated Pixel Buffer Object.
Definition at line 44 of file ImagePBO.hpp.
| vl::ImagePBO::ImagePBO | ( | ) | [inline] |
Constructor.
Definition at line 50 of file ImagePBO.hpp.
References mPBO, and VL_DEBUG_SET_OBJECT_NAME.
| vl::ImagePBO::ImagePBO | ( | const String & | path ) | [inline] |
Constructors: loads an image from the specified path.
Definition at line 57 of file ImagePBO.hpp.
References mPBO, and VL_DEBUG_SET_OBJECT_NAME.
| vl::ImagePBO::ImagePBO | ( | int | x, |
| int | y, | ||
| int | z, | ||
| int | bytealign, | ||
| EImageFormat | format, | ||
| EImageType | type | ||
| ) | [inline] |
Constructor: initializes an image with the specified parameters.
Definition at line 64 of file ImagePBO.hpp.
References mPBO, and VL_DEBUG_SET_OBJECT_NAME.
| virtual const char* vl::ImagePBO::className | ( | ) | [inline, virtual] |
Returns the name of the class.
Reimplemented from vl::Image.
Definition at line 47 of file ImagePBO.hpp.
| const GLBufferObject* vl::ImagePBO::pixelBufferObject | ( | ) | const [inline] |
The associated OpenGL Buffer Object.
Definition at line 71 of file ImagePBO.hpp.
References vl::ref< T >::get(), and mPBO.
Referenced by vl::DrawPixels::render_Implementation().
| GLBufferObject* vl::ImagePBO::pixelBufferObject | ( | ) | [inline] |
The associated OpenGL Buffer Object.
Definition at line 74 of file ImagePBO.hpp.
References vl::ref< T >::get(), and mPBO.
| void vl::ImagePBO::setPixelBufferObject | ( | GLBufferObject * | pbo ) | [inline] |
ref<GLBufferObject> vl::ImagePBO::mPBO [protected] |
Definition at line 80 of file ImagePBO.hpp.
Referenced by ImagePBO(), pixelBufferObject(), and setPixelBufferObject().