#include <imedgine_viewer.h>
Inherits SoQtExaminerViewer.
Inherited by ImedgineImageViewer, ImedgineSliceViewer, and ImedgineSpatialViewer.
Inheritance diagram for ImedgineViewer:
Public Member Functions | |
ImedgineViewer (QWidget *parent, const char *name=NULL) | |
virtual | ~ImedgineViewer () |
virtual SbBool | processSoEvent (const SoEvent *const ev) |
Protected Member Functions | |
virtual void | buildPopupMenu () |
virtual void | menuSelection (int menu_item_id) |
void | openPopupMenu (const SbVec2s position) |
Static Protected Member Functions | |
static void | menuSelectionCallback (int menu_item_id, void *userdata) |
Christian Koerner (christian.koerner@imedgine.org)
Alexander Lex (alexander.lex@imedgine.org)
Marc Streit (marc.streit@imedgine.org)
Martin Reininger (martin.reininger@imedgine.org)
Definition at line 39 of file imedgine_viewer.h.
|
Constructor Definition at line 18 of file imedgine_viewer.cpp. |
|
Destructor Definition at line 27 of file imedgine_viewer.cpp. |
|
Overload the popup menu build method of the examiner viewer. The method must be implemented in the special viewer subclasses because the popup menu entries depend on the view type. Reimplemented in ImedgineSliceViewer, and ImedgineSpatialViewer. Definition at line 71 of file imedgine_viewer.h. |
|
Overload the menu selection method of the examiner viewer. The method is called by the menu selection callback method.
Reimplemented in ImedgineSliceViewer, and ImedgineSpatialViewer. Definition at line 79 of file imedgine_viewer.h. Referenced by ImedgineViewer::menuSelectionCallback(). |
|
Static callback method. The menu selection method of the current view is called. The callback is registered in the examiner viewer.
Definition at line 55 of file imedgine_viewer.cpp. References ImedgineViewer::menuSelection(). Here is the call graph for this function: |
|
Open the popup menu on the position that is given as a parameter.
Definition at line 40 of file imedgine_viewer.cpp. |
|
Overload the event handling of the examiner viewer.
Reimplemented in ImedgineImageViewer, ImedgineSliceViewer, and ImedgineSpatialViewer. Definition at line 33 of file imedgine_viewer.cpp. Referenced by ImedgineSliceViewer::processSoEvent(), and ImedgineImageViewer::processSoEvent(). |