CustusX  18.04-rc1
An IGT application
cx::DataReader Class Referenceabstract

Interface for Data file readers. More...

#include <cxDataReaderWriter.h>

Inheritance diagram for cx::DataReader:
cx::MetaImageReader cx::NIfTIReader cx::PNGImageReader cx::PolyDataMeshReader cx::StlMeshReader cx::XMLPolyDataMeshReader

Public Member Functions

virtual ~DataReader ()
 
virtual bool canLoad (const QString &type, const QString &filename)=0
 
virtual DataPtr load (const QString &uid, const QString &filename)=0
 
virtual vtkImageDataPtr loadVtkImageData (QString filename)
 
virtual vtkPolyDataPtr loadVtkPolyData (QString filename)
 
virtual QString canLoadDataType () const =0
 
virtual bool readInto (DataPtr data, QString path)=0
 

Detailed Description

Interface for Data file readers.

Definition at line 43 of file cxDataReaderWriter.h.

Constructor & Destructor Documentation

virtual cx::DataReader::~DataReader ( )
inlinevirtual

Definition at line 46 of file cxDataReaderWriter.h.

Member Function Documentation

virtual bool cx::DataReader::canLoad ( const QString &  type,
const QString &  filename 
)
pure virtual
virtual QString cx::DataReader::canLoadDataType ( ) const
pure virtual
virtual DataPtr cx::DataReader::load ( const QString &  uid,
const QString &  filename 
)
pure virtual
virtual vtkImageDataPtr cx::DataReader::loadVtkImageData ( QString  filename)
inlinevirtual

Reimplemented in cx::PNGImageReader, cx::NIfTIReader, and cx::MetaImageReader.

Definition at line 51 of file cxDataReaderWriter.h.

virtual vtkPolyDataPtr cx::DataReader::loadVtkPolyData ( QString  filename)
inlinevirtual

Reimplemented in cx::StlMeshReader, cx::XMLPolyDataMeshReader, and cx::PolyDataMeshReader.

Definition at line 52 of file cxDataReaderWriter.h.

virtual bool cx::DataReader::readInto ( DataPtr  data,
QString  path 
)
pure virtual

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