VTK
|
Storage for FBO's. More...
#include <vtkRenderbuffer.h>
Public Types | |
typedef vtkObject | Superclass |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkRenderbuffer * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual int | IsA (const char *type) |
vtkRenderbuffer * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual unsigned int | GetHandle () |
void | SetContext (vtkRenderWindow *win) |
vtkRenderWindow * | GetContext () |
int | CreateColorAttachment (unsigned int width, unsigned int height) |
int | CreateDepthAttachment (unsigned int width, unsigned int height) |
int | Create (unsigned int format, unsigned int width, unsigned int height) |
virtual unsigned int | GetHandle () |
void | SetContext (vtkRenderWindow *win) |
vtkRenderWindow * | GetContext () |
int | CreateColorAttachment (unsigned int width, unsigned int height) |
int | CreateDepthAttachment (unsigned int width, unsigned int height) |
int | Create (unsigned int format, unsigned int width, unsigned int height) |
Static Public Member Functions | |
static vtkRenderbuffer * | New () |
static int | IsTypeOf (const char *type) |
static vtkRenderbuffer * | SafeDownCast (vtkObjectBase *o) |
static bool | IsSupported (vtkRenderWindow *renWin) |
static vtkRenderbuffer * | New () |
static int | IsTypeOf (const char *type) |
static vtkRenderbuffer * | SafeDownCast (vtkObjectBase *o) |
static bool | IsSupported (vtkRenderWindow *renWin) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkRenderbuffer () | |
~vtkRenderbuffer () | |
bool | LoadRequiredExtensions (vtkRenderWindow *renWin) |
void | Alloc () |
void | Free () |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkRenderbuffer () | |
~vtkRenderbuffer () | |
bool | LoadRequiredExtensions (vtkRenderWindow *renWin) |
void | Alloc () |
void | Free () |
Protected Attributes | |
int | DepthBufferFloat |
Storage for FBO's.
Lightweight API to OpenGL Framebuffer Object EXT renderbuffers.
Definition at line 31 of file vtkRenderbuffer.h.
typedef vtkObject vtkRenderbuffer::Superclass |
Reimplemented from vtkObject.
Definition at line 35 of file vtkRenderbuffer.h.
typedef vtkObject vtkRenderbuffer::Superclass |
Reimplemented from vtkObject.
Definition at line 34 of file vtkRenderbuffer.h.
vtkRenderbuffer::vtkRenderbuffer | ( | ) | [protected] |
vtkRenderbuffer::~vtkRenderbuffer | ( | ) | [protected] |
vtkRenderbuffer::vtkRenderbuffer | ( | ) | [protected] |
vtkRenderbuffer::~vtkRenderbuffer | ( | ) | [protected] |
static vtkRenderbuffer* vtkRenderbuffer::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
static int vtkRenderbuffer::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkObject.
virtual int vtkRenderbuffer::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkObject.
static vtkRenderbuffer* vtkRenderbuffer::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkObject.
virtual vtkObjectBase* vtkRenderbuffer::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkObject.
vtkRenderbuffer* vtkRenderbuffer::NewInstance | ( | ) | const |
Reimplemented from vtkObject.
void vtkRenderbuffer::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
static bool vtkRenderbuffer::IsSupported | ( | vtkRenderWindow * | renWin | ) | [static] |
Returns if the context supports the required extensions. Extension will be loaded when the conetxt is set.
virtual unsigned int vtkRenderbuffer::GetHandle | ( | ) | [virtual] |
Get the name of the buffer for use opengl code.
void vtkRenderbuffer::SetContext | ( | vtkRenderWindow * | win | ) |
Setting the context has the side affect of initializing OpenGL required extensions and allocates an OpenGL name(handle) that is released when the object is destroyed. NOTE: the reference count to the passed in object is not incremented. Contex must be set prior to other use.
Setting the context has the side affect of initializing OpenGL required extensions and allocates an OpenGL name(handle) that is released when the object is destroyed. NOTE: the reference count to the passed in object is not incremented. Contex must be set prior to other use.
int vtkRenderbuffer::CreateColorAttachment | ( | unsigned int | width, |
unsigned int | height | ||
) |
Sets up an RGBAF renderbufffer for use as a color attachment. Use mode to control READ or DRAW operation.
int vtkRenderbuffer::CreateDepthAttachment | ( | unsigned int | width, |
unsigned int | height | ||
) |
Sets up an DEPTH renderbufffer for use as a color attachment. Use mode to control READ or DRAW operation.
int vtkRenderbuffer::Create | ( | unsigned int | format, |
unsigned int | width, | ||
unsigned int | height | ||
) |
Sets up an renderbufffer. Use mode to control READ or DRAW operation and format to control the internal format. (see OpenGL doc for more info)
bool vtkRenderbuffer::LoadRequiredExtensions | ( | vtkRenderWindow * | renWin | ) | [protected] |
void vtkRenderbuffer::Alloc | ( | ) | [protected] |
void vtkRenderbuffer::Free | ( | ) | [protected] |
static vtkRenderbuffer* vtkRenderbuffer::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
static int vtkRenderbuffer::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkObject.
virtual int vtkRenderbuffer::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkObject.
static vtkRenderbuffer* vtkRenderbuffer::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkObject.
virtual vtkObjectBase* vtkRenderbuffer::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkObject.
vtkRenderbuffer* vtkRenderbuffer::NewInstance | ( | ) | const |
Reimplemented from vtkObject.
void vtkRenderbuffer::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
static bool vtkRenderbuffer::IsSupported | ( | vtkRenderWindow * | renWin | ) | [static] |
Returns if the context supports the required extensions. Extension will be loaded when the conetxt is set.
virtual unsigned int vtkRenderbuffer::GetHandle | ( | ) | [virtual] |
Get the name of the buffer for use opengl code.
void vtkRenderbuffer::SetContext | ( | vtkRenderWindow * | win | ) |
Setting the context has the side affect of initializing OpenGL required extensions and allocates an OpenGL name(handle) that is released when the object is destroyed. NOTE: the reference count to the passed in object is not incremented. Contex must be set prior to other use.
Setting the context has the side affect of initializing OpenGL required extensions and allocates an OpenGL name(handle) that is released when the object is destroyed. NOTE: the reference count to the passed in object is not incremented. Contex must be set prior to other use.
int vtkRenderbuffer::CreateColorAttachment | ( | unsigned int | width, |
unsigned int | height | ||
) |
Sets up an RGBAF renderbufffer for use as a color attachment. Use mode to control READ or DRAW operation.
int vtkRenderbuffer::CreateDepthAttachment | ( | unsigned int | width, |
unsigned int | height | ||
) |
Sets up an DEPTH renderbufffer for use as a color attachment. Use mode to control READ or DRAW operation.
int vtkRenderbuffer::Create | ( | unsigned int | format, |
unsigned int | width, | ||
unsigned int | height | ||
) |
Sets up an renderbufffer. Use mode to control READ or DRAW operation and format to control the internal format. (see OpenGL doc for more info)
bool vtkRenderbuffer::LoadRequiredExtensions | ( | vtkRenderWindow * | renWin | ) | [protected] |
void vtkRenderbuffer::Alloc | ( | ) | [protected] |
void vtkRenderbuffer::Free | ( | ) | [protected] |
int vtkRenderbuffer::DepthBufferFloat [protected] |
Definition at line 91 of file vtkRenderbuffer.h.