15 #ifndef niftkThumbnailView_h
16 #define niftkThumbnailView_h
18 #include <QmitkAbstractView.h>
19 #include <berryIPartListener.h>
20 #include <berryIPreferences.h>
21 #include <berryIPreferencesService.h>
22 #include <berryIBerryPreferences.h>
23 #include <berryISelection.h>
24 #include <berryISelectionProvider.h>
25 #include <berryISelectionListener.h>
27 #include <mitkRenderingManager.h>
33 class ThumbnailRenderWindow;
89 void OnFocusChanged();
92 void RetrievePreferenceValues();
96 mitk::IRenderWindowPart* GetSelectedEditor();
98 mitk::RenderingManager::Pointer m_RenderingManager;
101 unsigned long m_FocusManagerObserverTag;
107 bool m_TrackOnlyMainWindows;
110 QScopedPointer<berry::IPartListener> m_EditorLifeCycleListener;
Provides a thumbnail view of the currently focused QmitkRenderWindow. ....Note: This class should bas...
Definition: niftkThumbnailView.h:46
virtual void CreateQtPartControl(QWidget *parent)
Called by framework, this method creates all the controls for this view.
Definition: niftkThumbnailView.cxx:158
virtual void OnPreferencesChanged(const berry::IBerryPreferences *)
Called when preferences are updated.
Definition: niftkThumbnailView.cxx:227
virtual std::string GetViewID() const
Returns the view ID.
Definition: niftkThumbnailView.cxx:151
berryObjectMacro(ThumbnailView)
static const std::string VIEW_ID
Static view ID = uk.ac.ucl.cmic.thumbnailview.
Definition: niftkThumbnailView.h:59
void SetTrackedRenderer(mitk::BaseRenderer *renderer)
Instructs the contained thumbnail viewer widget to track the given renderer. Supposed to be called wh...
Definition: niftkThumbnailView.cxx:346
virtual ~ThumbnailView()
Definition: niftkThumbnailView.cxx:131
Subclass of QmitkRenderWindow to track to another QmitkRenderWindow and provide a zoomed-out view wit...
Definition: niftkThumbnailRenderWindow.h:71
ThumbnailView()
Definition: niftkThumbnailView.cxx:118
mitk::BaseRenderer * GetTrackedRenderer() const
Returns the renderer being tracked if there is one, otherwise NULL.
Definition: niftkThumbnailView.cxx:339
virtual void SetFocus()
Called by framework, sets the focus on a specific widget.
Definition: niftkThumbnailView.cxx:220
Definition: niftkExceptionObject.h:21
GLsizei const GLcharARB ** string
Definition: glew.h:5194
virtual bool IsExclusiveFunctionality() const
This is not an exclusive functionality, as it just listens to input and updates itself, and can happily live alongside other functionalities.
Definition: niftkThumbnailView.h:68