#include <vtkXImageWindow.h>
Inheritance diagram for vtkXImageWindow:
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | SetWindowName (char *name) |
virtual int | GetNumberOfColors () |
virtual int | GetVisualDepth () |
virtual int | GetVisualClass () |
Window | GetParentId () |
void | SetParentId (Window) |
void | SetParentId (void *) |
void | SetDisplayId (Display *) |
void | SetDisplayId (void *) |
void | SetWindowId (Window) |
void | SetWindowId (void *) |
Window | GetWindowId () |
Display * | GetDisplayId () |
GC | GetGC () |
int * | GetPosition () |
void | GetPosition (int *x, int *y) |
void | SetPosition (int, int) |
void | SetPosition (int a[2]) |
int * | GetSize () |
void | GetSize (int *x, int *y) |
void | SetSize (int x, int y) |
void | SetSize (int a[2]) |
void * | GetGenericDisplayId () |
void * | GetGenericWindowId () |
void * | GetGenericParentId () |
void * | GetGenericContext () |
void * | GetGenericDrawable () |
void | SwapBuffers () |
void | Frame () |
virtual int | GetDesiredDepth () |
virtual Colormap | GetDesiredColormap () |
virtual Visual * | GetDesiredVisual () |
Visual * | GetVisualId () |
void | SetBackgroundColor (float r, float g, float b) |
void | EraseWindow () |
unsigned char * | GetPixelData (int x1, int y1, int x2, int y2, int) |
Static Public Methods | |
vtkXImageWindow * | New () |
int | IsTypeOf (const char *type) |
vtkXImageWindow * | SafeDownCast (vtkObject *o) |
Protected Methods | |
vtkXImageWindow () | |
~vtkXImageWindow () | |
vtkXImageWindow (const vtkXImageWindow &) | |
void | operator= (const vtkXImageWindow &) |
void | MakeDefaultWindow () |
void | GetDefaultVisualInfo (XVisualInfo *info) |
Colormap | MakeColorMap (Visual *visual) |
void | AllocateDirectColorMap () |
void | GetShiftsScalesAndMasks (int &rshift, int &gshift, int &bshift, int &rscale, int &gscale, int &bscale, unsigned long &rmask, unsigned long &gmask, unsigned long &bmask) |
Protected Attributes | |
Window | ParentId |
Window | WindowId |
Display * | DisplayId |
Visual * | VisualId |
int | VisualDepth |
int | VisualClass |
Colormap | ColorMap |
GC | Gc |
int | Offset |
XColor | Colors [256] |
int | NumberOfColors |
Pixmap | Drawable |
int | OwnDisplay |
int | PixmapWidth |
int | PixmapHeight |
Definition at line 67 of file vtkXImageWindow.h.
|
|
|
|
|
Definition at line 156 of file vtkXImageWindow.h. |
|
Creates a vtkImageWindow with background erasing disabled and gray scale hint off Reimplemented from vtkImageWindow. Reimplemented in vtkMesaImageWindow, and vtkOpenGLImageWindow. |
|
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. Reimplemented in vtkMesaImageWindow, and vtkOpenGLImageWindow. |
|
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. Reimplemented in vtkMesaImageWindow, and vtkOpenGLImageWindow. |
|
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. Reimplemented in vtkMesaImageWindow, and vtkOpenGLImageWindow. |
|
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. Reimplemented in vtkMesaImageWindow, and vtkOpenGLImageWindow. |
|
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. Reimplemented in vtkMesaImageWindow, and vtkOpenGLImageWindow. |
|
Implements SetWindowName for a X window Reimplemented from vtkWindow. |
|
Gets the number of colors in the pseudo color map. |
|
Gets the windows depth. For the templated function. |
|
Gets the windows visual class. For the templated function. |
|
These are here for using a tk window. |
|
|
|
Reimplemented from vtkImageWindow. |
|
|
|
These are here for using a tk window. Reimplemented from vtkImageWindow. |
|
|
|
Reimplemented from vtkImageWindow. |
|
|
|
|
|
|
|
Set/Get the position of the window. Reimplemented from vtkImageWindow. |
|
Reimplemented from vtkImageWindow. Definition at line 100 of file vtkXImageWindow.h. |
|
Set the position of the window on the screen Reimplemented from vtkImageWindow. |
|
Reimplemented from vtkImageWindow. Definition at line 102 of file vtkXImageWindow.h. |
|
Set/Get the size of the window. Reimplemented from vtkImageWindow. |
|
Reimplemented from vtkImageWindow. Definition at line 106 of file vtkXImageWindow.h. |
|
Sets the size of a window in pixels. Reimplemented from vtkImageWindow. |
|
Reimplemented from vtkImageWindow. Definition at line 108 of file vtkXImageWindow.h. |
|
The GetGenericXXX functions are necessary to draw into a VTKWindow. Reimplemented from vtkImageWindow. Reimplemented in vtkMesaImageWindow, and vtkOpenGLImageWindow. Definition at line 111 of file vtkXImageWindow.h. |
|
Reimplemented from vtkImageWindow. Reimplemented in vtkMesaImageWindow, and vtkOpenGLImageWindow. Definition at line 112 of file vtkXImageWindow.h. |
|
Reimplemented from vtkImageWindow. Reimplemented in vtkMesaImageWindow, and vtkOpenGLImageWindow. Definition at line 113 of file vtkXImageWindow.h. |
|
Reimplemented from vtkImageWindow. Reimplemented in vtkMesaImageWindow, and vtkOpenGLImageWindow. Definition at line 114 of file vtkXImageWindow.h. |
|
Reimplemented from vtkImageWindow. Reimplemented in vtkMesaImageWindow, and vtkOpenGLImageWindow. |
|
Swaps the 2D drawing buffers. The user should not need to use this call. To invoke double buffering, call DoubleBufferOn Reimplemented from vtkImageWindow. Reimplemented in vtkMesaImageWindow, and vtkOpenGLImageWindow. |
|
Flush the buffer and swap buffers if necessary. Reimplemented from vtkImageWindow. Reimplemented in vtkMesaImageWindow, and vtkOpenGLImageWindow. |
|
Determine the desired depth of the window. Reimplemented in vtkMesaImageWindow, and vtkOpenGLImageWindow. |
|
Determine the desired colormap of the window. Reimplemented in vtkMesaImageWindow, and vtkOpenGLImageWindow. |
|
Determine the desired visual for the window Reimplemented in vtkMesaImageWindow, and vtkOpenGLImageWindow. |
|
Return the id of the visual we are using Definition at line 134 of file vtkXImageWindow.h. |
|
Set the background color of the window. |
|
Erase the contents of the window. Reimplemented from vtkImageWindow. Reimplemented in vtkMesaImageWindow, and vtkOpenGLImageWindow. |
|
Get the pixel data of an image, transmitted as RGBRGBRGB. It is the caller's responsibility to delete the resulting array. It is very important to realize that the memory in this array is organized from the bottom of the window to the top. The origin of the screen is in the lower left corner. The y axis increases as you go up the screen. So the storage of pixels is from left to right and from bottom to top. To maintain the same prototype as in vtkRenderWindow, the last argument is provided, but currently not used. Reimplemented from vtkWindow. Reimplemented in vtkMesaImageWindow, and vtkOpenGLImageWindow. |
|
Definition at line 157 of file vtkXImageWindow.h. |
|
Reimplemented from vtkImageWindow. Reimplemented in vtkMesaImageWindow, and vtkOpenGLImageWindow. |
|
|
|
|
|
|
|
|
|
Definition at line 160 of file vtkXImageWindow.h. |
|
Definition at line 161 of file vtkXImageWindow.h. |
|
Definition at line 162 of file vtkXImageWindow.h. |
|
Definition at line 163 of file vtkXImageWindow.h. |
|
Definition at line 164 of file vtkXImageWindow.h. |
|
Definition at line 165 of file vtkXImageWindow.h. |
|
Definition at line 166 of file vtkXImageWindow.h. |
|
Definition at line 167 of file vtkXImageWindow.h. |
|
Definition at line 168 of file vtkXImageWindow.h. |
|
Definition at line 169 of file vtkXImageWindow.h. |
|
Definition at line 170 of file vtkXImageWindow.h. |
|
Definition at line 171 of file vtkXImageWindow.h. |
|
Definition at line 172 of file vtkXImageWindow.h. |
|
Definition at line 173 of file vtkXImageWindow.h. |
|
Definition at line 174 of file vtkXImageWindow.h. |