Slicer
5.2
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
Safe replacement of qSlicerCoreApplication::pauseRender/resumeRender. More...
#include <Base/QTCore/qSlicerCoreApplication.h>
Public Member Functions | |
SlicerRenderBlocker () | |
~SlicerRenderBlocker () | |
Public Attributes | |
qSlicerCoreApplication * | Application |
Safe replacement of qSlicerCoreApplication::pauseRender/resumeRender.
SlicerRenderBlocker can be used wherever you would otherwise use a pair of calls to app->pauseRender() and app->resumeRender(). It pauses rendering in its constructor and in the destructor it restores previous rendering state.
Definition at line 675 of file qSlicerCoreApplication.h.
|
inline |
Definition at line 679 of file qSlicerCoreApplication.h.
|
inline |
Definition at line 687 of file qSlicerCoreApplication.h.
qSlicerCoreApplication* SlicerRenderBlocker::Application |
Definition at line 678 of file qSlicerCoreApplication.h.