#include <vtkFLTKOpenGLRenderWindow.h>
Inheritance diagram for vtkFLTKOpenGLRenderWindow:
vtkFLTKOpenGLRenderWindow is a concrete implementation of the abstract class vtkRenderWindow and the vtkOpenGLRenderer interfaces to the OpenGL graphics library. Application programmers should normally use vtkRenderWindow instead of the FLTK-OpenGL specific version.
Definition at line 45 of file vtkFLTKOpenGLRenderWindow.h.
Public Member Functions | |
vtkTypeRevisionMacro (vtkFLTKOpenGLRenderWindow, vtkOpenGLRenderWindow) | |
void | PrintSelf (ostream &, vtkIndent) |
virtual void | Start (void) |
Begin the rendering process. | |
virtual void | Frame (void) |
End the rendering process and display the image. | |
virtual void | WindowInitialize (void) |
Initialize the window for rendering. | |
virtual void | Initialize (void) |
Initialize the rendering window. | |
virtual void | Finalize (void) |
"Deinitialize" the rendering window. | |
virtual void | WindowRemap (void) |
Remap the rendering window. | |
virtual int | GetEventPending (void) |
Check to see if a mouse button has been pressed. | |
void | MakeCurrent (void) |
Make this window the current OpenGL context. | |
void | SetForceMakeCurrent (void) |
If called, allow MakeCurrent() to skip cache-check when called. | |
void | Render (void) |
Updates window size before calling the superclass Render() . | |
int * | GetScreenSize (void) |
Get the size of the screen in pixels. | |
int * | GetPosition (void) |
Get the position in screen coordinates (pixels) of the window. | |
int * | GetSize (void) |
Get the width and height in screen coordinates (pixels) of the window. | |
void | SetWindowName (const char *name) |
Set the name of the window. | |
void | SetOffScreenRendering (int toggle) |
Render without displaying the window. | |
virtual void | SetCurrentCursor (int shape) |
Change the shape of the cursor. | |
void | SetFullScreen (int) |
Change the window to fill the entire screen. | |
void | PrefFullScreen (void) |
Set the preferred window size to full screen. | |
void | SetBorders (int a) |
Toggle whether the window manager border is around the window. | |
void | SetStereoCapableWindow (int a) |
Toggle whether the window will be created in a stereo-capable mode. | |
virtual int | GetDesiredVisualMode (void) |
Get the properties of an ideal rendering window. | |
const char * | ReportCapabilities (void) |
Get report of capabilities for the render window. | |
int | SupportsOpenGL (void) |
Does this render window support OpenGL? 0-false, 1-true. | |
int | IsDirect (void) |
Is this render window using hardware acceleration? 0-false, 1-true. | |
Fl_Group * | GetFlParent (void) |
Get this RenderWindow's parent FLTK group (if any). | |
void | SetFlParent (Fl_Group *group) |
Sets the FLTK parent of the window that WILL BE created. | |
void | SetFlParent (void *group) |
Sets the FLTK parent of the window that WILL BE created (dangerously). | |
Fl_VTK_Window * | GetFlWindow (void) |
Get this RenderWindow's FLTK window. | |
void | SetFlWindow (Fl_VTK_Window *window) |
Set this RenderWindow to an existing FLTK window. | |
void | SetFlWindow (void *window) |
Set this RenderWindow to an existing FLTK window (dangerously). | |
void | SetPosition (int x, int y) |
Move the window to a new position on the display. | |
void | SetPosition (int a[2]) |
Move the window to a new position on the display. | |
void | SetSize (int w, int h) |
Specify the size of the rendering window. | |
void | SetSize (int a[2]) |
Specify the size of the rendering window. | |
void | SetMapped (int a) |
Keep track of whether the rendering window has been mapped to screen. | |
int | GetMapped (void) |
Keep track of whether the rendering window has been mapped to screen. | |
void | HideCursor (void) |
Hide or Show the mouse cursor. | |
void | ShowCursor (void) |
Hide or Show the mouse cursor. | |
void | SetDisplayId (void *id) |
Implementation of vtkWindow's system independent methods that are used to help interface to native windowing systems. | |
void | SetWindowId (void *id) |
Implementation of vtkWindow's system independent methods that are used to help interface to native windowing systems. | |
void | SetParentId (void *id) |
Implementation of vtkWindow's system independent methods that are used to help interface to native windowing systems. | |
void * | GetGenericDisplayId (void) |
Implementation of vtkWindow's system independent methods that are used to help interface to native windowing systems. | |
void * | GetGenericWindowId (void) |
Implementation of vtkWindow's system independent methods that are used to help interface to native windowing systems. | |
void * | GetGenericParentId (void) |
Implementation of vtkWindow's system independent methods that are used to help interface to native windowing systems. | |
void * | GetGenericContext (void) |
Implementation of vtkWindow's system independent methods that are used to help interface to native windowing systems. | |
void * | GetGenericDrawable (void) |
Implementation of vtkWindow's system independent methods that are used to help interface to native windowing systems. | |
void | SetDisplayInfo (char *id) |
Implementation of vtkWindow's system independent methods that are used to help interface to native windowing systems. | |
void | SetWindowInfo (char *id) |
Implementation of vtkWindow's system independent methods that are used to help interface to native windowing systems. | |
void | SetParentInfo (char *id) |
Implementation of vtkWindow's system independent methods that are used to help interface to native windowing systems. | |
void | SetNextWindowId (void *id) |
Implementation of vtkWindow's system independent methods that are used to help interface to native windowing systems. | |
void | SetNextWindowInfo (char *id) |
Implementation of vtkWindow's system independent methods that are used to help interface to native windowing systems. | |
Static Public Member Functions | |
vtkFLTKOpenGLRenderWindow * | New (void) |
Protected Member Functions | |
vtkFLTKOpenGLRenderWindow (void) | |
~vtkFLTKOpenGLRenderWindow () | |
virtual void | CheckDisplayConnection () |
Set this RenderWindow to use fl_display, maybe opening the display. | |
Protected Attributes | |
vtkFLTKOpenGLRenderWindowInternal * | Internal |
Fl_Group * | FlParent |
Fl_VTK_Window * | FlWindow |
int | Mode |
int | OwnFlWindow |
int | ScreenSize [2] |
int | CursorHidden |
int | ForceMakeCurrent |
int | UsingHardware |
char * | Capabilities |
|
|
|
|
|
Set this RenderWindow to use fl_display, maybe opening the display.
|
|
"Deinitialize" the rendering window. This will shutdown all system-specific resources. After having called this, it should be possible to destroy a window that was used for a SetWindow() call without any ill effects. |
|
End the rendering process and display the image.
Implements vtkRenderWindow. |
|
Get the properties of an ideal rendering window.
|
|
Check to see if a mouse button has been pressed. All other events are ignored by this method. This is a useful check to abort a long render.
Ideally, you want to abort the render on any event which causes the Implements vtkRenderWindow. |
|
Get this RenderWindow's parent FLTK group (if any).
|
|
Get this RenderWindow's FLTK window.
|
|
Implementation of
Implements vtkRenderWindow. |
|
Implementation of
Implements vtkRenderWindow. |
|
Implementation of
Implements vtkRenderWindow. |
|
Implementation of
Implements vtkRenderWindow. |
|
Implementation of
Implements vtkRenderWindow. |
|
Keep track of whether the rendering window has been mapped to screen.
Reimplemented from vtkWindow. |
|
Get the position in screen coordinates (pixels) of the window.
Reimplemented from vtkWindow. |
|
Get the size of the screen in pixels.
Implements vtkWindow. |
|
Get the width and height in screen coordinates (pixels) of the window.
Reimplemented from vtkWindow. |
|
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. |
|
Initialize the rendering window.
This will setup all system-specific resources. This method and |
|
Is this render window using hardware acceleration? 0-false, 1-true.
Reimplemented from vtkRenderWindow. |
|
Make this window the current OpenGL context.
Implements vtkOpenGLRenderWindow. |
|
Reimplemented from vtkRenderWindow. |
|
Set the preferred window size to full screen.
|
|
Reimplemented from vtkOpenGLRenderWindow. |
|
Updates window size before calling the superclass
Reimplemented from vtkRenderWindow. |
|
Get report of capabilities for the render window.
Reimplemented from vtkRenderWindow. |
|
Toggle whether the window manager border is around the window. The default value is true. Under most X window managers this does not work after the window has been mapped. Reimplemented from vtkRenderWindow. |
|
Change the shape of the cursor.
Reimplemented from vtkRenderWindow. |
|
Implementation of
Implements vtkRenderWindow. |
|
Implementation of
|
|
Sets the FLTK parent of the window that WILL BE created (dangerously).
|
|
Sets the FLTK parent of the window that WILL BE created.
|
|
Set this RenderWindow to an existing FLTK window (dangerously).
|
|
Set this RenderWindow to an existing FLTK window.
|
|
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. |
|
Change the window to fill the entire screen.
Implements vtkRenderWindow. |
|
Keep track of whether the rendering window has been mapped to screen.
Reimplemented from vtkWindow. |
|
Implementation of
Implements vtkRenderWindow. |
|
Implementation of
Implements vtkRenderWindow. |
|
Render without displaying the window.
Reimplemented from vtkWindow. |
|
Implementation of
Implements vtkRenderWindow. |
|
Implementation of
Implements vtkRenderWindow. |
|
Move the window to a new position on the display.
Reimplemented from vtkWindow. Definition at line 117 of file vtkFLTKOpenGLRenderWindow.h. |
|
Move the window to a new position on the display.
Reimplemented from vtkWindow. |
|
Specify the size of the rendering window.
Reimplemented from vtkWindow. Definition at line 126 of file vtkFLTKOpenGLRenderWindow.h. |
|
Specify the size of the rendering window.
Reimplemented from vtkWindow. |
|
Toggle whether the window will 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. |
|
Implementation of
Implements vtkRenderWindow. |
|
Implementation of
Implements vtkRenderWindow. |
|
Set the name of the window. This normally appears at top of the window. Reimplemented from vtkWindow. |
|
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. |
|
Begin the rendering process.
Implements vtkRenderWindow. |
|
Does this render window support OpenGL? 0-false, 1-true.
Reimplemented from vtkRenderWindow. |
|
|
|
Initialize the window for rendering.
|
|
Remap the rendering window. This is useful for changing properties that can't normally be changed once the window is up. Implements vtkRenderWindow. |
|
Definition at line 252 of file vtkFLTKOpenGLRenderWindow.h. |
|
Definition at line 249 of file vtkFLTKOpenGLRenderWindow.h. |
|
Definition at line 243 of file vtkFLTKOpenGLRenderWindow.h. |
|
Definition at line 244 of file vtkFLTKOpenGLRenderWindow.h. |
|
Definition at line 250 of file vtkFLTKOpenGLRenderWindow.h. |
|
Definition at line 241 of file vtkFLTKOpenGLRenderWindow.h. |
|
Definition at line 246 of file vtkFLTKOpenGLRenderWindow.h. |
|
Definition at line 247 of file vtkFLTKOpenGLRenderWindow.h. |
|
Definition at line 248 of file vtkFLTKOpenGLRenderWindow.h. |
|
Definition at line 251 of file vtkFLTKOpenGLRenderWindow.h. |