FLTK user interface window peer class to a VTK rendering classes with additional methods for integrating a FLTK event-driven interface to a VTK pipeline. Fl_VTK_Window provides methods for tracking modification time, debugging, printing, and handling events. Fl_VTK_Window also performs reference counting: objects that are reference counted exist as long as another object uses them. Once the last reference to a reference counted object is removed, the object will spontaneously destruct.
|
Public Member Functions |
| virtual void | resize (int x, int y, int w, int h) |
| | Change the size or position of the window.
|
| void | Update (void) |
| | Make the displayed window contents current.
|
| virtual vtkRendererCollection * | GetRenderers (void) |
| | Return the Collection of Renderers in the RenderWindow.
|
| virtual vtkRenderer * | GetDefaultRenderer (void) |
| | Get the first Renderer held in the RenderWindow's Collection.
|
| virtual vtkCamera * | GetDefaultCamera (void) |
| | Get the active Camera held by the default Renderer.
|
| virtual void | AddProp (vtkProp *prop) |
| | Add a Prop to the current Renderer.
|
| virtual void | RemoveProp (vtkProp *prop) |
| | Remove a Prop from the current Renderer.
|
| | Fl_VTK_Window (int w=300, int h=300, const char *label="") |
| | Fl_VTK_Window (int x, int y, int w, int h, const char *label="") |
| | Fl_VTK_Window (vtkRenderWindowInteractor *o, int w=300, int h=300, const char *label="") |
| | Fl_VTK_Window (vtkRenderWindowInteractor *o, int x, int y, int w, int h, const char *label="") |
| | ~Fl_VTK_Window () |
| virtual const char * | GetClassName (void) |
| | Get this classes name as a string.
|
|
| virtual void | SetInteractor (vtkRenderWindowInteractor *) |
| | Set/Get the Interactor.
|
| virtual vtkRenderWindowInteractor * | GetInteractor (void) |
| | Set/Get the Interactor.
|
|
| virtual void | SetRenderWindow (vtkRenderWindow *) |
| | Set/Get the RenderWindow.
|
| virtual vtkRenderWindow * | GetRenderWindow (void) |
| | Set/Get the RenderWindow.
|
|
| void | SetDebug (int a) |
| | Get/Set the debugging toggle.
|
| int | GetDebug (void) const |
| | Get/Set the debugging toggle.
|
| void | DebugOn (void) |
| | Get/Set the debugging toggle.
|
| void | DebugOff (void) |
| | Get/Set the debugging toggle.
|
Static Public Member Functions |
| const char * | GetEventAsString (int event) |
| | Get a string describing an event enumeration.
|
| int | desired_mode (int &doubleBuffer, int &stereo, int &multiSample) |
| | Returns a mode given the desired parameters.
|
Protected Member Functions |
| virtual void | flush (void) |
| virtual void | draw (void) |
| virtual int | handle (int event) |
| virtual void | resize_ (int x, int y, int w, int h) |
| | Resize the FLTK window by calling ancestor method.
|
| | Fl_VTK_Window (vtkRenderWindow *o, int w=300, int h=300, const char *label="") |
| | Fl_VTK_Window (vtkRenderWindow *o, int x, int y, int w, int h, const char *label="") |
Static Protected Member Functions |
| void | ClassInitialize (void) |
| void | ClassFinalize (void) |
Protected Attributes |
| vtkRenderWindowInteractor * | Interactor |
| vtkRenderWindow * | RenderWindow |
| vtkRenderer * | QueuedRenderer |
| int | Debug |
Friends |
| vtkObjectFactory * | FlVtkWindowCheckForVtkFLTKObjectFactory (void) |