RTK  2.6.0
Reconstruction Toolkit
Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Static Protected Member Functions | Protected Attributes | List of all members
rtk::EdfImageIO Class Reference

#include <rtkEdfImageIO.h>

+ Inheritance diagram for rtk::EdfImageIO:
+ Collaboration diagram for rtk::EdfImageIO:

Classes

struct  table
 
struct  table3
 

Public Types

using Pointer = itk::SmartPointer< Self >
 
using Self = EdfImageIO
 
using Superclass = itk::ImageIOBase
 

Public Member Functions

bool CanReadFile (const char *FileNameToRead) override
 
bool CanWriteFile (const char *filename) override
 
virtual ::itk::LightObject::Pointer CreateAnother () const
 
 EdfImageIO ()
 
void Read (void *buffer) override
 
void ReadImageInformation () override
 
void Write (const void *buffer) override
 
virtual void WriteImageInformation (bool keepOfStream)
 
void WriteImageInformation () override
 
virtual const char * GetNameOfClass () const
 

Static Public Member Functions

static Pointer New ()
 

Protected Types

enum  DataType {
  U_CHAR_DATATYPE = 0,
  CHAR_DATATYPE,
  U_SHORT_DATATYPE,
  SHORT_DATATYPE,
  U_INT_DATATYPE,
  INT_DATATYPE,
  U_L_INT_DATATYPE,
  L_INT_DATATYPE,
  FLOAT_DATATYPE,
  DOUBLE_DATATYPE,
  UNKNOWN_DATATYPE = -1
}
 

Static Protected Member Functions

static char * edf_findInHeader (char *header, const char *key)
 
static int lookup_table3_nth (const struct table3 *tbl, const char *search_str)
 
static int lookup_table_nth (const struct table *tbl, const char *search_str)
 

Protected Attributes

std::string m_BinaryFileName
 
int m_BinaryFileSkip
 

Detailed Description

Class for reading Edf image file format. Edf is the format of X-ray projection images at the ESRF.

Author
Simon Rit

Definition at line 40 of file rtkEdfImageIO.h.

Member Typedef Documentation

◆ Pointer

Definition at line 48 of file rtkEdfImageIO.h.

◆ Self

Standard class type alias.

Definition at line 46 of file rtkEdfImageIO.h.

◆ Superclass

Definition at line 47 of file rtkEdfImageIO.h.

Member Enumeration Documentation

◆ DataType

enum rtk::EdfImageIO::DataType
protected
Enumerator
U_CHAR_DATATYPE 
CHAR_DATATYPE 
U_SHORT_DATATYPE 
SHORT_DATATYPE 
U_INT_DATATYPE 
INT_DATATYPE 
U_L_INT_DATATYPE 
L_INT_DATATYPE 
FLOAT_DATATYPE 
DOUBLE_DATATYPE 
UNKNOWN_DATATYPE 

Definition at line 100 of file rtkEdfImageIO.h.

Constructor & Destructor Documentation

◆ EdfImageIO()

rtk::EdfImageIO::EdfImageIO ( )
inline

Definition at line 50 of file rtkEdfImageIO.h.

Member Function Documentation

◆ CanReadFile()

bool rtk::EdfImageIO::CanReadFile ( const char *  FileNameToRead)
overridevirtual

Implements itk::ImageIOBase.

◆ CanWriteFile()

bool rtk::EdfImageIO::CanWriteFile ( const char *  filename)
overridevirtual

Implements itk::ImageIOBase.

◆ CreateAnother()

virtual::itk::LightObject::Pointer rtk::EdfImageIO::CreateAnother ( ) const
virtual

Reimplemented from itk::Object.

◆ edf_findInHeader()

static char* rtk::EdfImageIO::edf_findInHeader ( char *  header,
const char *  key 
)
staticprotected

◆ GetNameOfClass()

virtual const char* rtk::EdfImageIO::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::ImageIOBase.

◆ lookup_table3_nth()

static int rtk::EdfImageIO::lookup_table3_nth ( const struct table3 tbl,
const char *  search_str 
)
inlinestaticprotected

Definition at line 155 of file rtkEdfImageIO.h.

◆ lookup_table_nth()

static int rtk::EdfImageIO::lookup_table_nth ( const struct table tbl,
const char *  search_str 
)
inlinestaticprotected

Definition at line 144 of file rtkEdfImageIO.h.

◆ New()

static Pointer rtk::EdfImageIO::New ( )
static

Method for creation through the object factory.

◆ Read()

void rtk::EdfImageIO::Read ( void *  buffer)
overridevirtual

Implements itk::ImageIOBase.

◆ ReadImageInformation()

void rtk::EdfImageIO::ReadImageInformation ( )
overridevirtual

Implements itk::ImageIOBase.

◆ Write()

void rtk::EdfImageIO::Write ( const void *  buffer)
overridevirtual

Implements itk::ImageIOBase.

◆ WriteImageInformation() [1/2]

virtual void rtk::EdfImageIO::WriteImageInformation ( bool  keepOfStream)
virtual

◆ WriteImageInformation() [2/2]

void rtk::EdfImageIO::WriteImageInformation ( )
inlineoverridevirtual

Implements itk::ImageIOBase.

Definition at line 80 of file rtkEdfImageIO.h.

Member Data Documentation

◆ m_BinaryFileName

std::string rtk::EdfImageIO::m_BinaryFileName
protected

Definition at line 92 of file rtkEdfImageIO.h.

◆ m_BinaryFileSkip

int rtk::EdfImageIO::m_BinaryFileSkip
protected

Definition at line 93 of file rtkEdfImageIO.h.


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