Medical Imaging Interaction Toolkit  2026.06.00
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 {
28  {
29  public:
32 
40 
46 
47  private:
48  BaseGeometry *m_baseGeometry;
49  };
50 }
51 
52 #endif
#define MITKCORE_EXPORT
Abstract base class describing the geometry of a data object.
RAII guard that defers BaseGeometry::Modified() calls until destruction.
ModifiedLock()
Default constructor. Does not associate with any geometry.
~ModifiedLock()
Destructor. Releases the lock and calls Modified() on the geometry if any Modified() calls were defer...
ModifiedLock(BaseGeometry *baseGeo)
Construct a ModifiedLock that defers Modified() calls on the given geometry.
Find image slices visible on a given plane.