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

mitkTrackedBscanDataWriter Class Reference

mitkTrackedBscanDataWriter - A concrete class to write TrackedBscanData to PAI files. More...

#include <mitkTrackedBscanDataWriter.h>

Inherits mitkRawDataWriter.

Inheritance diagram for mitkTrackedBscanDataWriter:

Inheritance graph
[legend]
Collaboration diagram for mitkTrackedBscanDataWriter:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual void PrintSelf (ostream &os)
void SetInput (mitkTrackedBscanData *inData)
mitkTrackedBscanDataGetInput ()

Detailed Description

mitkTrackedBscanDataWriter - A concrete class to write TrackedBscanData to PAI files.

mitkTrackedBscanDataWriter is a concrete class to write mitkTrackedBscanData object to PAI files. Raw Data acquired for 3D Ultrasound Reconstruction are stored as PAI (Positions And Images) files on the hard disk. A HPAI (Head for PAIs) file is stored together with the PAI files. The HPAI contains number of PAI files, B-Scan image size and spacings, calibrated PToR matrix, predetermined TToC matrix, predetermined volume size and volume spacings. Each PAI file contains the data of a B-scan image and the relative RToT matrix.

To use this writer, the code snippet is:

    mitkTrackedBscanDataWriter *aWriter = new mitkTrackedBscanDataWriter; 
    aWriter->SetInput(TrackedBscanData); 
    aWriter->AddFileName(filename); //Only require the head file name "*.hpai"
    aWriter->Run(); 

Note: The HPAI and PAI are customized file formats defined by the Medical Image Processing Group, Institute of Automation, Chinese Academy of Sciences. Please read the Manual or Examples to find the file formats.


Member Function Documentation

mitkTrackedBscanData* mitkTrackedBscanDataWriter::GetInput  )  [inline]
 

Get input volume.

Returns:
Return the input volume

virtual void mitkTrackedBscanDataWriter::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 mitkRawDataWriter.

void mitkTrackedBscanDataWriter::SetInput mitkTrackedBscanData inData  )  [inline]
 

Set input volume to write to disk file.

Parameters:
inData Input volume


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