Slicer  5.3
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

Public Member Functions

 SlicerRenderBlocker ()
 ~SlicerRenderBlocker ()

Public Attributes


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 ( )

Definition at line 679 of file qSlicerCoreApplication.h.

◆ ~SlicerRenderBlocker()

SlicerRenderBlocker::~SlicerRenderBlocker ( )

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: