IGSTK
Public Types | Public Member Functions | Protected Member Functions | Friends | List of all members
igstk::FLTKWidget Class Reference

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

#include <igstkFLTKWidget.h>

Inherits Fl_Gl_Window.

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. More...
 
void Print (std::ostream &os,::itk::Indent indent=0) const
 Print the object information in a stream. More...
 
void SetLogger (LoggerType *logger)
 
void RequestSetView (const ViewType *view)
 Set view. More...
 
void RequestDisableInteractions ()
 Disable user interactions with the window via mouse and keyboard. More...
 
void RequestEnableInteractions ()
 Enable user interactions with the window via mouse and keyboard. More...
 
vtkRenderWindowInteractor * GetRenderWindowInteractor () const
 Get render window interactor. More...
 
 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. More...
 
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 56 of file igstkFLTKWidget.h.

Member Typedef Documentation

Definition at line 61 of file igstkFLTKWidget.h.

typedef Fl_Gl_Window igstk::FLTKWidget::Superclass

Definition at line 62 of file igstkFLTKWidget.h.

Definition at line 64 of file igstkFLTKWidget.h.

Definition at line 89 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)
protectedvirtual

Friends And Related Function Documentation

friend class ViewProxy< FLTKWidget >
friend

Definition at line 91 of file igstkFLTKWidget.h.


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