#include <vtkOpenGLRenderWindow.h>
Inheritance diagram for vtkOpenGLRenderWindow:
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | StereoUpdate () |
void | MakeCurrent ()=0 |
void | RegisterTextureResource (GLuint id) |
int | GetDepthBufferSize () |
virtual void | OpenGLInit () |
virtual void | SetMultiSamples (int) |
virtual int | GetMultiSamples () |
virtual unsigned char * | GetPixelData (int x, int y, int x2, int y2, int front) |
virtual void | SetPixelData (int x, int y, int x2, int y2, unsigned char *, int front) |
virtual float * | GetRGBAPixelData (int x, int y, int x2, int y2, int front) |
virtual void | SetRGBAPixelData (int x, int y, int x2, int y2, float *, int front, int blend=0) |
virtual void | ReleaseRGBAPixelData (float *data) |
virtual unsigned char * | GetRGBACharPixelData (int x, int y, int x2, int y2, int front) |
virtual void | SetRGBACharPixelData (int x, int y, int x2, int y2, unsigned char *, int front, int blend=0) |
virtual float * | GetZbufferData (int x1, int y1, int x2, int y2) |
virtual void | SetZbufferData (int x1, int y1, int x2, int y2, float *buffer) |
Static Public Methods | |
int | IsTypeOf (const char *type) |
vtkOpenGLRenderWindow * | SafeDownCast (vtkObject *o) |
void | SetGlobalMaximumNumberOfMultiSamples (int val) |
int | GetGlobalMaximumNumberOfMultiSamples () |
Protected Methods | |
vtkOpenGLRenderWindow () | |
~vtkOpenGLRenderWindow () | |
Protected Attributes | |
int | MultiSamples |
long | OldMonitorSetting |
vtkIdList * | TextureResourceIds |
vtkOpenGLRenderWindow is a concrete implementation of the abstract class vtkRenderWindow. vtkOpenGLRenderer interfaces to the OpenGL graphics library. Application programmers should normally use vtkRenderWindow instead of the OpenGL specific version.
Definition at line 65 of file vtkOpenGLRenderWindow.h.
|
|
|
|
|
Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkRenderWindow. Reimplemented in vtkWin32OpenGLRenderWindow, and vtkXOpenGLRenderWindow. |
|
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 vtkRenderWindow. Reimplemented in vtkWin32OpenGLRenderWindow, and vtkXOpenGLRenderWindow. |
|
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 vtkRenderWindow. Reimplemented in vtkWin32OpenGLRenderWindow, and vtkXOpenGLRenderWindow. |
|
Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkRenderWindow. Reimplemented in vtkWin32OpenGLRenderWindow, and vtkXOpenGLRenderWindow. |
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from vtkRenderWindow. Reimplemented in vtkWin32OpenGLRenderWindow, and vtkXOpenGLRenderWindow. |
|
Set/Get the maximum number of multisamples |
|
Set/Get the maximum number of multisamples |
|
Set / Get the number of multisamples to use for hardware antialiasing. |
|
Set / Get the number of multisamples to use for hardware antialiasing. |
|
Update system if needed due to stereo rendering. Reimplemented from vtkRenderWindow. |
|
Set/Get the pixel data of an image, transmitted as RGBRGB... Reimplemented from vtkWindow. |
|
Set/Get the pixel data of an image, transmitted as RGBRGB... Reimplemented from vtkRenderWindow. |
|
Set/Get the pixel data of an image, transmitted as RGBARGBA... Reimplemented from vtkRenderWindow. |
|
Set/Get the pixel data of an image, transmitted as RGBARGBA... Reimplemented from vtkRenderWindow. |
|
Set/Get the pixel data of an image, transmitted as RGBARGBA... |
|
Set/Get the pixel data of an image, transmitted as RGBARGBA... Reimplemented from vtkRenderWindow. |
|
Set/Get the pixel data of an image, transmitted as RGBARGBA... Reimplemented from vtkRenderWindow. |
|
Set/Get the zbuffer data from an image Reimplemented from vtkRenderWindow. |
|
Set/Get the zbuffer data from an image Reimplemented from vtkRenderWindow. |
|
Make this window the current OpenGL context. Reimplemented from vtkRenderWindow. Reimplemented in vtkWin32OpenGLRenderWindow, and vtkXOpenGLRenderWindow. |
|
Register a texture name with this render window. |
|
Get the size of the depth buffer. Reimplemented from vtkRenderWindow. |
|
Initialize OpenGL for this window. |
|
Definition at line 68 of file vtkOpenGLRenderWindow.h. |
|
Definition at line 69 of file vtkOpenGLRenderWindow.h. |
|
Definition at line 132 of file vtkOpenGLRenderWindow.h. |