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

mitkVolumeWriter Class Reference

mitkVolumeWriter - an abstract class represents a volume writer for writing image/volume files to disk More...

#include <mitkVolumeWriter.h>

Inherits mitkWriter.

Inherited by mitkAnalyzeImageWriter, mitkBMPWriter, mitkCacheVolumeWriter, mitkDICOMWriter, mitkIM0Writer, mitkJPEGWriter, mitkMetaImageWriter, mitkNetCDFImageWriter, mitkRawFilesWriter, mitkRawWriter, and mitkTIFFWriter.

Inheritance diagram for mitkVolumeWriter:

Inheritance graph
[legend]
Collaboration diagram for mitkVolumeWriter:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual void PrintSelf (ostream &os)
void SetInput (mitkVolume *inData)
mitkVolumeGetInput ()

Detailed Description

mitkVolumeWriter - an abstract class represents a volume writer for writing image/volume files to disk

mitkVolumeWriter defines the interface of all of the volume writers. To use a concrete writer, for example, mitkBMPWriter, the code snippet is:

    mitkBMPWriter *aWriter = new mitkBMPWriter; 
    aWriter->SetInput(aVolume); 
    int imageNum = aVolume->GetImageNum(); 
    Gerenate file names into files[imageNum]; 
    for(int i = 0; i < imageNum; i++) 
        aWriter->AddFileName(files[i]); 
    aWriter->Run(); 


Member Function Documentation

mitkVolume* mitkVolumeWriter::GetInput  )  [inline]
 

Get input volume.

Returns:
Return the input volume

virtual void mitkVolumeWriter::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 mitkWriter.

Reimplemented in mitkAnalyzeImageWriter, mitkBMPWriter, mitkCacheVolumeWriter, mitkDICOMWriter, mitkJPEGWriter, mitkMetaImageWriter, mitkNetCDFImageWriter, mitkRawFilesWriter, mitkRawWriter, and mitkTIFFWriter.

void mitkVolumeWriter::SetInput mitkVolume 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:07:41 2014 for MITK (Medical Imaging ToolKit) by  doxygen 1.4.3