#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 > |
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.
State Machine Diagram
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 igstk::FLTKWidget::~FLTKWidget | ( | void | ) | [virtual] |
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] |
friend class ViewProxy< FLTKWidget > [friend] |
Definition at line 91 of file igstkFLTKWidget.h.