13 #ifndef mitkImageSliceSelector_h
14 #define mitkImageSliceSelector_h
38 itkFactorylessNewMacro(Self);
43 itkGetConstMacro(SliceNr,
int);
45 itkSetMacro(SliceNr,
int);
48 itkGetConstMacro(TimeNr,
int);
50 itkSetMacro(TimeNr,
int);
53 itkGetConstMacro(ChannelNr,
int);
55 itkSetMacro(ChannelNr,
int);
Provides access to a single slice of the input image.
void GenerateInputRequestedRegion() override
Set the requested region on the input to match the selected slice, time step, and channel.
void GenerateData() override
Extract the selected slice data from the input image.
void GenerateOutputInformation() override
Initialize output information (geometry, pixel type, dimensions) for the 2D slice output.
~ImageSliceSelector() override
mitkClassMacro(ImageSliceSelector, SubImageSelector)
Base class of all classes providing access to parts of an image.
Find image slices visible on a given plane.