NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
niftk::MultiViewerEditorPrivate Class Reference
Collaboration diagram for niftk::MultiViewerEditorPrivate:
Collaboration graph
[legend]

Public Member Functions

 MultiViewerEditorPrivate (MultiViewerEditor *q)
 
 ~MultiViewerEditorPrivate ()
 
void ProcessCommandLineArguments ()
 
void DropNodes (QmitkRenderWindow *renderWindow, const std::vector< mitk::DataNode * > &nodes)
 

Static Public Member Functions

static bool AreCommandLineArgumentsProcessed ()
 

Public Attributes

MultiViewerWidgetm_MultiViewer
 
MultiViewerVisibilityManager::Pointer m_MultiViewerVisibilityManager
 
mitk::RenderingManager::Pointer m_RenderingManager
 
QScopedPointer
< berry::IPartListener > 
m_PartListener
 
mitk::IRenderingManager * m_RenderingManagerInterface
 
MultiViewerEditorq_ptr
 

Static Public Attributes

static bool s_AreCommandLineArgumentsProcessed = false
 

Constructor & Destructor Documentation

niftk::MultiViewerEditorPrivate::MultiViewerEditorPrivate ( MultiViewerEditor q)

Note: The DnD Display should use its own rendering manager, not the global one returned by mitk::RenderingManager::GetInstance(). The reason is that the global rendering manager is reinitialised by its InitializeViewsByBoundingObjects function whenever a new file is opened, recalculating a new bounding box based on all the globally visible nodes in the data storage. However, many MITK modules and plugins call RequestUpdate on the global rendering manager (RM), not on that of the focused renderer. This causes that if the DnD Display uses its own RM, it won't be updated by those plugins. An example is the Volume Visualization view. Therefore, until this is fixed in MITK, we need to use the global rendering manager, suppress the reinitialisation after file open by a preference, and should not use the MITK display and the DnD Display together in the same application.

niftk::MultiViewerEditorPrivate::~MultiViewerEditorPrivate ( )

Member Function Documentation

bool niftk::MultiViewerEditorPrivate::AreCommandLineArgumentsProcessed ( )
static
void niftk::MultiViewerEditorPrivate::DropNodes ( QmitkRenderWindow *  renderWindow,
const std::vector< mitk::DataNode * > &  nodes 
)
void niftk::MultiViewerEditorPrivate::ProcessCommandLineArguments ( )

Member Data Documentation

MultiViewerWidget* niftk::MultiViewerEditorPrivate::m_MultiViewer
MultiViewerVisibilityManager::Pointer niftk::MultiViewerEditorPrivate::m_MultiViewerVisibilityManager
QScopedPointer<berry::IPartListener> niftk::MultiViewerEditorPrivate::m_PartListener
mitk::RenderingManager::Pointer niftk::MultiViewerEditorPrivate::m_RenderingManager
mitk::IRenderingManager* niftk::MultiViewerEditorPrivate::m_RenderingManagerInterface
MultiViewerEditor* niftk::MultiViewerEditorPrivate::q_ptr
bool niftk::MultiViewerEditorPrivate::s_AreCommandLineArgumentsProcessed = false
static

The documentation for this class was generated from the following file: