17 #ifndef mitkSegmentationInterpolationController_h_Included
18 #define mitkSegmentationInterpolationController_h_Included
25 #include <itkObjectFactory.h>
78 itkFactorylessNewMacro(Self) itkCloneMacro(Self)
97 void BlockModified(
bool);
108 void SetSegmentationVolume(
const Image *segmentation);
117 void SetReferenceVolume(
const Image *segmentation);
131 void SetChangedSlice(
const Image *sliceDiff,
132 unsigned int sliceDimension,
133 unsigned int sliceIndex,
134 unsigned int timeStep);
135 void SetChangedVolume(
const Image *sliceDiff,
unsigned int timeStep);
147 unsigned int sliceIndex,
149 unsigned int timeStep);
151 void OnImageModified(
const itk::EventObject &);
156 void Activate2DInterpolation(
bool);
171 unsigned int sd,
unsigned int si,
unsigned int d0,
unsigned int d1,
unsigned int t,
const void *pixels)
172 : sliceDimension(sd), sliceIndex(si), dim0(d0), dim1(d1), timeStep(t), pixelData(pixels)
194 template <
typename DATATYPE>
197 template <
typename TPixel,
unsigned int VImageDimension>
198 void ScanChangedVolume(
const itk::Image<TPixel, VImageDimension> *,
unsigned int timeStep);
200 template <
typename DATATYPE>
201 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