#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 | SwapBuffers ()=0 |
virtual void | Frame ()=0 |
void | AddImager (vtkImager *im) |
vtkImagerCollection * | GetImagers () |
void | RemoveImager (vtkImager *im) |
virtual void | Render () |
virtual void | EraseWindow () |
virtual void | SaveImageAsPPM () |
virtual void | MakeCurrent () |
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 | SetWindowInfo (char *) |
virtual void | SetParentInfo (char *) |
virtual void | SetGrayScaleHint (int) |
virtual int | GetGrayScaleHint () |
virtual void | GrayScaleHintOn () |
virtual void | GrayScaleHintOff () |
virtual int | OpenPPMImageFile () |
virtual void | WritePPMImageFile () |
virtual void | ClosePPMImageFile () |
virtual void | SetFileName (const char *) |
virtual char * | GetFileName () |
Static Public Methods | |
vtkImageWindow * | New () |
int | IsTypeOf (const char *type) |
vtkImageWindow * | SafeDownCast (vtkObject *o) |
Protected Methods | |
vtkImageWindow () | |
~vtkImageWindow () | |
virtual void | MakeDefaultWindow ()=0 |
Protected Attributes | |
vtkImagerCollection * | Imagers |
int | WindowCreated |
int | GrayScaleHint |
char * | FileName |
FILE * | PPMImageFilePtr |
Definition at line 69 of file vtkImageWindow.h.
|
|
|
|
|
Creates a vtkImageWindow with background erasing disabled and gray scale hint off Reimplemented from vtkObject. Reimplemented in vtkMesaImageWindow, vtkOpenGLImageWindow, vtkQuartzImageWindow, 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, vtkQuartzImageWindow, 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, vtkQuartzImageWindow, 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, vtkQuartzImageWindow, 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, vtkQuartzImageWindow, 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, vtkQuartzImageWindow, vtkWin32ImageWindow, vtkWin32OpenGLImageWindow, and vtkXImageWindow. |
|
Set the position of the window on the screen Reimplemented from vtkWindow. Reimplemented in vtkQuartzImageWindow, vtkWin32ImageWindow, vtkWin32OpenGLImageWindow, and vtkXImageWindow. Referenced by vtkXImageWindow::SetPosition(), and vtkWin32OpenGLImageWindow::SetPosition().
|
|
Set the position of the window on the screen Reimplemented from vtkWindow. Reimplemented in vtkWin32OpenGLImageWindow, and vtkXImageWindow. Definition at line 82 of file vtkImageWindow.h. |
|
Get the position of the window on the screen Reimplemented from vtkWindow. Reimplemented in vtkQuartzImageWindow, vtkWin32ImageWindow, vtkWin32OpenGLImageWindow, and vtkXImageWindow. Referenced by vtkXImageWindow::GetPosition(), and vtkWin32OpenGLImageWindow::GetPosition().
|
|
Get the position of the window on the screen Reimplemented in vtkWin32OpenGLImageWindow, and vtkXImageWindow. |
|
Sets the size of a window in pixels. Reimplemented from vtkWindow. Reimplemented in vtkQuartzImageWindow, vtkWin32ImageWindow, vtkWin32OpenGLImageWindow, and vtkXImageWindow. Referenced by vtkXImageWindow::SetSize(), and vtkWin32OpenGLImageWindow::SetSize().
|
|
Sets the size of a window in pixels. Reimplemented from vtkWindow. Reimplemented in vtkWin32OpenGLImageWindow, and vtkXImageWindow. Definition at line 94 of file vtkImageWindow.h. |
|
Returns the size of a window in pixels Reimplemented from vtkWindow. Reimplemented in vtkQuartzImageWindow, vtkWin32ImageWindow, vtkWin32OpenGLImageWindow, and vtkXImageWindow. Referenced by vtkXImageWindow::GetSize(), and vtkWin32OpenGLImageWindow::GetSize().
|
|
Returns the size of a window in pixels Reimplemented in vtkWin32OpenGLImageWindow, and vtkXImageWindow. |
|
These are here for using a tk window. Reimplemented from vtkWindow. Reimplemented in vtkQuartzImageWindow, vtkWin32ImageWindow, vtkWin32OpenGLImageWindow, and vtkXImageWindow. |
|
These are here for using a tk window. Reimplemented from vtkWindow. Reimplemented in vtkQuartzImageWindow, vtkWin32ImageWindow, vtkWin32OpenGLImageWindow, and vtkXImageWindow. Referenced by vtkWin32OpenGLImageWindow::SetWindowId().
|
|
These are here for using a tk window. Reimplemented from vtkWindow. Reimplemented in vtkQuartzImageWindow, vtkWin32ImageWindow, vtkWin32OpenGLImageWindow, and vtkXImageWindow. Referenced by vtkWin32OpenGLImageWindow::SetParentId().
|
|
These are here for using a tk window. Reimplemented from vtkWindow. Reimplemented in vtkMesaImageWindow, vtkOpenGLImageWindow, vtkQuartzImageWindow, vtkWin32ImageWindow, vtkWin32OpenGLImageWindow, and vtkXImageWindow. |
|
These are here for using a tk window. Reimplemented from vtkWindow. Reimplemented in vtkMesaImageWindow, vtkOpenGLImageWindow, vtkQuartzImageWindow, vtkWin32ImageWindow, vtkWin32OpenGLImageWindow, and vtkXImageWindow. |
|
These are here for using a tk window. Reimplemented from vtkWindow. Reimplemented in vtkMesaImageWindow, vtkOpenGLImageWindow, vtkQuartzImageWindow, vtkWin32ImageWindow, vtkWin32OpenGLImageWindow, and vtkXImageWindow. |
|
These are here for using a tk window. Reimplemented from vtkWindow. Reimplemented in vtkMesaImageWindow, vtkOpenGLImageWindow, vtkQuartzImageWindow, vtkWin32ImageWindow, vtkWin32OpenGLImageWindow, and vtkXImageWindow. |
|
These are here for using a tk window. Reimplemented from vtkWindow. Reimplemented in vtkMesaImageWindow, vtkOpenGLImageWindow, and vtkXImageWindow. Definition at line 112 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, vtkQuartzImageWindow, vtkWin32ImageWindow, vtkWin32OpenGLImageWindow, and vtkXImageWindow. |
|
Flush the buffer and swap if necessary. Reimplemented in vtkMesaImageWindow, vtkOpenGLImageWindow, vtkQuartzImageWindow, vtkWin32ImageWindow, vtkWin32OpenGLImageWindow, and vtkXImageWindow. |
|
useful for scripting languages Reimplemented from vtkWindow. Reimplemented in vtkWin32ImageWindow, vtkWin32OpenGLImageWindow, and vtkXImageWindow. Definition at line 125 of file vtkImageWindow.h. |
|
useful for scripting languages Reimplemented from vtkWindow. Reimplemented in vtkWin32ImageWindow, vtkWin32OpenGLImageWindow, and vtkXImageWindow. Definition at line 127 of file vtkImageWindow.h. |
|
By default this is a color viewer. GrayScaleHintOn will improve the appearance of gray scale images on some systems. |
|
By default this is a color viewer. GrayScaleHintOn will improve the appearance of gray scale images on some systems. |
|
By default this is a color viewer. GrayScaleHintOn will improve the appearance of gray scale images on some systems. |
|
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 143 of file vtkImageWindow.h. |
|
Remove an imager from the window |
|
Draw the contents of the window Reimplemented from vtkWindow. Reimplemented in vtkMesaImageWindow, vtkOpenGLImageWindow, vtkQuartzImageWindow, 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 |
|
Open/Write/Close a PPM file |
|
Open/Write/Close a PPM file |
|
Set/Get the FileName used for saving images. See the SaveImageAsPPM method. |
|
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, vtkQuartzImageWindow, and vtkWin32OpenGLImageWindow. Definition at line 173 of file vtkImageWindow.h. |
|
Reimplemented in vtkMesaImageWindow, vtkOpenGLImageWindow, vtkQuartzImageWindow, vtkWin32ImageWindow, vtkWin32OpenGLImageWindow, and vtkXImageWindow. |
|
Definition at line 179 of file vtkImageWindow.h. |
|
Definition at line 180 of file vtkImageWindow.h. |
|
Definition at line 181 of file vtkImageWindow.h. |
|
Definition at line 183 of file vtkImageWindow.h. |
|
Definition at line 184 of file vtkImageWindow.h. |