igstk::FLTKWidget Class Reference

Display IGSTK graphical representation in a FLTK window. More...

#include <igstkFLTKWidget.h>

List of all members.

Public Types

typedef FLTKWidget Self
typedef Fl_Gl_Window Superclass
typedef View ViewType
typedef ViewProxy< FLTKWidgetProxyType

Public Member Functions

virtual const char * GetNameOfClass () const
void ExportStateMachineDescription (OutputStreamType &ostr, bool skipLoops=false) const
 Declarations needed for the State Machine.
void Print (std::ostream &os,::itk::Indent indent=0) const
 Print the object information in a stream.
void SetLogger (LoggerType *logger)
void RequestSetView (const ViewType *view)
 Set view.
void RequestDisableInteractions ()
 Disable user interactions with the window via mouse and keyboard.
void RequestEnableInteractions ()
 Enable user interactions with the window via mouse and keyboard.
vtkRenderWindowInteractor * GetRenderWindowInteractor () const
 Get render window interactor.
 FLTKWidget (int x, int y, int w, int h, const char *l="")
virtual ~FLTKWidget (void)

Protected Member Functions

LoggerType * GetLogger () const
 Set up variables, types and methods related to the Logger.
void flush (void)
void draw (void)
void hide (void)
void resize (int x, int y, int w, int h)
virtual int handle (int event)

Friends

class ViewProxy< FLTKWidget >

Detailed Description

Display IGSTK graphical representation in a FLTK window.

This class is useful to develop FLTK based IGSTK application. Using this class, graphical represenation of a surgical scene can be displayed in FLTK window. FLTK mouse events are captured and translated into VTK events.

igstkFLTKWidget.png

State Machine Diagram

See also:
QTWidget
View

Definition at line 55 of file igstkFLTKWidget.h.


Member Typedef Documentation

Definition at line 60 of file igstkFLTKWidget.h.

typedef Fl_Gl_Window igstk::FLTKWidget::Superclass

Definition at line 61 of file igstkFLTKWidget.h.

Definition at line 63 of file igstkFLTKWidget.h.

Definition at line 88 of file igstkFLTKWidget.h.


Constructor & Destructor Documentation

igstk::FLTKWidget::FLTKWidget ( int  x,
int  y,
int  w,
int  h,
const char *  l = "" 
)
virtual igstk::FLTKWidget::~FLTKWidget ( void   )  [virtual]

Member Function Documentation

virtual const char* igstk::FLTKWidget::GetNameOfClass (  )  const [virtual]
void igstk::FLTKWidget::ExportStateMachineDescription ( OutputStreamType &  ostr,
bool  skipLoops = false 
) const

Declarations needed for the State Machine.

void igstk::FLTKWidget::Print ( std::ostream &  os,
::itk::Indent  indent = 0 
) const

Print the object information in a stream.

LoggerType* igstk::FLTKWidget::GetLogger (  )  const [protected]

Set up variables, types and methods related to the Logger.

void igstk::FLTKWidget::SetLogger ( LoggerType *  logger  ) 
void igstk::FLTKWidget::RequestSetView ( const ViewType view  ) 

Set view.

void igstk::FLTKWidget::RequestDisableInteractions (  ) 

Disable user interactions with the window via mouse and keyboard.

void igstk::FLTKWidget::RequestEnableInteractions (  ) 

Enable user interactions with the window via mouse and keyboard.

vtkRenderWindowInteractor* igstk::FLTKWidget::GetRenderWindowInteractor (  )  const

Get render window interactor.

void igstk::FLTKWidget::flush ( void   )  [protected]
void igstk::FLTKWidget::draw ( void   )  [protected]
void igstk::FLTKWidget::hide ( void   )  [protected]
void igstk::FLTKWidget::resize ( int  x,
int  y,
int  w,
int  h 
) [protected]
virtual int igstk::FLTKWidget::handle ( int  event  )  [protected, virtual]

Friends And Related Function Documentation

friend class ViewProxy< FLTKWidget > [friend]

Definition at line 90 of file igstkFLTKWidget.h.


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2