VTK
|
Mesa rendering window. More...
#include <vtkXMesaRenderWindow.h>
Public Types | |
typedef vtkMesaRenderWindow | Superclass |
![]() | |
typedef vtkRenderWindow | Superclass |
![]() | |
typedef vtkWindow | Superclass |
![]() | |
typedef vtkObject | Superclass |
![]() | |
typedef vtkObjectBase | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | Start (void) |
virtual void | Frame (void) |
virtual void | WindowInitialize (void) |
virtual void | Initialize (void) |
virtual void | Finalize (void) |
virtual void | SetFullScreen (int) |
virtual void | WindowRemap (void) |
virtual void | PrefFullScreen (void) |
virtual void | SetStereoCapableWindow (int capable) |
void | MakeCurrent () |
void | SetForceMakeCurrent () |
const char * | ReportCapabilities () |
int | SupportsOpenGL () |
int | IsDirect () |
virtual int * | GetScreenSize () |
virtual int * | GetPosition () |
Display * | GetDisplayId () |
Window | GetParentId () |
Window | GetWindowId () |
virtual void | SetCurrentCursor (int) |
virtual int | GetEventPending () |
void | SetWindowInfo (char *info) |
void | SetNextWindowInfo (char *) |
void | SetParentInfo (char *info) |
void | Render () |
void | SetOffScreenRendering (int i) |
virtual void | SetSize (int, int) |
virtual void | SetSize (int a[2]) |
virtual Colormap | GetDesiredColormap () |
virtual Visual * | GetDesiredVisual () |
virtual XVisualInfo * | GetDesiredVisualInfo () |
virtual int | GetDesiredDepth () |
virtual void * | GetGenericDisplayId () |
virtual void * | GetGenericWindowId () |
virtual void * | GetGenericParentId () |
virtual void * | GetGenericContext () |
virtual void * | GetGenericDrawable () |
void | SetDisplayId (Display *) |
void | SetDisplayId (void *) |
void | SetParentId (Window) |
void | SetParentId (void *) |
void | SetWindowId (Window) |
void | SetWindowId (void *) |
void | SetNextWindowId (Window) |
void | SetNextWindowId (void *) |
void | SetWindowName (const char *) |
void | SetPosition (int, int) |
void | SetPosition (int a[2]) |
void | HideCursor () |
void | ShowCursor () |
![]() | |
virtual void | StereoUpdate () |
void | RegisterTextureResource (GLuint id) |
int | GetDepthBufferSize () |
int | GetColorBufferSizes (int *rgba) |
virtual void | OpenGLInit () |
virtual void | SetMultiSamples (int) |
virtual int | GetMultiSamples () |
virtual unsigned char * | GetPixelData (int x, int y, int x2, int y2, int front) |
virtual int | GetPixelData (int x, int y, int x2, int y2, int front, vtkUnsignedCharArray *) |
virtual int | SetPixelData (int x, int y, int x2, int y2, unsigned char *, int front) |
virtual int | SetPixelData (int x, int y, int x2, int y2, vtkUnsignedCharArray *, int front) |
virtual float * | GetRGBAPixelData (int x, int y, int x2, int y2, int front) |
virtual int | GetRGBAPixelData (int x, int y, int x2, int y2, int front, vtkFloatArray *data) |
virtual int | SetRGBAPixelData (int x, int y, int x2, int y2, float *, int front, int blend=0) |
virtual int | SetRGBAPixelData (int x, int y, int x2, int y2, vtkFloatArray *, int front, int blend=0) |
virtual void | ReleaseRGBAPixelData (float *data) |
virtual unsigned char * | GetRGBACharPixelData (int x, int y, int x2, int y2, int front) |
virtual int | GetRGBACharPixelData (int x, int y, int x2, int y2, int front, vtkUnsignedCharArray *data) |
virtual int | SetRGBACharPixelData (int x, int y, int x2, int y2, unsigned char *, int front, int blend=0) |
virtual int | SetRGBACharPixelData (int x, int y, int x2, int y2, vtkUnsignedCharArray *, int front, int blend=0) |
virtual float * | GetZbufferData (int x1, int y1, int x2, int y2) |
virtual int | GetZbufferData (int x1, int y1, int x2, int y2, float *buffer) |
virtual int | GetZbufferData (int x1, int y1, int x2, int y2, vtkFloatArray *z) |
virtual int | SetZbufferData (int x1, int y1, int x2, int y2, float *buffer) |
virtual int | SetZbufferData (int x1, int y1, int x2, int y2, vtkFloatArray *buffer) |
![]() | |
virtual void | AddRenderer (vtkRenderer *) |
void | RemoveRenderer (vtkRenderer *) |
int | HasRenderer (vtkRenderer *) |
vtkRendererCollection * | GetRenderers () |
virtual void | WaitForCompletion ()=0 |
virtual void | CopyResultFrame () |
virtual vtkRenderWindowInteractor * | MakeRenderWindowInteractor () |
const char * | GetStereoTypeAsString () |
virtual void | StereoMidpoint () |
virtual void | StereoRenderComplete () |
virtual int | GetIsPicking () |
virtual void | SetIsPicking (int) |
virtual void | IsPickingOn () |
virtual void | IsPickingOff () |
virtual int | CheckInRenderStatus () |
virtual void | ClearInRenderStatus () |
void | SetInteractor (vtkRenderWindowInteractor *) |
virtual void | UnRegister (vtkObjectBase *o) |
virtual bool | IsCurrent ()=0 |
virtual void | CheckGraphicError ()=0 |
virtual int | HasGraphicError ()=0 |
virtual const char * | GetLastGraphicErrorString ()=0 |
virtual void | SetCursorPosition (int, int) |
virtual int | GetCurrentCursor () |
virtual int | GetFullScreen () |
virtual void | FullScreenOn () |
virtual void | FullScreenOff () |
virtual void | SetBorders (int) |
virtual int | GetBorders () |
virtual void | BordersOn () |
virtual void | BordersOff () |
virtual int | GetStereoCapableWindow () |
virtual void | StereoCapableWindowOn () |
virtual void | StereoCapableWindowOff () |
virtual int | GetStereoRender () |
void | SetStereoRender (int stereo) |
virtual void | StereoRenderOn () |
virtual void | StereoRenderOff () |
virtual void | SetAlphaBitPlanes (int) |
virtual int | GetAlphaBitPlanes () |
virtual void | AlphaBitPlanesOn () |
virtual void | AlphaBitPlanesOff () |
virtual void | SetPointSmoothing (int) |
virtual int | GetPointSmoothing () |
virtual void | PointSmoothingOn () |
virtual void | PointSmoothingOff () |
virtual void | SetLineSmoothing (int) |
virtual int | GetLineSmoothing () |
virtual void | LineSmoothingOn () |
virtual void | LineSmoothingOff () |
virtual void | SetPolygonSmoothing (int) |
virtual int | GetPolygonSmoothing () |
virtual void | PolygonSmoothingOn () |
virtual void | PolygonSmoothingOff () |
virtual int | GetStereoType () |
virtual void | SetStereoType (int) |
void | SetStereoTypeToCrystalEyes () |
void | SetStereoTypeToRedBlue () |
void | SetStereoTypeToInterlaced () |
void | SetStereoTypeToLeft () |
void | SetStereoTypeToRight () |
void | SetStereoTypeToDresden () |
void | SetStereoTypeToAnaglyph () |
void | SetStereoTypeToCheckerboard () |
virtual void | SetAnaglyphColorSaturation (float) |
virtual float | GetAnaglyphColorSaturation () |
virtual void | SetAnaglyphColorMask (int, int) |
void | SetAnaglyphColorMask (int[2]) |
virtual int * | GetAnaglyphColorMask () |
virtual void | GetAnaglyphColorMask (int data[2]) |
virtual void | SetSwapBuffers (int) |
virtual int | GetSwapBuffers () |
virtual void | SwapBuffersOn () |
virtual void | SwapBuffersOff () |
float | GetZbufferDataAtPoint (int x, int y) |
virtual int | GetAAFrames () |
virtual void | SetAAFrames (int) |
virtual int | GetFDFrames () |
virtual void | SetFDFrames (int) |
virtual int | GetSubFrames () |
virtual void | SetSubFrames (int subFrames) |
virtual int | GetNeverRendered () |
virtual int | GetAbortRender () |
virtual void | SetAbortRender (int) |
virtual int | GetInAbortCheck () |
virtual void | SetInAbortCheck (int) |
virtual int | CheckAbortStatus () |
virtual void | SetDesiredUpdateRate (double) |
virtual double | GetDesiredUpdateRate () |
virtual int | GetNumberOfLayers () |
virtual void | SetNumberOfLayers (int) |
virtual vtkRenderWindowInteractor * | GetInteractor () |
virtual vtkPainterDeviceAdapter * | GetPainterDeviceAdapter () |
virtual void | SetStencilCapable (int) |
virtual int | GetStencilCapable () |
virtual void | StencilCapableOn () |
virtual void | StencilCapableOff () |
virtual void | SetReportGraphicErrors (int) |
virtual int | GetReportGraphicErrors () |
virtual void | ReportGraphicErrorsOn () |
virtual void | ReportGraphicErrorsOff () |
![]() | |
int * | GetActualSize () |
virtual int * | GetSize () |
virtual void | SetMapped (int) |
virtual int | GetMapped () |
virtual void | MappedOn () |
virtual void | MappedOff () |
virtual void | SetErase (int) |
virtual int | GetErase () |
virtual void | EraseOn () |
virtual void | EraseOff () |
virtual void | SetDoubleBuffer (int) |
virtual int | GetDoubleBuffer () |
virtual void | DoubleBufferOn () |
virtual void | DoubleBufferOff () |
virtual char * | GetWindowName () |
virtual int | GetDPI () |
virtual void | SetDPI (int) |
virtual int | GetOffScreenRendering () |
virtual void | OffScreenRenderingOn () |
virtual void | OffScreenRenderingOff () |
virtual void | SetTileScale (int, int) |
void | SetTileScale (int[2]) |
virtual int * | GetTileScale () |
virtual void | GetTileScale (int &, int &) |
virtual void | GetTileScale (int[2]) |
void | SetTileScale (int s) |
virtual void | SetTileViewport (double, double, double, double) |
virtual void | SetTileViewport (double[4]) |
virtual double * | GetTileViewport () |
virtual void | GetTileViewport (double &, double &, double &, double &) |
virtual void | GetTileViewport (double[4]) |
![]() | |
virtual void | DebugOn () |
virtual void | DebugOff () |
unsigned char | GetDebug () |
void | SetDebug (unsigned char debugFlag) |
virtual void | Modified () |
virtual unsigned long | GetMTime () |
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
vtkCommand * | GetCommand (unsigned long tag) |
void | RemoveObserver (vtkCommand *) |
void | RemoveObservers (unsigned long event, vtkCommand *) |
void | RemoveObservers (const char *event, vtkCommand *) |
int | HasObserver (unsigned long event, vtkCommand *) |
int | HasObserver (const char *event, vtkCommand *) |
void | RemoveObserver (unsigned long tag) |
void | RemoveObservers (unsigned long event) |
void | RemoveObservers (const char *event) |
void | RemoveAllObservers () |
int | HasObserver (unsigned long event) |
int | HasObserver (const char *event) |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
int | InvokeEvent (unsigned long event, void *callData) |
int | InvokeEvent (const char *event, void *callData) |
int | InvokeEvent (unsigned long event) |
int | InvokeEvent (const char *event) |
![]() | |
const char * | GetClassName () const |
virtual void | Delete () |
virtual void | FastDelete () |
void | Print (ostream &os) |
virtual void | Register (vtkObjectBase *o) |
void | SetReferenceCount (int) |
void | PrintRevisions (ostream &os) |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
int | GetReferenceCount () |
Static Public Member Functions | |
static vtkXMesaRenderWindow * | New () |
static int | IsTypeOf (const char *type) |
static vtkXMesaRenderWindow * | SafeDownCast (vtkObject *o) |
![]() | |
static void | SetGlobalMaximumNumberOfMultiSamples (int val) |
static int | GetGlobalMaximumNumberOfMultiSamples () |
![]() | |
static const char * | GetRenderLibrary () |
Protected Member Functions | |
vtkXMesaRenderWindow () | |
~vtkXMesaRenderWindow () | |
void | CreateAWindow () |
void | DestroyWindow () |
void | CreateOffScreenWindow (int x, int y) |
void | DestroyOffScreenWindow () |
void | ResizeOffScreenWindow (int x, int y) |
![]() | |
vtkMesaRenderWindow () | |
~vtkMesaRenderWindow () | |
int | GetPixelData (int x, int y, int x2, int y2, int front, unsigned char *data) |
int | GetRGBAPixelData (int x, int y, int x2, int y2, int front, float *data) |
int | GetRGBACharPixelData (int x, int y, int x2, int y2, int front, unsigned char *data) |
![]() | |
vtkRenderWindow () | |
~vtkRenderWindow () | |
virtual void | DoStereoRender () |
virtual void | DoFDRender () |
virtual void | DoAARender () |
![]() | |
vtkWindow () | |
~vtkWindow () | |
![]() | |
vtkObject () | |
virtual | ~vtkObject () |
virtual void | RegisterInternal (vtkObjectBase *, int check) |
virtual void | UnRegisterInternal (vtkObjectBase *, int check) |
void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
void | InternalReleaseFocus () |
![]() | |
vtkObjectBase () | |
virtual | ~vtkObjectBase () |
virtual void | CollectRevisions (ostream &os) |
virtual void | ReportReferences (vtkGarbageCollector *) |
vtkObjectBase (const vtkObjectBase &) | |
void | operator= (const vtkObjectBase &) |
Mesa rendering window.
vtkXMesaRenderWindow is a concrete implementation of the abstract class vtkRenderWindow. vtkOpenGLRenderer interfaces to the OpenGL graphics library. Application programmers should normally use vtkRenderWindow instead of the OpenGL specific version.
Definition at line 40 of file vtkXMesaRenderWindow.h.
Definition at line 44 of file vtkXMesaRenderWindow.h.
|
protected |
|
protected |
|
static |
Construct an instance of vtkRenderWindow with its screen size set to 300x300, borders turned on, positioned at (0,0), double buffering turned on.
Reimplemented from vtkRenderWindow.
|
virtual |
Reimplemented from vtkMesaRenderWindow.
|
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 vtkMesaRenderWindow.
|
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 vtkMesaRenderWindow.
|
static |
Reimplemented from vtkMesaRenderWindow.
|
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 vtkMesaRenderWindow.
|
virtual |
Begin the rendering process.
Implements vtkRenderWindow.
|
virtual |
End the rendering process and display the image.
Implements vtkRenderWindow.
|
virtual |
Initialize the window for rendering.
|
virtual |
Initialize the rendering window.
|
virtual |
Shut-down all resources initialized by Initialize()
Implements vtkRenderWindow.
|
virtual |
Change the window to fill the entire screen.
Implements vtkRenderWindow.
|
virtual |
Resize the window.
Implements vtkRenderWindow.
|
virtual |
Set the preferred window size to full screen.
|
virtual |
Specify the size of the rendering window in pixels.
Reimplemented from vtkWindow.
|
inlinevirtual |
Specify the size of the rendering window in pixels.
Reimplemented from vtkWindow.
Definition at line 74 of file vtkXMesaRenderWindow.h.
|
virtual |
Get the X properties of an ideal rendering window.
|
virtual |
Get the X properties of an ideal rendering window.
|
virtual |
Get the X properties of an ideal rendering window.
|
virtual |
Get the X properties of an ideal rendering window.
|
virtual |
Prescribe that the window be created in a stereo-capable mode. This method must be called before the window is realized. This method overrides the superclass method since this class can actually check whether the window has been realized yet.
Reimplemented from vtkRenderWindow.
|
virtual |
Make this window the current OpenGL context.
Implements vtkMesaRenderWindow.
|
virtual |
If called, allow MakeCurrent() to skip cache-check when called. MakeCurrent() reverts to original behavior of cache-checking on the next render.
Reimplemented from vtkRenderWindow.
|
virtual |
Get report of capabilities for the render window
Reimplemented from vtkRenderWindow.
|
virtual |
Does this render window support OpenGL? 0-false, 1-true
Reimplemented from vtkRenderWindow.
|
virtual |
Is this render window using hardware acceleration? 0-false, 1-true
Reimplemented from vtkRenderWindow.
|
inlinevirtual |
Xwindow get set functions
Implements vtkRenderWindow.
Definition at line 110 of file vtkXMesaRenderWindow.h.
|
virtual |
Xwindow get set functions
Implements vtkRenderWindow.
|
inlinevirtual |
Xwindow get set functions
Implements vtkRenderWindow.
Definition at line 112 of file vtkXMesaRenderWindow.h.
|
virtual |
Xwindow get set functions
Implements vtkRenderWindow.
|
inlinevirtual |
Xwindow get set functions
Implements vtkRenderWindow.
Definition at line 114 of file vtkXMesaRenderWindow.h.
|
virtual |
Get the current size of the screen in pixels.
Implements vtkWindow.
|
virtual |
Get the position in screen coordinates (pixels) of the window.
Reimplemented from vtkWindow.
Display* vtkXMesaRenderWindow::GetDisplayId | ( | ) |
Get this RenderWindow's X display id.
void vtkXMesaRenderWindow::SetDisplayId | ( | Display * | ) |
Set the X display id for this RenderWindow to use to a pre-existing X display id.
|
virtual |
Set the X display id for this RenderWindow to use to a pre-existing X display id.
Implements vtkRenderWindow.
Window vtkXMesaRenderWindow::GetParentId | ( | ) |
Get this RenderWindow's parent X window id.
void vtkXMesaRenderWindow::SetParentId | ( | Window | ) |
Sets the parent of the window that WILL BE created.
|
virtual |
Sets the parent of the window that WILL BE created.
Implements vtkRenderWindow.
Window vtkXMesaRenderWindow::GetWindowId | ( | ) |
Get this RenderWindow's X window id.
void vtkXMesaRenderWindow::SetWindowId | ( | Window | ) |
Set this RenderWindow's X window id to a pre-existing window.
|
virtual |
Set this RenderWindow's X window id to a pre-existing window.
Implements vtkRenderWindow.
void vtkXMesaRenderWindow::SetNextWindowId | ( | Window | ) |
Specify the X window id to use if a WindowRemap is done.
|
virtual |
Specify the X window id to use if a WindowRemap is done.
Implements vtkRenderWindow.
|
virtual |
Specify the X window id to use if a WindowRemap is done.
Reimplemented from vtkWindow.
|
virtual |
Move the window to a new position on the display.
Reimplemented from vtkWindow.
|
inlinevirtual |
Move the window to a new position on the display.
Reimplemented from vtkWindow.
Definition at line 161 of file vtkXMesaRenderWindow.h.
|
virtual |
Hide or Show the mouse cursor, it is nice to be able to hide the default cursor if you want VTK to display a 3D cursor instead.
Implements vtkRenderWindow.
|
virtual |
Hide or Show the mouse cursor, it is nice to be able to hide the default cursor if you want VTK to display a 3D cursor instead.
Implements vtkRenderWindow.
|
virtual |
Change the shape of the cursor
Reimplemented from vtkRenderWindow.
|
virtual |
Get the properties available at runtime that would result in the best Xwindow for 3D rendering.
Implements vtkRenderWindow.
|
virtual |
Set this RenderWindow's X window id to a pre-existing window.
Implements vtkRenderWindow.
|
virtual |
Dummy stubs for vtkWindow API.
Implements vtkRenderWindow.
|
virtual |
Sets the X window id of the window that WILL BE created.
Implements vtkRenderWindow.
|
virtual |
This computes the size of the render window before calling the supper classes render
Reimplemented from vtkRenderWindow.
|
virtual |
Render without displaying the window.
Reimplemented from vtkWindow.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 197 of file vtkXMesaRenderWindow.h.
|
protected |
Definition at line 199 of file vtkXMesaRenderWindow.h.
|
protected |
Definition at line 200 of file vtkXMesaRenderWindow.h.
|
protected |
Definition at line 201 of file vtkXMesaRenderWindow.h.
|
protected |
Definition at line 202 of file vtkXMesaRenderWindow.h.
|
protected |
Definition at line 203 of file vtkXMesaRenderWindow.h.
|
protected |
Definition at line 204 of file vtkXMesaRenderWindow.h.
|
protected |
Definition at line 205 of file vtkXMesaRenderWindow.h.
|
protected |
Definition at line 206 of file vtkXMesaRenderWindow.h.
|
protected |
Definition at line 207 of file vtkXMesaRenderWindow.h.
|
protected |
Definition at line 208 of file vtkXMesaRenderWindow.h.
|
protected |
Definition at line 209 of file vtkXMesaRenderWindow.h.
|
protected |
Definition at line 210 of file vtkXMesaRenderWindow.h.
|
protected |
Definition at line 213 of file vtkXMesaRenderWindow.h.
|
protected |
Definition at line 214 of file vtkXMesaRenderWindow.h.
|
protected |
Definition at line 215 of file vtkXMesaRenderWindow.h.
|
protected |
Definition at line 216 of file vtkXMesaRenderWindow.h.
|
protected |
Definition at line 217 of file vtkXMesaRenderWindow.h.
|
protected |
Definition at line 218 of file vtkXMesaRenderWindow.h.
|
protected |
Definition at line 219 of file vtkXMesaRenderWindow.h.
|
protected |
Definition at line 220 of file vtkXMesaRenderWindow.h.