Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members

mitkDICOMInfoReader Class Reference

mitkDICOMInfoReader - a concrete reader for reading element information in DICOM files More...

#include <mitkDICOMInfoReader.h>

Inherits mitkInfoReader.

Inheritance diagram for mitkDICOMInfoReader:

Inheritance graph
[legend]
Collaboration diagram for mitkDICOMInfoReader:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual void PrintSelf (ostream &os)
bool GetDataElement (unsigned long tag, DICOMELEMENT &element)

Static Public Member Functions

static const char * GetDescription (unsigned long tag)

Detailed Description

mitkDICOMInfoReader - a concrete reader for reading element information in DICOM files

mitkDICOMInfoReader is a concrete reader for reading element information in DICOM files To use this reader, the code snippet is:

    mitkDICOMInfoReader *aReader = new mitkDICOMInfoReader; 
    aReader->AddFileName(filename); //Only one file will be processed at a time
    if (aReader->Run())
    { 
        DICOMELEMENT aElement;
        if (aReader->GetDataElement(somedicomtag, aElement)
        {
            Using aElement
        }
    }


Member Function Documentation

bool mitkDICOMInfoReader::GetDataElement unsigned long  tag,
DICOMELEMENT &  element
 

Get data element in the DICOM file.

Parameters:
tag the tag of the data element to get from file
element the DICOMELEMENT structure to contain the data element found from the file (if the element has not been found, the value is unchanged)
Returns:
Return true if the data element is found in the file.

static const char* mitkDICOMInfoReader::GetDescription unsigned long  tag  )  [static]
 

Get the description of the tag.

Parameters:
tag the tag value
Returns:
Return the string of description of the tag. Return NULL if the description of the tag has not been found.

virtual void mitkDICOMInfoReader::PrintSelf ostream &  os  )  [virtual]
 

Print the necessary information about this object for the debugging purpose.

Parameters:
os The specified ostream to output information.

Reimplemented from mitkInfoReader.


The documentation for this class was generated from the following file:
Generated on Tue Feb 25 15:02:04 2014 for MITK (Medical Imaging ToolKit) by  doxygen 1.4.3