#include <vtkImageWindow.h>
Inheritance diagram for vtkImageWindow:
Public Methods | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
virtual void | SetPosition (int x, int y)=0 |
virtual void | SetPosition (int a[2]) |
virtual int * | GetPosition ()=0 |
virtual void | GetPosition (int *x, int *y) |
virtual void | SetSize (int, int)=0 |
virtual void | SetSize (int a[2]) |
virtual int * | GetSize ()=0 |
virtual void | GetSize (int *x, int *y) |
virtual void | SetDisplayId (void *)=0 |
virtual void | SetWindowId (void *)=0 |
virtual void | SetParentId (void *)=0 |
virtual void * | GetGenericDisplayId ()=0 |
virtual void * | GetGenericWindowId ()=0 |
virtual void * | GetGenericParentId ()=0 |
virtual void * | GetGenericContext ()=0 |
virtual void * | GetGenericDrawable () |
virtual void | SwapBuffers ()=0 |
virtual void | Frame ()=0 |
virtual void | SetWindowInfo (char *) |
virtual void | SetGrayScaleHint (int) |
virtual int | GetGrayScaleHint () |
virtual void | GrayScaleHintOn () |
virtual void | GrayScaleHintOff () |
void | AddImager (vtkImager *im) |
vtkImagerCollection * | GetImagers () |
void | RemoveImager (vtkImager *im) |
virtual void | Render () |
virtual void | EraseWindow () |
virtual void | SaveImageAsPPM () |
virtual int | OpenPPMImageFile () |
virtual void | WritePPMImageFile () |
virtual void | ClosePPMImageFile () |
virtual void | SetFileName (const char *) |
virtual char * | GetFileName () |
virtual void | MakeCurrent () |
Static Public Methods | |
vtkImageWindow * | New () |
int | IsTypeOf (const char *type) |
vtkImageWindow * | SafeDownCast (vtkObject *o) |
Protected Methods | |
vtkImageWindow () | |
~vtkImageWindow () | |
vtkImageWindow (const vtkImageWindow &) | |
void | operator= (const vtkImageWindow &) |
virtual void | MakeDefaultWindow ()=0 |
Protected Attributes | |
vtkImagerCollection * | Imagers |
int | WindowCreated |
int | GrayScaleHint |
char * | FileName |
FILE * | PPMImageFilePtr |
Definition at line 68 of file vtkImageWindow.h.
|
|
|
|
|
Definition at line 157 of file vtkImageWindow.h. |
|
Creates a vtkImageWindow with background erasing disabled and gray scale hint off Reimplemented from vtkObject. Reimplemented in vtkMesaImageWindow, vtkOpenGLImageWindow, vtkWin32ImageWindow, vtkWin32OpenGLImageWindow, and vtkXImageWindow. |
|
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 vtkWindow. Reimplemented in vtkMesaImageWindow, vtkOpenGLImageWindow, vtkWin32ImageWindow, vtkWin32OpenGLImageWindow, and vtkXImageWindow. |
|
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 vtkWindow. Reimplemented in vtkMesaImageWindow, vtkOpenGLImageWindow, vtkWin32ImageWindow, vtkWin32OpenGLImageWindow, and vtkXImageWindow. |
|
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 vtkWindow. Reimplemented in vtkMesaImageWindow, vtkOpenGLImageWindow, vtkWin32ImageWindow, vtkWin32OpenGLImageWindow, and vtkXImageWindow. |
|
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 vtkWindow. Reimplemented in vtkMesaImageWindow, vtkOpenGLImageWindow, vtkWin32ImageWindow, vtkWin32OpenGLImageWindow, and vtkXImageWindow. |
|
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 vtkWindow. Reimplemented in vtkMesaImageWindow, vtkOpenGLImageWindow, vtkWin32ImageWindow, vtkWin32OpenGLImageWindow, and vtkXImageWindow. |
|
Set the position of the window on the screen Reimplemented from vtkWindow. Reimplemented in vtkWin32ImageWindow, vtkWin32OpenGLImageWindow, and vtkXImageWindow. Referenced by vtkXImageWindow::SetPosition().
|
|
Reimplemented from vtkWindow. Reimplemented in vtkXImageWindow. Definition at line 80 of file vtkImageWindow.h. |
|
Get the position of the window on the screen Reimplemented from vtkWindow. Reimplemented in vtkWin32ImageWindow, vtkWin32OpenGLImageWindow, and vtkXImageWindow. Referenced by vtkXImageWindow::GetPosition().
|
|
Reimplemented in vtkXImageWindow. |
|
Sets the size of a window in pixels. Reimplemented from vtkWindow. Reimplemented in vtkWin32ImageWindow, vtkWin32OpenGLImageWindow, and vtkXImageWindow. Referenced by vtkXImageWindow::SetSize().
|
|
Reimplemented from vtkWindow. Reimplemented in vtkXImageWindow. Definition at line 88 of file vtkImageWindow.h. |
|
Returns the size of a window in pixels Reimplemented from vtkWindow. Reimplemented in vtkWin32ImageWindow, vtkWin32OpenGLImageWindow, and vtkXImageWindow. Referenced by vtkXImageWindow::GetSize().
|
|
Reimplemented in vtkXImageWindow. |
|
These are here for using a tk window. Reimplemented from vtkWindow. Reimplemented in vtkWin32ImageWindow, vtkWin32OpenGLImageWindow, and vtkXImageWindow. |
|
Reimplemented from vtkWindow. Reimplemented in vtkWin32ImageWindow, vtkWin32OpenGLImageWindow, and vtkXImageWindow. Referenced by vtkWin32OpenGLImageWindow::SetWindowId().
|
|
Reimplemented from vtkWindow. Reimplemented in vtkWin32ImageWindow, vtkWin32OpenGLImageWindow, and vtkXImageWindow. Referenced by vtkWin32OpenGLImageWindow::SetParentId().
|
|
Reimplemented from vtkWindow. Reimplemented in vtkMesaImageWindow, vtkOpenGLImageWindow, vtkWin32ImageWindow, vtkWin32OpenGLImageWindow, and vtkXImageWindow. |
|
Reimplemented from vtkWindow. Reimplemented in vtkMesaImageWindow, vtkOpenGLImageWindow, vtkWin32ImageWindow, vtkWin32OpenGLImageWindow, and vtkXImageWindow. |
|
Reimplemented from vtkWindow. Reimplemented in vtkMesaImageWindow, vtkOpenGLImageWindow, vtkWin32ImageWindow, vtkWin32OpenGLImageWindow, and vtkXImageWindow. |
|
Reimplemented from vtkWindow. Reimplemented in vtkMesaImageWindow, vtkOpenGLImageWindow, vtkWin32ImageWindow, vtkWin32OpenGLImageWindow, and vtkXImageWindow. |
|
Reimplemented from vtkWindow. Reimplemented in vtkMesaImageWindow, vtkOpenGLImageWindow, and vtkXImageWindow. Definition at line 102 of file vtkImageWindow.h. |
|
Swap the front and back buffers. This function is used to implement double buffering. The user shouldn't need to call this function. To enable double buffering, invoke DoubleBufferOn Reimplemented in vtkMesaImageWindow, vtkOpenGLImageWindow, vtkWin32ImageWindow, vtkWin32OpenGLImageWindow, and vtkXImageWindow. |
|
Flush the buffer and swap if necessary. Reimplemented in vtkMesaImageWindow, vtkOpenGLImageWindow, vtkWin32ImageWindow, vtkWin32OpenGLImageWindow, and vtkXImageWindow. |
|
useful for scripting languages Reimplemented from vtkWindow. Definition at line 113 of file vtkImageWindow.h. |
|
By default this is a color viewer. GrayScaleHintOn will improve the appearance of gray scale images on some systems. |
|
|
|
|
|
|
|
Add an imager to the window's list of imagers to be rendered. |
|
Return the collection of imagers for this window. Definition at line 126 of file vtkImageWindow.h. |
|
Remove an imager from the window |
|
Draw the contents of the window Reimplemented from vtkWindow. Reimplemented in vtkMesaImageWindow, vtkOpenGLImageWindow, and vtkWin32OpenGLImageWindow. |
|
Erase the window contents Reimplemented in vtkMesaImageWindow, vtkOpenGLImageWindow, vtkWin32ImageWindow, and vtkXImageWindow. Referenced by vtkOpenGLImageWindow::EraseWindow(), and vtkMesaImageWindow::EraseWindow().
|
|
Save the current image as a PPM file. |
|
Open/Write/Close a PPM file |
|
|
|
|
|
Set/Get the FileName used for saving images. See the SaveImageAsPPM method. |
|
|
|
Make this window current. Overridden in subclasses to do, for example, glXMakeCurrent or wglMakeCurrent Reimplemented from vtkWindow. Reimplemented in vtkMesaImageWindow, vtkOpenGLImageWindow, and vtkWin32OpenGLImageWindow. Definition at line 152 of file vtkImageWindow.h. |
|
Definition at line 158 of file vtkImageWindow.h. |
|
Reimplemented in vtkMesaImageWindow, vtkOpenGLImageWindow, vtkWin32ImageWindow, vtkWin32OpenGLImageWindow, and vtkXImageWindow. |
|
Definition at line 160 of file vtkImageWindow.h. |
|
Definition at line 161 of file vtkImageWindow.h. |
|
Definition at line 162 of file vtkImageWindow.h. |
|
Definition at line 164 of file vtkImageWindow.h. |
|
Definition at line 165 of file vtkImageWindow.h. |