38 if(m_RgbImage.IsNull())
40 return m_RgbImage->GetVtkImageData(t,n);
45 if(m_RgbImage.IsNull())
47 return m_RgbImage->GetVtkImageData(t,n);
52 typedef itk::Image<itk::Vector<float,QBALL_ODFSIZE>,3>
ImageType;
58 filter->SetInput(itkvol);
62 m_RgbImage->InitializeByItk( filter->GetOutput() );
63 m_RgbImage->SetVolume( filter->GetOutput()->GetBufferPointer() );
68 return Superclass::GetVtkImageData(t,n);
73 return Superclass::GetVtkImageData(t,n);
itk::SmartPointer< Self > Pointer
virtual const vtkImageData * GetVtkImageData(int t=0, int n=0) const override
void SetProperty(const char *propertyKey, BaseProperty *property)
map::core::discrete::Elements< 3 >::InternalImageType ImageType
mitk::Image::Pointer m_RgbImage
Image class for storing images.
void MITKCORE_EXPORT CastToItkImage(const mitk::Image *mitkImage, itk::SmartPointer< ItkOutputImageType > &itkOutputImage)
Cast an mitk::Image to an itk::Image with a specific type.
virtual const vtkImageData * GetNonRgbVtkImageData(int t=0, int n=0) const
virtual void ConstructRgbImage() const
static itkEventMacro(BoundingShapeInteractionEvent, itk::AnyEvent) class MITKBOUNDINGSHAPE_EXPORT BoundingShapeInteractor Pointer New()
Basic interaction methods for mitk::GeometryData.