CustusX  16.5.0-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::PNGImageReader Class Reference

Reader for portable network graphics .png files. More...

#include <cxDataReaderWriter.h>

Inheritance diagram for cx::PNGImageReader:
cx::DataReader

Public Member Functions

virtual ~PNGImageReader ()
 
virtual bool canLoad (const QString &type, const QString &filename)
 
virtual bool readInto (DataPtr data, QString path)
 
bool readInto (ImagePtr image, QString filename)
 
virtual QString canLoadDataType () const
 
virtual DataPtr load (const QString &uid, const QString &filename)
 
virtual vtkImageDataPtr loadVtkImageData (QString filename)
 
- Public Member Functions inherited from cx::DataReader
virtual ~DataReader ()
 
virtual vtkPolyDataPtr loadVtkPolyData (QString filename)
 

Detailed Description

Reader for portable network graphics .png files.

Definition at line 126 of file cxDataReaderWriter.h.

Constructor & Destructor Documentation

virtual cx::PNGImageReader::~PNGImageReader ( )
inlinevirtual

Definition at line 129 of file cxDataReaderWriter.h.

Member Function Documentation

virtual bool cx::PNGImageReader::canLoad ( const QString &  type,
const QString &  filename 
)
inlinevirtual

Implements cx::DataReader.

Definition at line 130 of file cxDataReaderWriter.h.

virtual QString cx::PNGImageReader::canLoadDataType ( ) const
inlinevirtual

Implements cx::DataReader.

Definition at line 137 of file cxDataReaderWriter.h.

DataPtr cx::PNGImageReader::load ( const QString &  uid,
const QString &  filename 
)
virtual

Implements cx::DataReader.

Definition at line 258 of file cxDataReaderWriter.cpp.

vtkImageDataPtr cx::PNGImageReader::loadVtkImageData ( QString  filename)
virtual

Reimplemented from cx::DataReader.

Definition at line 265 of file cxDataReaderWriter.cpp.

bool cx::PNGImageReader::readInto ( DataPtr  data,
QString  filename 
)
virtual

-----------------------------------------------------—


Implements cx::DataReader.

Definition at line 242 of file cxDataReaderWriter.cpp.

bool cx::PNGImageReader::readInto ( ImagePtr  image,
QString  filename 
)

Definition at line 247 of file cxDataReaderWriter.cpp.


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