Slicer
5.0
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 658 of file qSlicerCoreApplication.h.
|
inline |
Definition at line 662 of file qSlicerCoreApplication.h.
|
inline |
Definition at line 670 of file qSlicerCoreApplication.h.
qSlicerCoreApplication* SlicerRenderBlocker::Application |
Definition at line 661 of file qSlicerCoreApplication.h.