CustusX  15.3.3-beta
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::DataReader Class Referenceabstract

Interface for Data file readers. More...

#include <cxDataReaderWriter.h>

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

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 84 of file cxDataReaderWriter.h.

Constructor & Destructor Documentation

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

Definition at line 87 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, and cx::MetaImageReader.

Definition at line 92 of file cxDataReaderWriter.h.

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

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

Definition at line 93 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: