Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
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 {
23  /*
24  * @brief Operation that stores polydata for changing surfaces
25  */
27  {
28  public:
29  /*
30  * Constructor
31  * @param operationType type of the operation (OpSURFACECHANGED)
32  * @param polyData the polydata object to replace in the surface
33  * @param t the time step
34  */
35  SurfaceOperation(mitk::OperationType operationType, vtkPolyData *polyData, unsigned int t);
36 
37  ~SurfaceOperation() override;
38 
39  vtkPolyData *GetVtkPolyData();
40 
41  unsigned int GetTimeStep();
42 
43  private:
44  vtkPolyData *m_polyData;
45  unsigned int m_timeStep;
46  };
47 }
48 
49 #endif
mitk::Operation
Base class of all Operation-classes.
Definition: mitkOperation.h:29
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
MitkCoreExports.h
mitk::OperationType
int OperationType
Definition: mitkOperation.h:23
mitkOperation.h
mitk::SurfaceOperation
Definition: mitkSurfaceOperation.h:26
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition: MitkCoreExports.h:15