13 #ifndef mitkSegmentationInterpolationController_h_Included 14 #define mitkSegmentationInterpolationController_h_Included 21 #include <itkObjectFactory.h> 71 itkFactorylessNewMacro(Self);
91 void BlockModified(
bool);
102 void SetSegmentationVolume(
const Image *segmentation);
111 void SetReferenceVolume(
const Image *segmentation);
125 void SetChangedSlice(
const Image *sliceDiff,
126 unsigned int sliceDimension,
127 unsigned int sliceIndex,
128 unsigned int timeStep);
129 void SetChangedVolume(
const Image *sliceDiff,
unsigned int timeStep);
141 unsigned int sliceIndex,
143 unsigned int timeStep);
145 void OnImageModified(
const itk::EventObject &);
150 void Activate2DInterpolation(
bool);
165 unsigned int sd,
unsigned int si,
unsigned int d0,
unsigned int d1,
unsigned int t,
const void *pixels)
166 : sliceDimension(sd), sliceIndex(si), dim0(d0), dim1(d1), timeStep(t), pixelData(pixels)
188 template <
typename DATATYPE>
191 template <
typename TPixel,
unsigned int VImageDimension>
192 void ScanChangedVolume(
const itk::Image<TPixel, VImageDimension> *,
unsigned int timeStep);
194 template <
typename DATATYPE>
195 void ScanWholeVolume(
const itk::Image<DATATYPE, 3> *,
const Image *volume,
unsigned int timeStep);
std::vector< unsigned int > DirtyVectorType
Image::ConstPointer m_Segmentation
#define MITKSEGMENTATION_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
Generates interpolations of 2D slices.
SetChangedSliceOptions(unsigned int sd, unsigned int si, unsigned int d0, unsigned int d1, unsigned int t, const void *pixels)
static InterpolatorMapType s_InterpolatorForImage
Protected class of mitk::SegmentationInterpolationController. Don't use (you shouldn't be able to do ...
#define mitkClassMacroItkParent(className, SuperClassName)
Image class for storing images.
bool m_2DInterpolationActivated
std::map< const Image *, SegmentationInterpolationController * > InterpolatorMapType
TimeResolvedDirtyVectorType m_SegmentationCountInSlice
Image::ConstPointer m_ReferenceImage
std::vector< std::vector< DirtyVectorType > > TimeResolvedDirtyVectorType
Describes a two-dimensional, rectangular plane.
unsigned int sliceDimension