Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

Fl_VTK_Window Class Reference

#include <Fl_VTK_Window.H>

Inheritance diagram for Fl_VTK_Window:

Inheritance graph
[legend]
Collaboration diagram for Fl_VTK_Window:

Collaboration graph
[legend]
List of all members.

Detailed Description

FLTK event-driven interface to a RenderWindow.

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.

Author:
Sean McInerney
Version:
Revision
1.22
Date:
Date
2004/06/15 18:40:25
See also:
vtkRenderWindowInteractor vtkRenderWindow Fl_Gl_Window

Definition at line 54 of file Fl_VTK_Window.H.

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 vtkRendererCollectionGetRenderers (void)
 Return the Collection of Renderers in the RenderWindow.

virtual vtkRendererGetDefaultRenderer (void)
 Get the first Renderer held in the RenderWindow's Collection.

virtual vtkCameraGetDefaultCamera (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 vtkRenderWindowInteractorGetInteractor (void)
 Set/Get the Interactor.

virtual void SetRenderWindow (vtkRenderWindow *)
 Set/Get the RenderWindow.

virtual vtkRenderWindowGetRenderWindow (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

vtkRenderWindowInteractorInteractor
vtkRenderWindowRenderWindow
vtkRendererQueuedRenderer
int Debug

Friends

vtkObjectFactoryFlVtkWindowCheckForVtkFLTKObjectFactory (void)


Constructor & Destructor Documentation

Fl_VTK_Window::Fl_VTK_Window int  w = 300,
int  h = 300,
const char *  label = ""
 

Fl_VTK_Window::Fl_VTK_Window int  x,
int  y,
int  w,
int  h,
const char *  label = ""
 

Fl_VTK_Window::Fl_VTK_Window vtkRenderWindowInteractor o,
int  w = 300,
int  h = 300,
const char *  label = ""
 

Fl_VTK_Window::Fl_VTK_Window vtkRenderWindowInteractor o,
int  x,
int  y,
int  w,
int  h,
const char *  label = ""
 

Fl_VTK_Window::~Fl_VTK_Window  ) 
 

Fl_VTK_Window::Fl_VTK_Window vtkRenderWindow o,
int  w = 300,
int  h = 300,
const char *  label = ""
[protected]
 

Fl_VTK_Window::Fl_VTK_Window vtkRenderWindow o,
int  x,
int  y,
int  w,
int  h,
const char *  label = ""
[protected]
 


Member Function Documentation

virtual void Fl_VTK_Window::AddProp vtkProp prop  )  [virtual]
 

Add a Prop to the current Renderer.

void Fl_VTK_Window::ClassFinalize void   )  [static, protected]
 

void Fl_VTK_Window::ClassInitialize void   )  [static, protected]
 

void Fl_VTK_Window::DebugOff void   )  [inline]
 

Get/Set the debugging toggle.

Definition at line 127 of file Fl_VTK_Window.H.

void Fl_VTK_Window::DebugOn void   )  [inline]
 

Get/Set the debugging toggle.

Definition at line 126 of file Fl_VTK_Window.H.

int Fl_VTK_Window::desired_mode int &  doubleBuffer,
int &  stereo,
int &  multiSample
[static]
 

Returns a mode given the desired parameters.

virtual void Fl_VTK_Window::draw void   )  [protected, virtual]
 

virtual void Fl_VTK_Window::flush void   )  [protected, virtual]
 

virtual const char* Fl_VTK_Window::GetClassName void   )  [inline, virtual]
 

Get this classes name as a string.

Definition at line 120 of file Fl_VTK_Window.H.

int Fl_VTK_Window::GetDebug void   )  const [inline]
 

Get/Set the debugging toggle.

Definition at line 125 of file Fl_VTK_Window.H.

virtual vtkCamera* Fl_VTK_Window::GetDefaultCamera void   )  [virtual]
 

Get the active Camera held by the default Renderer.

virtual vtkRenderer* Fl_VTK_Window::GetDefaultRenderer void   )  [virtual]
 

Get the first Renderer held in the RenderWindow's Collection.

const char* Fl_VTK_Window::GetEventAsString int  event  )  [static]
 

Get a string describing an event enumeration.

virtual vtkRenderWindowInteractor* Fl_VTK_Window::GetInteractor void   )  [virtual]
 

Set/Get the Interactor.

virtual vtkRendererCollection* Fl_VTK_Window::GetRenderers void   )  [virtual]
 

Return the Collection of Renderers in the RenderWindow.

virtual vtkRenderWindow* Fl_VTK_Window::GetRenderWindow void   )  [virtual]
 

Set/Get the RenderWindow.

virtual int Fl_VTK_Window::handle int  event  )  [protected, virtual]
 

virtual void Fl_VTK_Window::RemoveProp vtkProp prop  )  [virtual]
 

Remove a Prop from the current Renderer.

virtual void Fl_VTK_Window::resize int  x,
int  y,
int  w,
int  h
[virtual]
 

Change the size or position of the window.

virtual void Fl_VTK_Window::resize_ int  x,
int  y,
int  w,
int  h
[inline, protected, virtual]
 

Resize the FLTK window by calling ancestor method.

Definition at line 72 of file Fl_VTK_Window.H.

void Fl_VTK_Window::SetDebug int  a  )  [inline]
 

Get/Set the debugging toggle.

Definition at line 124 of file Fl_VTK_Window.H.

virtual void Fl_VTK_Window::SetInteractor vtkRenderWindowInteractor  )  [virtual]
 

Set/Get the Interactor.

virtual void Fl_VTK_Window::SetRenderWindow vtkRenderWindow  )  [virtual]
 

Set/Get the RenderWindow.

void Fl_VTK_Window::Update void   ) 
 

Make the displayed window contents current.


Friends And Related Function Documentation

vtkObjectFactory* FlVtkWindowCheckForVtkFLTKObjectFactory void   )  [friend]
 


Member Data Documentation

int Fl_VTK_Window::Debug [protected]
 

Definition at line 147 of file Fl_VTK_Window.H.

vtkRenderWindowInteractor* Fl_VTK_Window::Interactor [protected]
 

Definition at line 142 of file Fl_VTK_Window.H.

vtkRenderer* Fl_VTK_Window::QueuedRenderer [protected]
 

Definition at line 145 of file Fl_VTK_Window.H.

vtkRenderWindow* Fl_VTK_Window::RenderWindow [protected]
 

Definition at line 143 of file Fl_VTK_Window.H.


The documentation for this class was generated from the following file:
Generated on Tue Aug 10 04:24:29 2004 for vtkFLTK by doxygen 1.3.7