Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

vtkQtRenderWindow Class Reference

a rendering window for the Qt GUI framework. More...

#include <vtkQtRenderWindow.h>

Inheritance diagram for vtkQtRenderWindow

Inheritance graph

[legend]
List of all members.

Public Methods

 vtkQtRenderWindow (QWidget *parent = 0, const char* name = 0, const QGLWidget *shareWidget = 0, WFlags f = 0)
 vtkQtRenderWindow (const QGLFormat &format, QWidget *parent = 0, const char *name = 0, const QGLWidget *shareWidget = 0, WFlags f = 0)
 ~vtkQtRenderWindow ()
virtual const char* GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream& os, vtkIndent indent)
virtual void* GetGenericDisplayId ()
virtual void* GetGenericWindowId ()
virtual void* GetGenericDrawable ()
Display* GetDisplayId ()
void SetDisplayId (Display *)
void SetDisplayId (void *)
Window GetWindowId ()
void SetWindowId (Window)
void SetWindowId (void *)
void SetWindowInfo (char *info)
virtual void SetMultiSamples ( int )
virtual int GetMultiSamples ()
unsigned char* GetPixelData (int x,int y,int x2,int y2,int front)
void SetPixelData (int x,int y,int x2,int y2,unsigned char *, int front)
float* GetRGBAPixelData (int x,int y,int x2,int y2,int front)
void SetRGBAPixelData (int x,int y,int x2,int y2,float *,int front, int blend=0)
float* GetZbufferData ( int x1, int y1, int x2, int y2 )
void SetZbufferData ( int x1, int y1, int x2, int y2, float *buffer )
void Render ()
void MakeCurrent ()
void SetSize (int w,int h)
void SetSize (int a[2])
virtual int* GetSize ()
virtual void GetSize ( int &, int &)
virtual void GetSize ( int [2])
vtkRenderWindowInteractorMakeRenderWindowInteractor ()
void SetInteractor (vtkQtRenderWindowInteractor*)
QSizePolicy sizePolicy () const
QSize sizeHint () const
QSize minimumSizeHint () const
void initializeGL ()
void paintGL ()
void resizeGL (int, int)
virtual void mousePressEvent (QMouseEvent*)
virtual void mouseReleaseEvent (QMouseEvent*)
virtual void mouseMoveEvent (QMouseEvent*)
virtual void keyPressEvent (QKeyEvent*)
virtual void keyReleaseEvent (QKeyEvent*)
virtual void enterEvent ( QEvent * )
virtual void leaveEvent ( QEvent * )

Static Public Methods

vtkQtRenderWindow* New ()
void initApp ()
int IsTypeOf (const char *type)
vtkQtRenderWindow* SafeDownCast (vtkObject *o)
void SetGlobalMaximumNumberOfMultiSamples (int val)
int GetGlobalMaximumNumberOfMultiSamples ()

Protected Attributes

int MultiSamples
long OldMonitorSetting

Detailed Description

a rendering window for the Qt GUI framework.

Date: 2000/04/15 18:58:19
Revision: 1.6

vtkQtRenderWindow is a subclass of the abstract class vtkRenderWindow and of the QGLWidget. vtkQtRenderWindow interfaces to the Qt and provides some methods that are common to any vtkRenderWindow subclass that renders under X Windows. The vtkQtRenderWindow propagates events from Qt to vtkQtRenderWindowInteractor.

See also:
vtkRenderer vtkQtRenderWindowInteractor


Member Function Documentation

Display * GetDisplayId ( )
 

Get this RenderWindow's X display id.

void * GetGenericDisplayId ( ) [inline, virtual]
 

Xwindow get set functions

Reimplemented from vtkRenderWindow.

unsigned char * GetPixelData ( int x,
int y,
int x2,
int y2,
int front )
 

Set/Get the pixel data of an image, transmitted as RGBRGB...

float * GetRGBAPixelData ( int x,
int y,
int x2,
int y2,
int front )
 

Set/Get the pixel data of an image, transmitted as RGBARGBA...

Reimplemented from vtkRenderWindow.

Window GetWindowId ( )
 

Get this RenderWindow's X window id.

float * GetZbufferData ( int x1,
int y1,
int x2,
int y2 )
 

Set/Get the zbuffer data from an image

Reimplemented from vtkRenderWindow.

void MakeCurrent ( ) [inline]
 

Make this window the current OpenGL context.

Reimplemented from vtkRenderWindow.

void Render ( void ) [inline]
 

use updateGL, not Render

Reimplemented from vtkRenderWindow.

void SetDisplayId ( Display * )
 

Set the X display id for this RenderWindow to use to a pre-existing X display id.

void SetGlobalMaximumNumberOfMultiSamples ( int val ) [static]
 

Set/Get the maximum number of multisamples

void SetMultiSamples ( int ) [virtual]
 

Set / Get the number of multisamples to use for hardware antialiasing.

void SetSize ( int w,
int h ) [inline]
 

Specify the size of the rendering window.

void SetWindowId ( Window )
 

Set this RenderWindow's X window id to a pre-existing window.

void SetWindowInfo ( char * info )
 

Set this RenderWindow's X window id to a pre-existing window.

Reimplemented from vtkRenderWindow.


The documentation for this class was generated from the following file:
Generated at Tue Sep 26 18:34:00 2000 for Grid Edit by doxygen1.2.0 written by Dimitri van Heesch, © 1997-2000