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

vtkQuartzRenderWindow Class Reference

OpenGL rendering window. More...

#include <vtkQuartzRenderWindow.h>

Inheritance diagram for vtkQuartzRenderWindow:

Inheritance graph
[legend]
Collaboration diagram for vtkQuartzRenderWindow:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
void Start (void)
void Frame (void)
virtual void WindowConfigure (void)
virtual void WindowInitialize (void)
virtual void Initialize (void)
virtual void SetFullScreen (int)
virtual void WindowRemap (void)
virtual void PrefFullScreen (void)
virtual void SetSize (int, int)
virtual int * GetSize ()
virtual void SetPosition (int, int)
virtual int * GetScreenSize ()
virtual int * GetPosition ()
virtual void SetWindowName (char *)
void SetWindowInfo (void *)
virtual void * GetGenericDisplayId ()
virtual void * GetGenericWindowId ()
virtual void * GetGenericContext ()
virtual void SetDisplayId (void *)
virtual void * GetWindowId ()
virtual void SetWindowId (void *)
void SetContextId (void *)
void SetDeviceContext (void *)
virtual void SetMultiSamples (int)
virtual int GetMultiSamples ()
virtual void StereoUpdate ()
virtual void SetStereoCapableWindow (int capable)
void MakeCurrent ()
virtual int GetEventPending ()
void Clean ()
void RegisterTextureResource (GLuint id)
int GetDepthBufferSize ()
void UpdateSizeAndPosition (int xPos, int yPos, int xSize, int ySize)
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 float * GetZbufferData (int x1, int y1, int x2, int y2)
virtual void SetZbufferData (int x1, int y1, int x2, int y2, float *buffer)
virtual void OpenGLInit ()
virtual void SetupPalette (void *hDC)
virtual void SetupPixelFormat (void *hDC, void *dwFlags, int debug, int bpp=16, int zbpp=16)
void HideCursor ()
void ShowCursor ()

Static Public Methods

vtkQuartzRenderWindow * New ()
int IsTypeOf (const char *type)
vtkQuartzRenderWindow * SafeDownCast (vtkObject *o)

Protected Methods

 vtkQuartzRenderWindow ()
 ~vtkQuartzRenderWindow ()

Protected Attributes

int ApplicationInitialized
void * ContextId
void * DeviceContext
void * WindowId
void * WindowController
int OwnWindow
int ScreenSize [2]
int MultiSamples
vtkIdListTextureResourceIds
int ScreenMapped
int ScreenWindowSize [2]
void * ScreenDeviceContext
int ScreenDoubleBuffer
void * ScreenContextId
int CursorHidden

Detailed Description

OpenGL rendering window.

Date:
2001/12/11 14:14:10
Revision:
1.6.2.1

vtkQuartzRenderWindow is a concrete implementation of the abstract class vtkRenderWindow. vtkQuartzRenderer interfaces to the standard OpenGL graphics library in the Windows/NT environment..

Definition at line 62 of file vtkQuartzRenderWindow.h.


Constructor & Destructor Documentation

vtkQuartzRenderWindow::vtkQuartzRenderWindow   [protected]
 

vtkQuartzRenderWindow::~vtkQuartzRenderWindow   [protected]
 


Member Function Documentation

vtkQuartzRenderWindow* vtkQuartzRenderWindow::New   [static]
 

Construct an instance of vtkRenderWindow with its screen size set to 300x300, borders turned on, positioned at (0,0), double buffering turned on.

Reimplemented from vtkRenderWindow.

virtual const char* vtkQuartzRenderWindow::GetClassName   [virtual]
 

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.

int vtkQuartzRenderWindow::IsTypeOf const char *    type [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 vtkRenderWindow.

virtual int vtkQuartzRenderWindow::IsA const char *    type [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 vtkRenderWindow.

vtkQuartzRenderWindow* vtkQuartzRenderWindow::SafeDownCast vtkObject   o [static]
 

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.

void vtkQuartzRenderWindow::PrintSelf ostream &    os,
vtkIndent    indent
[virtual]
 

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.

void vtkQuartzRenderWindow::Start void    [virtual]
 

Begin the rendering process.

Reimplemented from vtkRenderWindow.

void vtkQuartzRenderWindow::Frame void    [virtual]
 

End the rendering process and display the image.

Reimplemented from vtkRenderWindow.

virtual void vtkQuartzRenderWindow::WindowConfigure void    [virtual]
 

Specify various window parameters.

virtual void vtkQuartzRenderWindow::WindowInitialize void    [virtual]
 

Initialize the window for rendering.

virtual void vtkQuartzRenderWindow::Initialize void    [virtual]
 

Initialize the rendering window.

virtual void vtkQuartzRenderWindow::SetFullScreen int    [virtual]
 

Change the window to fill the entire screen.

Reimplemented from vtkRenderWindow.

virtual void vtkQuartzRenderWindow::WindowRemap void    [virtual]
 

Remap the window.

Reimplemented from vtkRenderWindow.

virtual void vtkQuartzRenderWindow::PrefFullScreen void    [virtual]
 

Set the preferred window size to full screen.

virtual void vtkQuartzRenderWindow::SetSize int    x,
int    y
[virtual]
 

Set the size of the window.

Reimplemented from vtkWindow.

virtual int* vtkQuartzRenderWindow::GetSize   [virtual]
 

Get the current size of the window.

Reimplemented from vtkWindow.

virtual void vtkQuartzRenderWindow::SetPosition int    x,
int    y
[virtual]
 

Set the position of the window.

Reimplemented from vtkWindow.

virtual int* vtkQuartzRenderWindow::GetScreenSize   [virtual]
 

Return the scrren size.

virtual int* vtkQuartzRenderWindow::GetPosition   [virtual]
 

Get the position in screen coordinates of the window.

Reimplemented from vtkWindow.

virtual void vtkQuartzRenderWindow::SetWindowName char *    name [virtual]
 

Set the name of the window. This appears at the top of the window normally.

Reimplemented from vtkWindow.

void vtkQuartzRenderWindow::SetWindowInfo void *   
 

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

virtual void* vtkQuartzRenderWindow::GetGenericDisplayId   [inline, virtual]
 

Dummy stubs for vtkWindow API.

Reimplemented from vtkRenderWindow.

Definition at line 116 of file vtkQuartzRenderWindow.h.

virtual void* vtkQuartzRenderWindow::GetGenericWindowId   [inline, virtual]
 

Dummy stubs for vtkWindow API.

Reimplemented from vtkRenderWindow.

Definition at line 117 of file vtkQuartzRenderWindow.h.

virtual void* vtkQuartzRenderWindow::GetGenericContext   [inline, virtual]
 

Dummy stubs for vtkWindow API.

Reimplemented from vtkRenderWindow.

Definition at line 118 of file vtkQuartzRenderWindow.h.

virtual void vtkQuartzRenderWindow::SetDisplayId void *    foo [inline, virtual]
 

Dummy stubs for vtkWindow API.

Reimplemented from vtkRenderWindow.

Definition at line 119 of file vtkQuartzRenderWindow.h.

virtual void* vtkQuartzRenderWindow::GetWindowId   [virtual]
 

Get the window id.

virtual void vtkQuartzRenderWindow::SetWindowId void *    foo [virtual]
 

Set the window id to a pre-existing window.

Reimplemented from vtkRenderWindow.

void vtkQuartzRenderWindow::SetContextId void *   
 

void vtkQuartzRenderWindow::SetDeviceContext void *   
 

virtual void vtkQuartzRenderWindow::SetMultiSamples int    [virtual]
 

virtual int vtkQuartzRenderWindow::GetMultiSamples   [virtual]
 

virtual void vtkQuartzRenderWindow::StereoUpdate   [virtual]
 

Update system if needed due to stereo rendering.

Reimplemented from vtkRenderWindow.

virtual void vtkQuartzRenderWindow::SetStereoCapableWindow int    capable [virtual]
 

Prescribe that the window be created in a stereo-capable mode. This method must be called before the window is realized. This method overrrides the superclass method since this class can actually check whether the window has been realized yet.

Reimplemented from vtkRenderWindow.

virtual unsigned char* vtkQuartzRenderWindow::GetPixelData int    x,
int    y,
int    x2,
int    y2,
int    front
[virtual]
 

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

Reimplemented from vtkWindow.

virtual void vtkQuartzRenderWindow::SetPixelData int    x,
int    y,
int    x2,
int    y2,
unsigned char *   ,
int    front
[virtual]
 

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

Reimplemented from vtkRenderWindow.

virtual float* vtkQuartzRenderWindow::GetRGBAPixelData int    x,
int    y,
int    x2,
int    y2,
int    front
[virtual]
 

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

Reimplemented from vtkRenderWindow.

virtual void vtkQuartzRenderWindow::SetRGBAPixelData int    x,
int    y,
int    x2,
int    y2,
float *   ,
int    front,
int    blend = 0
[virtual]
 

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

Reimplemented from vtkRenderWindow.

virtual void vtkQuartzRenderWindow::ReleaseRGBAPixelData float *    data [virtual]
 

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

virtual float* vtkQuartzRenderWindow::GetZbufferData int    x1,
int    y1,
int    x2,
int    y2
[virtual]
 

Set/Get the zbuffer data from an image

Reimplemented from vtkRenderWindow.

virtual void vtkQuartzRenderWindow::SetZbufferData int    x1,
int    y1,
int    x2,
int    y2,
float *    buffer
[virtual]
 

Set/Get the zbuffer data from an image

Reimplemented from vtkRenderWindow.

void vtkQuartzRenderWindow::MakeCurrent   [virtual]
 

Make this windows OpenGL context the current context.

Reimplemented from vtkRenderWindow.

virtual int vtkQuartzRenderWindow::GetEventPending   [virtual]
 

Check to see if an event is pending for this window. This is a useful check to abort a long render.

Reimplemented from vtkRenderWindow.

virtual void vtkQuartzRenderWindow::OpenGLInit   [virtual]
 

Initialize OpenGL for this window.

virtual void vtkQuartzRenderWindow::SetupPalette void *    hDC [virtual]
 

Initialize OpenGL for this window.

virtual void vtkQuartzRenderWindow::SetupPixelFormat void *    hDC,
void *    dwFlags,
int    debug,
int    bpp = 16,
int    zbpp = 16
[virtual]
 

Initialize OpenGL for this window.

void vtkQuartzRenderWindow::Clean  
 

Clean up device contexts, rendering contexts, etc.

void vtkQuartzRenderWindow::RegisterTextureResource GLuint    id
 

Register a texture name with this render window

int vtkQuartzRenderWindow::GetDepthBufferSize   [virtual]
 

Get the size of the depth buffer.

Reimplemented from vtkRenderWindow.

void vtkQuartzRenderWindow::HideCursor   [virtual]
 

Hide or Show the mouse cursor, it is nice to be able to hide the default cursor if you want VTK to display a 3D cursor instead.

Reimplemented from vtkRenderWindow.

void vtkQuartzRenderWindow::ShowCursor   [virtual]
 

Hide or Show the mouse cursor, it is nice to be able to hide the default cursor if you want VTK to display a 3D cursor instead.

Reimplemented from vtkRenderWindow.

void vtkQuartzRenderWindow::UpdateSizeAndPosition int    xPos,
int    yPos,
int    xSize,
int    ySize
 


Member Data Documentation

int vtkQuartzRenderWindow::ApplicationInitialized [protected]
 

Definition at line 209 of file vtkQuartzRenderWindow.h.

void* vtkQuartzRenderWindow::ContextId [protected]
 

Definition at line 210 of file vtkQuartzRenderWindow.h.

void* vtkQuartzRenderWindow::DeviceContext [protected]
 

Definition at line 211 of file vtkQuartzRenderWindow.h.

void* vtkQuartzRenderWindow::WindowId [protected]
 

Definition at line 212 of file vtkQuartzRenderWindow.h.

void* vtkQuartzRenderWindow::WindowController [protected]
 

Definition at line 213 of file vtkQuartzRenderWindow.h.

int vtkQuartzRenderWindow::OwnWindow [protected]
 

Definition at line 214 of file vtkQuartzRenderWindow.h.

int vtkQuartzRenderWindow::ScreenSize[2] [protected]
 

Definition at line 215 of file vtkQuartzRenderWindow.h.

int vtkQuartzRenderWindow::MultiSamples [protected]
 

Definition at line 216 of file vtkQuartzRenderWindow.h.

vtkIdList* vtkQuartzRenderWindow::TextureResourceIds [protected]
 

Definition at line 217 of file vtkQuartzRenderWindow.h.

int vtkQuartzRenderWindow::ScreenMapped [protected]
 

Definition at line 225 of file vtkQuartzRenderWindow.h.

int vtkQuartzRenderWindow::ScreenWindowSize[2] [protected]
 

Definition at line 226 of file vtkQuartzRenderWindow.h.

void* vtkQuartzRenderWindow::ScreenDeviceContext [protected]
 

Definition at line 227 of file vtkQuartzRenderWindow.h.

int vtkQuartzRenderWindow::ScreenDoubleBuffer [protected]
 

Definition at line 228 of file vtkQuartzRenderWindow.h.

void* vtkQuartzRenderWindow::ScreenContextId [protected]
 

Definition at line 229 of file vtkQuartzRenderWindow.h.

int vtkQuartzRenderWindow::CursorHidden [protected]
 

Definition at line 231 of file vtkQuartzRenderWindow.h.


The documentation for this class was generated from the following file:
Generated on Thu Mar 28 14:40:47 2002 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001