Medical Imaging Interaction Toolkit
2018.4.99-389bf124
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
#pragma once
14
15
#include "
mitkOperation.h
"
16
#include <
MitkCoreExports.h
>
17
18
#include <vtkPolyData.h>
19
20
namespace
mitk
21
{
22
/*
23
* @brief Operation that stores polydata for changing surfaces
24
*/
25
class
MITKCORE_EXPORT
SurfaceOperation
:
public
Operation
26
{
27
public
:
28
/*
29
* Constructor
30
* @param operationType type of the operation (OpSURFACECHANGED)
31
* @param polyData the polydata object to replace in the surface
32
* @param t the time step
33
*/
34
SurfaceOperation
(
mitk::OperationType
operationType, vtkPolyData *polyData,
unsigned
int
t);
35
36
~
SurfaceOperation
()
override
;
37
38
vtkPolyData *GetVtkPolyData();
39
40
unsigned
int
GetTimeStep();
41
42
private
:
43
vtkPolyData *m_polyData;
44
unsigned
int
m_timeStep;
45
};
46
};
// end namespace mitk
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition:
MitkCoreExports.h:15
mitk::Operation
Base class of all Operation-classes.
Definition:
mitkOperation.h:29
MitkCoreExports.h
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition:
GeometryOverview.dox:1
mitk::OperationType
int OperationType
Definition:
mitkOperation.h:23
mitk::SurfaceOperation
Definition:
mitkSurfaceOperation.h:25
mitkOperation.h
Source
Modules
Core
include
mitkSurfaceOperation.h
Generated on Thu Mar 12 2020 10:24:04 for Medical Imaging Interaction Toolkit by
1.8.13