26 return input->GetSliceData(s, t, n);
32 return input->GetVolumeData(t, n);
38 return input->GetChannelData(n);
44 if (output->IsValidChannel(n) ==
false)
46 output->m_Channels[n] = dataItem;
52 if (output->IsValidVolume(t, n) ==
false)
55 pos = output->GetVolumeIndex(t, n);
56 output->m_Volumes[pos] = dataItem;
62 if (output->IsValidSlice(s, t, n) ==
false)
65 pos = output->GetSliceIndex(s, t, n);
66 output->m_Slices[pos] = dataItem;
virtual void SetPosNr(int p)
mitk::Image::ImageDataItemPointer GetVolumeData(int t=0, int n=0)
mitk::Image::ImageDataItemPointer GetSliceData(int s=0, int t=0, int n=0)
void SetSliceItem(mitk::Image::ImageDataItemPointer dataItem, int s=0, int t=0, int n=0)
Image class for storing images.
virtual ~SubImageSelector()
void SetVolumeItem(mitk::Image::ImageDataItemPointer dataItem, int t=0, int n=0)
void SetChannelItem(mitk::Image::ImageDataItemPointer dataItem, int n=0)
mitk::Image::ImageDataItemPointer GetChannelData(int n=0)