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

itk::RawImageWriter< TInputImage > Class Template Reference
[Input and Output FiltersDeprecated classes that are scheduled to be removed from the Toolkit]

Write an image (n-dimensional) in raw format. More...

#include <itkRawImageWriter.h>

Inheritance diagram for itk::RawImageWriter:

Inheritance graph
[legend]
Collaboration diagram for itk::RawImageWriter< TInputImage >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef RawImageWriter Self
typedef ImageWriter< TInputImage > Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
enum  ByteOrder { BigEndian, LittleEndian }

Public Methods

virtual const char * GetClassName () const
virtual void SetByteOrder (ByteOrder _arg)
virtual ByteOrder GetByteOrder ()
void SetByteOrderToBigEndian ()
void SetByteOrderToLittleEndian ()

Static Public Methods

Pointer New ()

Protected Methods

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

Detailed Description

template<class TInputImage>
class itk::RawImageWriter< TInputImage >

Write an image (n-dimensional) in raw format.

RawImageWriter writes n-dimensional images in raw file format. The raw format is just a sequence of numbers representing pixel (i.e., image) values in the order of image definition (i.e., row, then slice, then volume, etc.) You can specify binary or ASCII output types, as well as the byte order (little endian or big endian).

Definition at line 42 of file itkRawImageWriter.h.


Member Typedef Documentation

template<class TInputImage>
typedef SmartPointer<const Self> itk::RawImageWriter< TInputImage >::ConstPointer
 

Reimplemented from itk::ImageWriter< TInputImage >.

Definition at line 49 of file itkRawImageWriter.h.

template<class TInputImage>
typedef SmartPointer<Self> itk::RawImageWriter< TInputImage >::Pointer
 

Reimplemented from itk::ImageWriter< TInputImage >.

Definition at line 48 of file itkRawImageWriter.h.

template<class TInputImage>
typedef RawImageWriter itk::RawImageWriter< TInputImage >::Self
 

Standard class typedefs.

Reimplemented from itk::ImageWriter< TInputImage >.

Definition at line 46 of file itkRawImageWriter.h.

template<class TInputImage>
typedef ImageWriter<TInputImage> itk::RawImageWriter< TInputImage >::Superclass
 

Reimplemented from itk::ImageWriter< TInputImage >.

Definition at line 47 of file itkRawImageWriter.h.


Member Enumeration Documentation

template<class TInputImage>
enum itk::RawImageWriter::ByteOrder
 

Enums used to specify the byte order.

Enumeration values:
BigEndian 
LittleEndian 

Definition at line 58 of file itkRawImageWriter.h.


Constructor & Destructor Documentation

template<class TInputImage>
itk::RawImageWriter< TInputImage >::RawImageWriter   [protected]
 

template<class TInputImage>
itk::RawImageWriter< TInputImage >::~RawImageWriter   [inline, protected]
 

Definition at line 76 of file itkRawImageWriter.h.


Member Function Documentation

template<class TInputImage>
virtual ByteOrder itk::RawImageWriter< TInputImage >::GetByteOrder   [virtual]
 

Get the byte order.

template<class TInputImage>
virtual const char* itk::RawImageWriter< TInputImage >::GetClassName   const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::ImageWriter< TInputImage >.

template<class TInputImage>
Pointer itk::RawImageWriter< TInputImage >::New   [static]
 

Method for creation through the object factory.

Reimplemented from itk::Object.

template<class TInputImage>
void itk::RawImageWriter< TInputImage >::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::ImageWriter< TInputImage >.

template<class TInputImage>
virtual void itk::RawImageWriter< TInputImage >::SetByteOrder ByteOrder    _arg [virtual]
 

Set the ITK file type. The default is BigEndian.

template<class TInputImage>
void itk::RawImageWriter< TInputImage >::SetByteOrderToBigEndian   [inline]
 

Specify the byte order as big endian.

Definition at line 67 of file itkRawImageWriter.h.

template<class TInputImage>
void itk::RawImageWriter< TInputImage >::SetByteOrderToLittleEndian   [inline]
 

Specify the byte order as little endian.

Definition at line 71 of file itkRawImageWriter.h.

template<class TInputImage>
void itk::RawImageWriter< TInputImage >::WriteData   [protected, virtual]
 

All writers must respond to WriteData(). The WriteData() method is responsible for updating the pipeline, and may request pieces of the data (e.g., stream) if necessary to write out the entire input dataset.

Implements itk::Writer.


The documentation for this class was generated from the following file:
Generated at Wed Mar 12 01:14:38 2003 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000