Medical Imaging Interaction Toolkit  2023.12.99-101158b3
Medical Imaging Interaction Toolkit
mitkModifiedLock.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 #ifndef mitkModifiedLock_h
13 #define mitkModifiedLock_h
14 
15 #include <MitkCoreExports.h>
16 #include <mitkBaseGeometry.h>
17 namespace mitk
18 {
19  //##Documentation
20  //## @brief ModifiedLock manages the calls of Modified() functions
21  //##
22  //## If an object of ModifiedLock is created, the ModifiedLockFlag in class
23  //## BaseGeometry is set to true. Therefore, all following calls of Modified()
24  //## will be collected and only be carried out at the end of the function / section,
25  //## when the deconstructor of the ModifiedLock object is called.
26  //##
28  {
29  public:
30  ModifiedLock();
31  ModifiedLock(BaseGeometry *baseGeo);
32  ~ModifiedLock();
33 
34  private:
35  BaseGeometry *m_baseGeometry;
36  };
37 }
38 
39 #endif
mitk::ModifiedLock
ModifiedLock manages the calls of Modified() functions.
Definition: mitkModifiedLock.h:27
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
MitkCoreExports.h
mitk::BaseGeometry
BaseGeometry Describes the geometry of a data object.
Definition: mitkBaseGeometry.h:94
mitkBaseGeometry.h
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition: MitkCoreExports.h:15