Main purpose of the class is to provide a way to customize SVTK_ViewWindow. More...
#include <SVTK_View.h>

Public Slots | |
| void | onSelectionChanged () |
Signals | |
| void | MouseMove (QMouseEvent *) |
| void | MouseButtonPressed (QMouseEvent *) |
| void | MouseButtonReleased (QMouseEvent *) |
| void | MouseDoubleClicked (QMouseEvent *) |
| void | ButtonPressed (const QMouseEvent *event) |
| void | ButtonReleased (const QMouseEvent *event) |
| void | WheelMoved (QWheelEvent *) |
| void | KeyPressed (QKeyEvent *) |
| void | KeyReleased (QKeyEvent *) |
| void | contextMenuRequested (QContextMenuEvent *e) |
| void | selectionChanged () |
Public Member Functions | |
| SVTK_SignalHandler (SVTK_ViewWindow *theMainWindow) | |
| virtual | ~SVTK_SignalHandler () |
| SVTK_ViewWindow * | GetMainWindow () |
| Get reference to its SVTK_ViewWindow. More... | |
| void | Repaint (bool theUpdateTrihedron=true) |
| Redirect the request to SVTK_ViewWindow::Repaint (just for flexibility) More... | |
| SVTK_Renderer * | GetRenderer () |
| Redirect the request to SVTK_ViewWindow::GetRenderer (just for flexibility) More... | |
| vtkRenderer * | getRenderer () |
| Redirect the request to SVTK_ViewWindow::getRenderer (just for flexibility) More... | |
Protected Attributes | |
| SVTK_ViewWindow * | myMainWindow |
Main purpose of the class is to provide a way to customize SVTK_ViewWindow.
This class is initialized by SVTK_ViewWindow and just pass Qt signals from corresponding SVTK_RenderWindowInteractor of the SVTK_ViewWindow. Its main purpose is to provide a simple and flexible way to customize the SVTK_ViewWindow. So, in your own viewer it is possible to derive new SVTK_ViewWindow and use existing functionality without any modifications.
| SVTK_SignalHandler::SVTK_SignalHandler | ( | SVTK_ViewWindow * | theMainWindow | ) |
Constructor
References contextMenuRequested(), SVTK_ViewWindow::GetInteractor(), KeyPressed(), KeyReleased(), MouseButtonPressed(), MouseButtonReleased(), MouseDoubleClicked(), MouseMove(), and selectionChanged().
|
virtual |
Destructor
|
signal |
|
signal |
|
signal |
| SVTK_ViewWindow * SVTK_SignalHandler::GetMainWindow | ( | ) |
Get reference to its SVTK_ViewWindow.
References myMainWindow.
| SVTK_Renderer * SVTK_SignalHandler::GetRenderer | ( | ) |
Redirect the request to SVTK_ViewWindow::GetRenderer (just for flexibility)
Redirect the request to SVTK_ViewWindow::GetRenderer (just for flexibility)
References SVTK_ViewWindow::GetRenderer(), and myMainWindow.
| vtkRenderer * SVTK_SignalHandler::getRenderer | ( | ) |
Redirect the request to SVTK_ViewWindow::getRenderer (just for flexibility)
Redirect the request to SVTK_ViewWindow::getRenderer (just for flexibility)
References SVTK_ViewWindow::getRenderer(), and myMainWindow.
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
slot |
SLOT: called on selection change
References VTK::ActorCollectionCopy::GetActors(), SVTK_ViewWindow::getRenderer(), SVTK_ViewWindow::GetSelector(), myMainWindow, SVTK_ViewWindow::Repaint(), and SVTK_Selector::StoredIObjects().
| void SVTK_SignalHandler::Repaint | ( | bool | theUpdateTrihedron = true | ) |
Redirect the request to SVTK_ViewWindow::Repaint (just for flexibility)
Redirect the request to SVTK_ViewWindow::Repaint (just for flexibility)
References myMainWindow, and SVTK_ViewWindow::Repaint().
|
signal |
|
signal |
|
protected |