#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 | SetParentInfo (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 |
|
Add an imager to the window's list of imagers to be rendered. |
|
Erase the window contents Reimplemented in vtkMesaImageWindow. |
|
Flush the buffer and swap if necessary. Implemented in vtkMesaImageWindow. |
|
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. |
|
Return the collection of imagers for this window. |
|
Get the position of the window on the screen Reimplemented from vtkWindow. Implemented in vtkWin32ImageWindow. |
|
Returns the size of a window in pixels Reimplemented from vtkWindow. Implemented in vtkWin32ImageWindow. |
|
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. |
|
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. |
|
Make this window current. Overridden in subclasses to do, for example, glXMakeCurrent or wglMakeCurrent Reimplemented from vtkWindow. Reimplemented in vtkMesaImageWindow. |
|
Creates a vtkImageWindow with background erasing disabled and gray scale hint off Reimplemented from vtkObject. Reimplemented in vtkMesaImageWindow. |
|
Open/Write/Close a PPM file |
|
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. |
|
Remove an imager from the window |
|
Draw the contents of the window Implements vtkWindow. Reimplemented in vtkMesaImageWindow. |
|
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. |
|
Save the current image as a PPM file. |
|
These are here for using a tk window. Implements vtkWindow. Implemented in vtkWin32ImageWindow. |
|
Set/Get the FileName used for saving images. See the SaveImageAsPPM method. |
|
By default this is a color viewer. GrayScaleHintOn will improve the appearance of gray scale images on some systems. |
|
Set the position of the window on the screen Reimplemented from vtkWindow. Implemented in vtkWin32ImageWindow. |
|
Sets the size of a window in pixels. Reimplemented from vtkWindow. Implemented in vtkWin32ImageWindow. |
|
useful for scripting languages Implements vtkWindow. Reimplemented in vtkWin32ImageWindow. |
|
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 Implemented in vtkMesaImageWindow. |