Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
|
An Operation for applying an edited slice to the volume. More...
#include <mitkDiffSliceOperation.h>
Public Member Functions | |
mitkClassMacro (DiffSliceOperation, OperationActor) | |
DiffSliceOperation () | |
Creates an empty instance. Note that it is not valid yet. The properties of the object have to be set. More... | |
DiffSliceOperation (mitk::Image *imageVolume, const mitk::Image *slice, const SlicedGeometry3D *sliceGeometry, const TimeStepType timestep, const BaseGeometry *currentWorldGeometry) | |
bool | IsValid () |
Check if it is a valid operation. More... | |
mitk::Image * | GetImage () |
Get th image volume. More... | |
const mitk::Image * | GetImage () const |
Image::Pointer | GetSlice () |
Get the slice that is applied in the operation. More... | |
TimeStepType | GetTimeStep () const |
Set timeStep. More... | |
const SlicedGeometry3D * | GetSliceGeometry () const |
Get the axis where the slice has to be applied in the volume. More... | |
const BaseGeometry * | GetWorldGeometry () const |
Get the axis where the slice has to be applied in the volume. More... | |
Public Member Functions inherited from mitk::Operation | |
virtual std::vector< std::string > | GetClassHierarchy () const |
itkTypeMacroNoParent (Operation) Operation(OperationType operationType) | |
virtual | ~Operation () |
OperationType | GetOperationType () |
Protected Member Functions | |
~DiffSliceOperation () override | |
void | OnImageDeleted () |
Callback for image observer. More... | |
Protected Attributes | |
CompressedImageContainer | m_CompressedImageContainer |
mitk::Image * | m_Image |
vtkSmartPointer< vtkImageData > | m_Slice |
SlicedGeometry3D::ConstPointer | m_SliceGeometry |
TimeStepType | m_TimeStep |
BaseGeometry::ConstPointer | m_WorldGeometry |
bool | m_ImageIsValid |
unsigned long | m_DeleteObserverTag |
mitk::BaseGeometry::ConstPointer | m_GuardReferenceGeometry |
Protected Attributes inherited from mitk::Operation | |
OperationType | m_OperationType |
Additional Inherited Members | |
Public Types inherited from mitk::Operation | |
typedef Operation | Self |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
Static Public Member Functions inherited from mitk::Operation | |
static const char * | GetStaticNameOfClass () |
An Operation for applying an edited slice to the volume.
The information for the operation is specified by properties:
imageVolume the volume where the slice was extracted from. slice the slice to be applied. timestep the timestep in an 4D image. currentWorldGeometry specifies the axis where the slice has to be applied in the volume.
This Operation can be used to realize undo-redo functionality for e.g. segmentation purposes.
Definition at line 38 of file mitkDiffSliceOperation.h.
mitk::DiffSliceOperation::DiffSliceOperation | ( | ) |
Creates an empty instance. Note that it is not valid yet. The properties of the object have to be set.
mitk::DiffSliceOperation::DiffSliceOperation | ( | mitk::Image * | imageVolume, |
const mitk::Image * | slice, | ||
const SlicedGeometry3D * | sliceGeometry, | ||
const TimeStepType | timestep, | ||
const BaseGeometry * | currentWorldGeometry | ||
) |
|
overrideprotected |
|
inline |
Get th image volume.
Definition at line 64 of file mitkDiffSliceOperation.h.
|
inline |
Definition at line 65 of file mitkDiffSliceOperation.h.
Image::Pointer mitk::DiffSliceOperation::GetSlice | ( | ) |
Get the slice that is applied in the operation.
|
inline |
Get the axis where the slice has to be applied in the volume.
Definition at line 73 of file mitkDiffSliceOperation.h.
|
inline |
Set timeStep.
Definition at line 71 of file mitkDiffSliceOperation.h.
|
inline |
Get the axis where the slice has to be applied in the volume.
Definition at line 75 of file mitkDiffSliceOperation.h.
bool mitk::DiffSliceOperation::IsValid | ( | ) |
Check if it is a valid operation.
mitk::DiffSliceOperation::mitkClassMacro | ( | DiffSliceOperation | , |
OperationActor | |||
) |
|
protected |
Callback for image observer.
|
protected |
Definition at line 82 of file mitkDiffSliceOperation.h.
|
protected |
Definition at line 96 of file mitkDiffSliceOperation.h.
|
protected |
Definition at line 98 of file mitkDiffSliceOperation.h.
|
protected |
Definition at line 84 of file mitkDiffSliceOperation.h.
|
protected |
Definition at line 94 of file mitkDiffSliceOperation.h.
|
protected |
Definition at line 86 of file mitkDiffSliceOperation.h.
|
protected |
Definition at line 88 of file mitkDiffSliceOperation.h.
|
protected |
Definition at line 90 of file mitkDiffSliceOperation.h.
|
protected |
Definition at line 92 of file mitkDiffSliceOperation.h.