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

vtkQuartzImageWindow Class Reference

OpenGL Imageing window. More...

#include <vtkQuartzImageWindow.h>

Inheritance diagram for vtkQuartzImageWindow:

Inheritance graph
[legend]
Collaboration diagram for vtkQuartzImageWindow:

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)
vtkQuartzImageWindow * GetOutput ()
virtual void MakeDefaultWindow ()
void SwapBuffers ()
void Frame ()
void Render ()
virtual void SetSize (int, int)
virtual int * GetSize ()
virtual void SetPosition (int, int)
virtual int * GetPosition ()
virtual void SetWindowName (char *)
virtual void * GetGenericDisplayId ()
virtual void * GetGenericWindowId ()
virtual void * GetGenericParentId ()
virtual void * GetGenericContext ()
virtual void SetDisplayId (void *)
virtual void * GetWindowId ()
virtual void SetWindowId (void *)
virtual void SetParentId (void *)
void SetContextId (void *)
void SetDeviceContext (void *)
void MakeCurrent ()
void Clean ()
virtual void SetNextWindowId (void *)
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)
void SetupMemoryRendering (int x, int y, void *prn)
void ResumeScreenRendering ()
void * GetMemoryDC ()
unsigned char * GetMemoryData ()
virtual void OpenGLInit ()
virtual void SetupPalette (void *hDC)
virtual void SetupPixelFormat (void *hDC, int dwFlags, int debug, int bpp=16, int zbpp=16)

Static Public Methods

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

Protected Methods

 vtkQuartzImageWindow ()
 ~vtkQuartzImageWindow ()

Protected Attributes

void * ApplicationInstance
void * Palette
void * OldPalette
void * ContextId
void * DeviceContext
void * WindowId
void * ParentId
void * NextWindowId
int OwnWindow
int ScreenSize [2]
void * MemoryDataHeader
void * MemoryBuffer
unsigned char * MemoryData
void * MemoryHdc
int ScreenMapped
int ScreenWindowSize [2]
void * ScreenDeviceContext
int ScreenDoubleBuffer
void * ScreenContextId

Detailed Description

OpenGL Imageing window.

Date:
2001/11/13 14:17:27
Revision:
1.4

vtkQuartzImageWindow is a concrete implementation of the abstract class vtkImageWindow. vtkWin32OpenGLImageer interfaces to the standard OpenGL graphics library in the Windows/NT environment..

Definition at line 58 of file vtkQuartzImageWindow.h.


Constructor & Destructor Documentation

vtkQuartzImageWindow::vtkQuartzImageWindow   [protected]
 

vtkQuartzImageWindow::~vtkQuartzImageWindow   [protected]
 


Member Function Documentation

vtkQuartzImageWindow* vtkQuartzImageWindow::New   [static]
 

Creates a vtkImageWindow with background erasing disabled and gray scale hint off

Reimplemented from vtkImageWindow.

virtual const char* vtkQuartzImageWindow::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 vtkImageWindow.

int vtkQuartzImageWindow::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 vtkImageWindow.

virtual int vtkQuartzImageWindow::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 vtkImageWindow.

vtkQuartzImageWindow* vtkQuartzImageWindow::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 vtkImageWindow.

void vtkQuartzImageWindow::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 vtkImageWindow.

vtkQuartzImageWindow* vtkQuartzImageWindow::GetOutput   [inline]
 

Definition at line 66 of file vtkQuartzImageWindow.h.

virtual void vtkQuartzImageWindow::MakeDefaultWindow   [virtual]
 

Initialize the window for rendering.

Reimplemented from vtkImageWindow.

void vtkQuartzImageWindow::SwapBuffers   [virtual]
 

Swap the front and back buffers if double buffering is being used.

Reimplemented from vtkImageWindow.

void vtkQuartzImageWindow::Frame   [virtual]
 

Flush the buffer and swap if necessary

Reimplemented from vtkImageWindow.

void vtkQuartzImageWindow::Render void    [virtual]
 

Draw the contents of the window

Reimplemented from vtkImageWindow.

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

Set the size of the window.

Reimplemented from vtkImageWindow.

virtual int* vtkQuartzImageWindow::GetSize   [virtual]
 

Get the current size of the window.

Reimplemented from vtkImageWindow.

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

Set the position of the window.

Reimplemented from vtkImageWindow.

virtual int* vtkQuartzImageWindow::GetPosition   [virtual]
 

Get the position in screen coordinates of the window.

Reimplemented from vtkImageWindow.

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

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

Reimplemented from vtkWindow.

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

These are here for using a tk window.

Reimplemented from vtkImageWindow.

Definition at line 97 of file vtkQuartzImageWindow.h.

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

These are here for using a tk window.

Reimplemented from vtkImageWindow.

Definition at line 98 of file vtkQuartzImageWindow.h.

virtual void* vtkQuartzImageWindow::GetGenericParentId   [inline, virtual]
 

These are here for using a tk window.

Reimplemented from vtkImageWindow.

Definition at line 99 of file vtkQuartzImageWindow.h.

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

These are here for using a tk window.

Reimplemented from vtkImageWindow.

Definition at line 100 of file vtkQuartzImageWindow.h.

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

These are here for using a tk window.

Reimplemented from vtkImageWindow.

Definition at line 101 of file vtkQuartzImageWindow.h.

virtual void* vtkQuartzImageWindow::GetWindowId   [virtual]
 

Get the window id.

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

Set the window id to a pre-existing window.

Reimplemented from vtkImageWindow.

virtual void vtkQuartzImageWindow::SetParentId void *    foo [virtual]
 

Set the window's parent id to a pre-existing window.

Reimplemented from vtkImageWindow.

void vtkQuartzImageWindow::SetContextId void *   
 

void vtkQuartzImageWindow::SetDeviceContext void *   
 

virtual void vtkQuartzImageWindow::SetNextWindowId void *    [virtual]
 

Set the window id of the new window once a WindowRemap is done.

virtual unsigned char* vtkQuartzImageWindow::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 vtkQuartzImageWindow::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...

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

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

virtual void vtkQuartzImageWindow::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...

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

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

void vtkQuartzImageWindow::MakeCurrent   [virtual]
 

Make this windows OpenGL context the current context.

Reimplemented from vtkImageWindow.

void vtkQuartzImageWindow::SetupMemoryRendering int    x,
int    y,
void *    prn
 

These methods can be used by MFC applications to support print preview and printing, or more general rendering into memory.

void vtkQuartzImageWindow::ResumeScreenRendering  
 

These methods can be used by MFC applications to support print preview and printing, or more general rendering into memory.

void* vtkQuartzImageWindow::GetMemoryDC  
 

These methods can be used by MFC applications to support print preview and printing, or more general rendering into memory.

unsigned char* vtkQuartzImageWindow::GetMemoryData   [inline]
 

These methods can be used by MFC applications to support print preview and printing, or more general rendering into memory.

Definition at line 145 of file vtkQuartzImageWindow.h.

virtual void vtkQuartzImageWindow::OpenGLInit   [virtual]
 

Initialize OpenGL for this window.

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

Initialize OpenGL for this window.

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

Initialize OpenGL for this window.

void vtkQuartzImageWindow::Clean  
 

Clean up device contexts, rendering contexts, etc.


Member Data Documentation

void* vtkQuartzImageWindow::ApplicationInstance [protected]
 

Definition at line 163 of file vtkQuartzImageWindow.h.

void* vtkQuartzImageWindow::Palette [protected]
 

Definition at line 164 of file vtkQuartzImageWindow.h.

void* vtkQuartzImageWindow::OldPalette [protected]
 

Definition at line 165 of file vtkQuartzImageWindow.h.

void* vtkQuartzImageWindow::ContextId [protected]
 

Definition at line 166 of file vtkQuartzImageWindow.h.

void* vtkQuartzImageWindow::DeviceContext [protected]
 

Definition at line 167 of file vtkQuartzImageWindow.h.

void* vtkQuartzImageWindow::WindowId [protected]
 

Definition at line 168 of file vtkQuartzImageWindow.h.

void* vtkQuartzImageWindow::ParentId [protected]
 

Definition at line 169 of file vtkQuartzImageWindow.h.

void* vtkQuartzImageWindow::NextWindowId [protected]
 

Definition at line 170 of file vtkQuartzImageWindow.h.

int vtkQuartzImageWindow::OwnWindow [protected]
 

Definition at line 171 of file vtkQuartzImageWindow.h.

int vtkQuartzImageWindow::ScreenSize[2] [protected]
 

Definition at line 172 of file vtkQuartzImageWindow.h.

void* vtkQuartzImageWindow::MemoryDataHeader [protected]
 

Definition at line 175 of file vtkQuartzImageWindow.h.

void* vtkQuartzImageWindow::MemoryBuffer [protected]
 

Definition at line 176 of file vtkQuartzImageWindow.h.

unsigned char* vtkQuartzImageWindow::MemoryData [protected]
 

Definition at line 177 of file vtkQuartzImageWindow.h.

void* vtkQuartzImageWindow::MemoryHdc [protected]
 

Definition at line 178 of file vtkQuartzImageWindow.h.

int vtkQuartzImageWindow::ScreenMapped [protected]
 

Definition at line 180 of file vtkQuartzImageWindow.h.

int vtkQuartzImageWindow::ScreenWindowSize[2] [protected]
 

Definition at line 181 of file vtkQuartzImageWindow.h.

void* vtkQuartzImageWindow::ScreenDeviceContext [protected]
 

Definition at line 182 of file vtkQuartzImageWindow.h.

int vtkQuartzImageWindow::ScreenDoubleBuffer [protected]
 

Definition at line 183 of file vtkQuartzImageWindow.h.

void* vtkQuartzImageWindow::ScreenContextId [protected]
 

Definition at line 184 of file vtkQuartzImageWindow.h.


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