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

#include <rtkXimImageIO.h>

+ Inheritance diagram for rtk::XimImageIO:
+ Collaboration diagram for rtk::XimImageIO:

Classes

struct  xim_header
 

Public Types

using Int4 = itk::int32_t
 
using PixelType = signed short int
 
using Pointer = itk::SmartPointer< Self >
 
using Self = XimImageIO
 
using Superclass = itk::ImageIOBase
 
typedef struct rtk::XimImageIO::xim_header Xim_header
 

Public Member Functions

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

Static Public Member Functions

static Pointer New ()
 

Private Member Functions

template<typename T >
vcl_size_t SetPropertyValue (char *property_name, Int4 value_length, FILE *fp, Xim_header *xim)
 

Private Attributes

Int4 m_BytesPerPixel
 
int m_ImageDataStart
 

Detailed Description

Class for reading Xim Image file format.

Reads Xim files (file format used by Varian for Obi raw data).

Author
Andreas Gravgaard Andersen

Definition at line 47 of file rtkXimImageIO.h.

Member Typedef Documentation

◆ Int4

using rtk::XimImageIO::Int4 = itk::int32_t

Definition at line 55 of file rtkXimImageIO.h.

◆ PixelType

using rtk::XimImageIO::PixelType = signed short int

Definition at line 54 of file rtkXimImageIO.h.

◆ Pointer

Definition at line 53 of file rtkXimImageIO.h.

◆ Self

Standard class type alias.

Definition at line 51 of file rtkXimImageIO.h.

◆ Superclass

Definition at line 52 of file rtkXimImageIO.h.

◆ Xim_header

Constructor & Destructor Documentation

◆ XimImageIO()

rtk::XimImageIO::XimImageIO ( )
inline

Definition at line 102 of file rtkXimImageIO.h.

Member Function Documentation

◆ CanReadFile()

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

Implements itk::ImageIOBase.

◆ CanWriteFile()

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

Implements itk::ImageIOBase.

◆ CreateAnother()

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

Reimplemented from itk::Object.

◆ GetNameOfClass()

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

Run-time type information (and related methods).

Reimplemented from itk::ImageIOBase.

◆ New()

static Pointer rtk::XimImageIO::New ( )
static

Method for creation through the object factory.

◆ Read()

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

Implements itk::ImageIOBase.

◆ ReadImageInformation()

void rtk::XimImageIO::ReadImageInformation ( )
overridevirtual

Implements itk::ImageIOBase.

◆ SetPropertyValue()

template<typename T >
vcl_size_t rtk::XimImageIO::SetPropertyValue ( char *  property_name,
Int4  value_length,
FILE *  fp,
Xim_header xim 
)
private

◆ Write()

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

Implements itk::ImageIOBase.

◆ WriteImageInformation() [1/2]

virtual void rtk::XimImageIO::WriteImageInformation ( bool  )
inlinevirtual

Definition at line 129 of file rtkXimImageIO.h.

◆ WriteImageInformation() [2/2]

void rtk::XimImageIO::WriteImageInformation ( )
inlineoverridevirtual

Implements itk::ImageIOBase.

Definition at line 133 of file rtkXimImageIO.h.

Member Data Documentation

◆ m_BytesPerPixel

Int4 rtk::XimImageIO::m_BytesPerPixel
private

Definition at line 150 of file rtkXimImageIO.h.

◆ m_ImageDataStart

int rtk::XimImageIO::m_ImageDataStart
private

Definition at line 149 of file rtkXimImageIO.h.


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