ITK  4.0.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
itk::DICOMImageIO2 Class Reference

Read DICOMImage file format. More...

#include <itkDICOMImageIO2.h>

Inheritance diagram for itk::DICOMImageIO2:
Collaboration diagram for itk::DICOMImageIO2:

List of all members.

Public Types

typedef SmartPointer< SelfPointer
typedef DICOMImageIO2 Self
typedef ImageIOBase Superclass

Public Member Functions

virtual bool CanReadFile (const char *)
virtual bool CanWriteFile (const char *)
virtual ::itk::LightObject::Pointer CreateAnother (void) const
void GetBodyPart (char *part)
void GetInstitution (char *ins)
void GetManufacturer (char *manu)
void GetModality (char *modality)
void GetModel (char *model)
virtual const char * GetNameOfClass () const
void GetNumberOfSeriesInStudy (char *series)
void GetNumberOfStudyRelatedSeries (char *series)
void GetPatientAge (char *age)
void GetPatientDOB (char *dob)
void GetPatientID (char *id)
void GetPatientName (char *name)
void GetPatientSex (char *sex)
void GetStudyDate (char *date)
void GetStudyDescription (char *desc)
void GetStudyID (char *id)
virtual void Read (void *buffer)
virtual void ReadImageInformation ()
virtual void Write (const void *)
virtual void WriteImageInformation ()

Static Public Member Functions

static Pointer New ()

Protected Member Functions

 DICOMImageIO2 ()
void PrintSelf (std::ostream &os, Indent indent) const
void ReadDataCallback (doublebyte group, doublebyte element, itkdicomparser::DICOMParser::VRTypes type, unsigned char *val, quadbyte len)
virtual ~DICOMImageIO2 ()

Protected Attributes

itkdicomparser::DICOMAppHelper * m_AppHelper
unsigned char * m_ImageDataBuffer
itkdicomparser::DICOMParser * m_Parser

Private Member Functions

 DICOMImageIO2 (const Self &)
void operator= (const Self &)

Detailed Description

Read DICOMImage file format.

Definition at line 34 of file itkDICOMImageIO2.h.


Member Typedef Documentation

Reimplemented from itk::ImageIOBase.

Definition at line 41 of file itkDICOMImageIO2.h.

Standard class typedefs.

Reimplemented from itk::ImageIOBase.

Definition at line 39 of file itkDICOMImageIO2.h.

Reimplemented from itk::ImageIOBase.

Definition at line 40 of file itkDICOMImageIO2.h.


Constructor & Destructor Documentation

itk::DICOMImageIO2::DICOMImageIO2 ( ) [protected]
virtual itk::DICOMImageIO2::~DICOMImageIO2 ( ) [protected, virtual]
itk::DICOMImageIO2::DICOMImageIO2 ( const Self ) [private]

Member Function Documentation

virtual bool itk::DICOMImageIO2::CanReadFile ( const char *  ) [virtual]

Determine the file type. Returns true if this ImageIO can read the file specified.

Implements itk::ImageIOBase.

virtual bool itk::DICOMImageIO2::CanWriteFile ( const char *  ) [inline, virtual]

Compute the size (in bytes) of the components of a pixel. For example, and RGB pixel of unsigned char would have a component size of 1 byte. Determine the file type. Returns true if this ImageIO can write the file specified.

Implements itk::ImageIOBase.

Definition at line 73 of file itkDICOMImageIO2.h.

virtual::itk::LightObject::Pointer itk::DICOMImageIO2::CreateAnother ( void  ) const [virtual]

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::LightProcessObject.

void itk::DICOMImageIO2::GetBodyPart ( char *  part)
void itk::DICOMImageIO2::GetInstitution ( char *  ins)
void itk::DICOMImageIO2::GetManufacturer ( char *  manu)
void itk::DICOMImageIO2::GetModality ( char *  modality)
void itk::DICOMImageIO2::GetModel ( char *  model)
virtual const char* itk::DICOMImageIO2::GetNameOfClass ( ) const [virtual]

Run-time type information (and related methods).

Reimplemented from itk::ImageIOBase.

void itk::DICOMImageIO2::GetNumberOfSeriesInStudy ( char *  series)
void itk::DICOMImageIO2::GetNumberOfStudyRelatedSeries ( char *  series)
void itk::DICOMImageIO2::GetPatientAge ( char *  age)
void itk::DICOMImageIO2::GetPatientDOB ( char *  dob)
void itk::DICOMImageIO2::GetPatientID ( char *  id)
void itk::DICOMImageIO2::GetPatientName ( char *  name)

Get methods to query patient information and scanner information

void itk::DICOMImageIO2::GetPatientSex ( char *  sex)
void itk::DICOMImageIO2::GetStudyDate ( char *  date)
void itk::DICOMImageIO2::GetStudyDescription ( char *  desc)
void itk::DICOMImageIO2::GetStudyID ( char *  id)
static Pointer itk::DICOMImageIO2::New ( ) [static]

Method for creation through the object factory.

Reimplemented from itk::LightProcessObject.

void itk::DICOMImageIO2::operator= ( const Self ) [private]

This method causes the filter to generate its output.

Reimplemented from itk::ImageIOBase.

void itk::DICOMImageIO2::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [protected, virtual]

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::ImageIOBase.

virtual void itk::DICOMImageIO2::Read ( void *  buffer) [virtual]

Get the type of the pixel. Reads the data from disk into the memory buffer provided.

Implements itk::ImageIOBase.

void itk::DICOMImageIO2::ReadDataCallback ( doublebyte  group,
doublebyte  element,
itkdicomparser::DICOMParser::VRTypes  type,
unsigned char *  val,
quadbyte  len 
) [protected]
virtual void itk::DICOMImageIO2::ReadImageInformation ( ) [virtual]

Set the spacing and dimension information for the set filename.

Implements itk::ImageIOBase.

virtual void itk::DICOMImageIO2::Write ( const void *  ) [inline, virtual]

Writes the data to disk from the memory buffer provided. Make sure that the IORegions has been set properly.

Implements itk::ImageIOBase.

Definition at line 80 of file itkDICOMImageIO2.h.

virtual void itk::DICOMImageIO2::WriteImageInformation ( void  ) [inline, virtual]

Set the spacing and dimension information for the set filename.

Implements itk::ImageIOBase.

Definition at line 76 of file itkDICOMImageIO2.h.


Member Data Documentation

itkdicomparser::DICOMAppHelper* itk::DICOMImageIO2::m_AppHelper [protected]

Definition at line 119 of file itkDICOMImageIO2.h.

unsigned char* itk::DICOMImageIO2::m_ImageDataBuffer [protected]

Definition at line 127 of file itkDICOMImageIO2.h.

itkdicomparser::DICOMParser* itk::DICOMImageIO2::m_Parser [protected]

Definition at line 118 of file itkDICOMImageIO2.h.


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