13 #ifndef mitkSegSliceOperation_h
14 #define mitkSegSliceOperation_h
#define MITKSEGMENTATION_EXPORT
Image class for storing images.
MultiLabelSegmentation class for handling labels and layers in a segmentation session.
std::size_t GroupIndexType
Describes a two-dimensional, rectangular plane.
Base class for any operation based on a MultiLabelSegmentation instance.
An Operation for applying an edited slice to the a group of a MultiLabelSegmentation.
Image::Pointer GetSlice() const
Get the slice that is applied in the operation.
const PlaneGeometry * GetSlicePlaneGeometry() const
Get the plane where the slice has to be applied in the volume.
~SegSliceOperation() override=default
mitkClassMacro(SegSliceOperation, SegChangeOperationBase)
MultiLabelSegmentation::GroupIndexType GetGroupID() const
Get the group index of the group image that should be modified.
MultiLabelSegmentation::GroupIndexType m_GroupID
TimeStepType GetTimeStep() const
Get the time step the operation should be applied on.
CompressedImageContainer m_CompressedImageContainer
PlaneGeometry::ConstPointer m_PlaneGeometry
mitk::BaseGeometry::ConstPointer m_GuardReferenceGeometry
bool IsValid() const override
Check if it is a valid operation.
SegSliceOperation(MultiLabelSegmentation *segmentation, MultiLabelSegmentation::GroupIndexType groupID, const Image *slice, const TimeStepType timestep, const PlaneGeometry *planeGeometry)
Find image slices visible on a given plane.