Slicer  5.2
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Member Functions | Public Attributes
SlicerRenderBlocker Class Reference

Safe replacement of qSlicerCoreApplication::pauseRender/resumeRender. More...

#include <Base/QTCore/qSlicerCoreApplication.h>

Collaboration diagram for SlicerRenderBlocker:
Collaboration graph
[legend]

Public Member Functions

 SlicerRenderBlocker ()
 
 ~SlicerRenderBlocker ()
 

Public Attributes

qSlicerCoreApplicationApplication
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ SlicerRenderBlocker()

SlicerRenderBlocker::SlicerRenderBlocker ( )
inline

Definition at line 679 of file qSlicerCoreApplication.h.

◆ ~SlicerRenderBlocker()

SlicerRenderBlocker::~SlicerRenderBlocker ( )
inline

Definition at line 687 of file qSlicerCoreApplication.h.

Member Data Documentation

◆ Application

qSlicerCoreApplication* SlicerRenderBlocker::Application

Definition at line 678 of file qSlicerCoreApplication.h.


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