IGSTK
|
Display IGSTK graphical representation in a FLTK window. More...
#include <igstkFLTKWidget.h>
Public Types | |
typedef FLTKWidget | Self |
typedef Fl_Gl_Window | Superclass |
typedef View | ViewType |
typedef ViewProxy< FLTKWidget > | ProxyType |
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 > |
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.
Definition at line 56 of file igstkFLTKWidget.h.
typedef FLTKWidget igstk::FLTKWidget::Self |
Definition at line 61 of file igstkFLTKWidget.h.
typedef Fl_Gl_Window igstk::FLTKWidget::Superclass |
Definition at line 62 of file igstkFLTKWidget.h.
typedef View igstk::FLTKWidget::ViewType |
Definition at line 64 of file igstkFLTKWidget.h.
typedef ViewProxy< FLTKWidget > igstk::FLTKWidget::ProxyType |
Definition at line 89 of file igstkFLTKWidget.h.
igstk::FLTKWidget::FLTKWidget | ( | int | x, |
int | y, | ||
int | w, | ||
int | h, | ||
const char * | l = "" |
||
) |
|
virtual |
|
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.
|
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.
|
protected |
|
protected |
|
protected |
|
protected |
|
protectedvirtual |
|
friend |
Definition at line 91 of file igstkFLTKWidget.h.