NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
niftk::QImageToMitkImageFilter Class Reference

A basic interface to produce a 2D Mitk image from a 2D QImage. Currently only supports a QImage with format. More...

Inheritance diagram for niftk::QImageToMitkImageFilter:
Inheritance graph
[legend]
Collaboration diagram for niftk::QImageToMitkImageFilter:
Collaboration graph
[legend]

Public Types

typedef itk::RGBPixel
< unsigned char > 
UCRGBPixelType
 
typedef itk::RGBPixel
< unsigned short > 
USRGBPixelType
 
typedef itk::RGBPixel< float > FloatRGBPixelType
 
typedef itk::RGBPixel< double > DoubleRGBPixelType
 
typedef itk::RGBAPixel
< unsigned char > 
UCRGBAPixelType
 
typedef itk::RGBAPixel
< unsigned short > 
USRGBAPixelType
 
typedef itk::RGBAPixel< float > FloatRGBAPixelType
 
typedef itk::RGBAPixel< double > DoubleRGBAPixelType
 

Public Member Functions

 mitkClassMacro (QImageToMitkImageFilter, mitk::ImageSource) static Pointer New()
 
void SetQImage (const QImage *image)
 
virtual const QImage * GetQImage ()
 
OutputImageType * GetOutput ()
 
void SetGeometryImage (mitk::Image::Pointer GeomImage)
 If set the image geometry will be copied from Geometry Image. More...
 

Protected Member Functions

 QImageToMitkImageFilter ()
 
virtual ~QImageToMitkImageFilter ()
 
virtual DataObjectPointer MakeOutput (unsigned int idx)
 
virtual void GenerateData () override
 

Protected Attributes

const QImage * m_QImage
 
mitk::Image::Pointer m_Image
 
mitk::Image::Pointer m_GeomImage
 

Detailed Description

A basic interface to produce a 2D Mitk image from a 2D QImage. Currently only supports a QImage with format.

Member Typedef Documentation

typedef itk::RGBAPixel< double > niftk::QImageToMitkImageFilter::DoubleRGBAPixelType
typedef itk::RGBPixel< double > niftk::QImageToMitkImageFilter::DoubleRGBPixelType
typedef itk::RGBAPixel< float > niftk::QImageToMitkImageFilter::FloatRGBAPixelType
typedef itk::RGBPixel< float > niftk::QImageToMitkImageFilter::FloatRGBPixelType
typedef itk::RGBAPixel< unsigned char > niftk::QImageToMitkImageFilter::UCRGBAPixelType
typedef itk::RGBPixel< unsigned char > niftk::QImageToMitkImageFilter::UCRGBPixelType
typedef itk::RGBAPixel< unsigned short > niftk::QImageToMitkImageFilter::USRGBAPixelType
typedef itk::RGBPixel< unsigned short > niftk::QImageToMitkImageFilter::USRGBPixelType

Constructor & Destructor Documentation

niftk::QImageToMitkImageFilter::QImageToMitkImageFilter ( )
protected
niftk::QImageToMitkImageFilter::~QImageToMitkImageFilter ( )
protectedvirtual

Member Function Documentation

void niftk::QImageToMitkImageFilter::GenerateData ( void  )
overrideprotectedvirtual
mitk::ImageSource::OutputImageType * niftk::QImageToMitkImageFilter::GetOutput ( void  )
virtual const QImage* niftk::QImageToMitkImageFilter::GetQImage ( )
virtual
mitk::ImageSource::DataObjectPointer niftk::QImageToMitkImageFilter::MakeOutput ( unsigned int  idx)
protectedvirtual
niftk::QImageToMitkImageFilter::mitkClassMacro ( QImageToMitkImageFilter  ,
mitk::ImageSource   
)
void niftk::QImageToMitkImageFilter::SetGeometryImage ( mitk::Image::Pointer  GeomImage)

If set the image geometry will be copied from Geometry Image.

void niftk::QImageToMitkImageFilter::SetQImage ( const QImage *  image)

Member Data Documentation

mitk::Image::Pointer niftk::QImageToMitkImageFilter::m_GeomImage
protected
mitk::Image::Pointer niftk::QImageToMitkImageFilter::m_Image
protected
const QImage* niftk::QImageToMitkImageFilter::m_QImage
protected

The documentation for this class was generated from the following files: