Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::GDCMSeriesFileNames Class Reference
[Input and Output Filters]

Generate a sequence of filenames from a DICOM series. More...

#include <itkGDCMSeriesFileNames.h>

Inheritance diagram for itk::GDCMSeriesFileNames:

Inheritance graph
[legend]
Collaboration diagram for itk::GDCMSeriesFileNames:

Collaboration graph
[legend]
List of all members.

Public Types

typedef GDCMSeriesFileNames Self
typedef Object Superclass
typedef SmartPointer< SelfPointer

Public Member Functions

virtual const char * GetClassName () const
const std::vector< std::string > & GetInputFileNames ()
const std::vector< std::string > & GetOutputFileNames ()
void SetInputDirectory (const char *name)
void SetInputDirectory (std::string const &name)
void SetOutputDirectory (std::string const &name)

Static Public Member Functions

Pointer New ()

Protected Member Functions

 GDCMSeriesFileNames ()
 ~GDCMSeriesFileNames ()
void PrintSelf (std::ostream &os, Indent indent) const

Detailed Description

Generate a sequence of filenames from a DICOM series.

This class generate a sequence of files whose filenames points to a DICOM file. The oredring is based on the following strategy: Read all images in the directory (assuming there is only one study/serie)

1. Extract Image Orientation & Image Position from DICOM images, and then calculate the ordering based on the 3D coordinate of the slice 2. If for some reason this information is not found or failed, another strategy is used: the ordering is based on 'Image Number' 3. If this strategy also failed, then the filenames are ordered by lexicographical order.

Definition at line 45 of file itkGDCMSeriesFileNames.h.


Member Typedef Documentation

typedef SmartPointer<Self> itk::GDCMSeriesFileNames::Pointer
 

Reimplemented from itk::Object.

Definition at line 51 of file itkGDCMSeriesFileNames.h.

typedef GDCMSeriesFileNames itk::GDCMSeriesFileNames::Self
 

Standard class typedefs.

Reimplemented from itk::Object.

Definition at line 49 of file itkGDCMSeriesFileNames.h.

Referenced by ~GDCMSeriesFileNames().

typedef Object itk::GDCMSeriesFileNames::Superclass
 

Reimplemented from itk::Object.

Definition at line 50 of file itkGDCMSeriesFileNames.h.


Constructor & Destructor Documentation

itk::GDCMSeriesFileNames::GDCMSeriesFileNames  )  [inline, protected]
 

Definition at line 101 of file itkGDCMSeriesFileNames.h.

itk::GDCMSeriesFileNames::~GDCMSeriesFileNames  )  [inline, protected]
 

Definition at line 102 of file itkGDCMSeriesFileNames.h.

References Self.


Member Function Documentation

virtual const char* itk::GDCMSeriesFileNames::GetClassName  )  const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::Object.

const std::vector<std::string>& itk::GDCMSeriesFileNames::GetInputFileNames  ) 
 

Returns a vector containing the series' file names. The file names are ordered by the strategy define in header.

const std::vector<std::string>& itk::GDCMSeriesFileNames::GetOutputFileNames  ) 
 

Returns a vector containing the series' file names. The file names are ordered in the same extact order as the input one. This could be dangerous if the writting has change 3d position or some other DICOM tag in the header

Pointer itk::GDCMSeriesFileNames::New  )  [static]
 

Method for creation through the object factory.

Reimplemented from itk::Object.

void itk::GDCMSeriesFileNames::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::Object.

void itk::GDCMSeriesFileNames::SetInputDirectory std::string const &  name  )  [inline]
 

Set the directory that contains the DICOM series.

Definition at line 74 of file itkGDCMSeriesFileNames.h.

References itk::Object::Modified().

void itk::GDCMSeriesFileNames::SetInputDirectory const char *  name  )  [inline]
 

Set the directory that contains the DICOM series.

Definition at line 62 of file itkGDCMSeriesFileNames.h.

References itkExceptionMacro.

void itk::GDCMSeriesFileNames::SetOutputDirectory std::string const &  name  )  [inline]
 

Set the directory where the output DICOM serie should be written.

Definition at line 86 of file itkGDCMSeriesFileNames.h.


The documentation for this class was generated from the following file:
Generated at Wed Mar 30 01:19:44 2005 for ITK by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2000