Provides a thumbnail view of the currently focused QmitkRenderWindow. ....Note: This class should basically just be a wrapper that instantiates the widget QmitkThumnailRenderWindow, and does almost nothing else. Do not try and add loads more functionality here, just do the necessary plumbing.
More...
Provides a thumbnail view of the currently focused QmitkRenderWindow. ....
Note: This class should basically just be a wrapper that instantiates the widget QmitkThumnailRenderWindow, and does almost nothing else. Do not try and add loads more functionality here, just do the necessary plumbing.
- See also
- ThumbnailRenderWindow
niftk::ThumbnailView::ThumbnailView |
( |
| ) |
|
niftk::ThumbnailView::~ThumbnailView |
( |
| ) |
|
|
virtual |
void niftk::ThumbnailView::CreateQtPartControl |
( |
QWidget * |
parent | ) |
|
|
protectedvirtual |
Called by framework, this method creates all the controls for this view.
Note: We need to look for the focused window among every window of the editor. The MITK Display has not got the concept of 'selected' window and always returns the axial window as 'active'. Therefore we cannot use GetActiveQmitkRenderWindow.
mitk::BaseRenderer * niftk::ThumbnailView::GetTrackedRenderer |
( |
| ) |
const |
Returns the renderer being tracked if there is one, otherwise NULL.
virtual bool niftk::ThumbnailView::IsExclusiveFunctionality |
( |
| ) |
const |
|
inlinevirtual |
This is not an exclusive functionality, as it just listens to input and updates itself, and can happily live alongside other functionalities.
void niftk::ThumbnailView::OnPreferencesChanged |
( |
const berry::IBerryPreferences * |
| ) |
|
|
virtual |
Called when preferences are updated.
void niftk::ThumbnailView::SetFocus |
( |
| ) |
|
|
protectedvirtual |
Called by framework, sets the focus on a specific widget.
void niftk::ThumbnailView::SetTrackedRenderer |
( |
mitk::BaseRenderer * |
renderer | ) |
|
Instructs the contained thumbnail viewer widget to track the given renderer. Supposed to be called when the focus changes or a new editor becomes visible.
const std::string niftk::ThumbnailView::VIEW_ID = "uk.ac.ucl.cmic.thumbnail" |
|
static |
Static view ID = uk.ac.ucl.cmic.thumbnailview.
The documentation for this class was generated from the following files: