13 #ifndef mitkSegmentationInterpolationController_h
14 #define mitkSegmentationInterpolationController_h
22 #include <itkObjectFactory.h>
69 itkFactorylessNewMacro(Self);
89 void BlockModified(
bool);
100 void SetSegmentationVolume(
const Image *segmentation);
109 void SetReferenceVolume(
const Image *segmentation);
123 void SetChangedSlice(
const Image *sliceDiff,
124 unsigned int sliceDimension,
125 unsigned int sliceIndex,
126 unsigned int timeStep);
127 void SetChangedVolume(
const Image *sliceDiff,
unsigned int timeStep);
143 unsigned int sliceIndex,
145 unsigned int timeStep,
146 mitk::ShapeBasedInterpolationAlgorithm::Pointer algorithm =
nullptr);
148 void OnImageModified(
const itk::EventObject &);
153 void Activate2DInterpolation(
bool);
158 void EnableSliceImageCache();
163 void DisableSliceImageCache();
178 unsigned int sd,
unsigned int si,
unsigned int d0,
unsigned int d1,
unsigned int t,
const void *pixels)
179 : sliceDimension(sd), sliceIndex(si), dim0(d0), dim1(d1), timeStep(t), pixelData(pixels)
201 template <
typename DATATYPE>
204 template <
typename TPixel,
unsigned int VImageDimension>
205 void ScanChangedVolume(
const itk::Image<TPixel, VImageDimension> *,
unsigned int timeStep);
207 template <
typename DATATYPE>
208 void ScanWholeVolume(
const itk::Image<DATATYPE, 3> *,
const Image *volume,
unsigned int timeStep);