Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkSurfaceOperation.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 
13 #ifndef mitkSurfaceOperation_h
14 #define mitkSurfaceOperation_h
15 
16 #include <mitkOperation.h>
17 #include <MitkCoreExports.h>
18 
19 #include <vtkPolyData.h>
20 
21 namespace mitk
22 {
27  {
28  public:
36  SurfaceOperation(mitk::OperationType operationType, vtkPolyData *polyData, unsigned int t);
37 
38  ~SurfaceOperation() override;
39 
44  vtkPolyData *GetVtkPolyData();
45 
50  unsigned int GetTimeStep();
51 
52  private:
53  vtkPolyData *m_polyData;
54  unsigned int m_timeStep;
55  };
56 }
57 
58 #endif
#define MITKCORE_EXPORT
Base class for all operations in the undo/redo framework.
Definition: mitkOperation.h:38
Operation that stores polydata for changing surfaces.
vtkPolyData * GetVtkPolyData()
Get the VTK polydata stored in this operation.
SurfaceOperation(mitk::OperationType operationType, vtkPolyData *polyData, unsigned int t)
Construct a SurfaceOperation.
unsigned int GetTimeStep()
Get the time step associated with this operation.
~SurfaceOperation() override
Find image slices visible on a given plane.
int OperationType
Type alias for operation type identifiers.
Definition: mitkOperation.h:24