Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitk::SurfaceOperation Class Reference

Operation that stores polydata for changing surfaces. More...

#include <mitkSurfaceOperation.h>

Inheritance diagram for mitk::SurfaceOperation:
Collaboration diagram for mitk::SurfaceOperation:

Public Member Functions

 SurfaceOperation (mitk::OperationType operationType, vtkPolyData *polyData, unsigned int t)
 Construct a SurfaceOperation. More...
 
 ~SurfaceOperation () override
 
vtkPolyData * GetVtkPolyData ()
 Get the VTK polydata stored in this operation. More...
 
unsigned int GetTimeStep ()
 Get the time step associated with this operation. More...
 
- Public Member Functions inherited from mitk::Operation
 mitkClassMacroNoParent (Operation) virtual bool IsValid() const
 Check whether this operation is still valid and can be executed. More...
 
virtual ~Operation ()=default
 Virtual destructor. More...
 
OperationType GetOperationType ()
 Get the type identifier of this operation. More...
 

Additional Inherited Members

- Protected Member Functions inherited from mitk::Operation
 Operation (OperationType operationType)
 Construct an operation with the given type. More...
 
 Operation (const Operation &)=default
 
 Operation (Operation &&)=default
 
Operation & operator= (const Operation &)=default
 
Operation & operator= (Operation &&)=default
 
- Protected Attributes inherited from mitk::Operation
OperationType m_OperationType
 The type identifier for this operation. More...
 

Detailed Description

Operation that stores polydata for changing surfaces.

Definition at line 26 of file mitkSurfaceOperation.h.

Constructor & Destructor Documentation

◆ SurfaceOperation()

mitk::SurfaceOperation::SurfaceOperation ( mitk::OperationType  operationType,
vtkPolyData *  polyData,
unsigned int  t 
)

Construct a SurfaceOperation.

Parameters
[in]operationTypetype of the operation (e.g. OpSURFACECHANGED).
[in]polyDatathe polydata object to replace in the surface.
[in]tthe time step.

◆ ~SurfaceOperation()

mitk::SurfaceOperation::~SurfaceOperation ( )
override

Member Function Documentation

◆ GetTimeStep()

unsigned int mitk::SurfaceOperation::GetTimeStep ( )

Get the time step associated with this operation.

Returns
The time step index.

◆ GetVtkPolyData()

vtkPolyData* mitk::SurfaceOperation::GetVtkPolyData ( )

Get the VTK polydata stored in this operation.

Returns
Pointer to the vtkPolyData object.

The documentation for this class was generated from the following file: