ITK  4.1.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
itk::TransformFileWriter Class Reference

#include <itkTransformFileWriter.h>

+ Inheritance diagram for itk::TransformFileWriter:
+ Collaboration diagram for itk::TransformFileWriter:

List of all members.

Public Types

typedef
TransformIOBase::ConstTransformListType 
ConstTransformListType
typedef
TransformIOBase::ConstTransformPointer 
ConstTransformPointer
typedef SmartPointer< SelfPointer
typedef TransformFileWriter Self
typedef LightProcessObject Superclass
typedef TransformBase TransformType

Public Member Functions

void AddTransform (const TransformType *transform)
virtual ::itk::LightObject::Pointer CreateAnother (void) const
bool GetAppendMode ()
virtual const char * GetFileName () const
const TransformTypeGetInput ()
virtual const char * GetNameOfClass () const
void SetAppendMode (bool mode)
void SetAppendOff ()
void SetAppendOn ()
virtual void SetFileName (const char *_arg)
void SetInput (const TransformType *transform)
void Update ()
virtual void SetPrecision (unsigned int _arg)
virtual unsigned int GetPrecision () const

Static Public Member Functions

static Pointer New ()

Protected Member Functions

void operator= (const Self &)
void PrintSelf (std::ostream &os, Indent indent) const
 TransformFileWriter (const Self &)
 TransformFileWriter ()
virtual ~TransformFileWriter ()

Private Member Functions

void OpenStream (std::ofstream &out, bool binary)

Private Attributes

bool m_AppendMode
std::string m_FileName
unsigned int m_Precision
ConstTransformListType m_TransformList

Detailed Description

TODO.

Wiki Examples:

Definition at line 36 of file itkTransformFileWriter.h.


Member Typedef Documentation

Definition at line 47 of file itkTransformFileWriter.h.

Definition at line 46 of file itkTransformFileWriter.h.

Reimplemented from itk::LightProcessObject.

Definition at line 43 of file itkTransformFileWriter.h.

SmartPointer typedef support

Reimplemented from itk::LightProcessObject.

Definition at line 41 of file itkTransformFileWriter.h.

Reimplemented from itk::LightProcessObject.

Definition at line 42 of file itkTransformFileWriter.h.

Definition at line 45 of file itkTransformFileWriter.h.


Constructor & Destructor Documentation

virtual itk::TransformFileWriter::~TransformFileWriter ( ) [protected, virtual]

Member Function Documentation

Add a transform to be written

virtual::itk::LightObject::Pointer itk::TransformFileWriter::CreateAnother ( void  ) const [virtual]

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::LightProcessObject.

virtual const char* itk::TransformFileWriter::GetFileName ( ) const [virtual]

Get the filename

virtual const char* itk::TransformFileWriter::GetNameOfClass ( ) const [virtual]

Run-time type information (and related methods).

Reimplemented from itk::LightProcessObject.

virtual unsigned int itk::TransformFileWriter::GetPrecision ( ) const [virtual]

Set/Get the precision of the writing

Method for creation through the object factory

Reimplemented from itk::LightProcessObject.

void itk::TransformFileWriter::OpenStream ( std::ofstream &  out,
bool  binary 
) [private]
void itk::TransformFileWriter::operator= ( const Self ) [protected]

This method causes the filter to generate its output.

Reimplemented from itk::LightProcessObject.

void itk::TransformFileWriter::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::LightProcessObject.

Set/Get the write mode (append/overwrite) for the Filter

virtual void itk::TransformFileWriter::SetFileName ( const char *  _arg) [virtual]

Set the filename

Set/Get the input transform to write

virtual void itk::TransformFileWriter::SetPrecision ( unsigned int  _arg) [virtual]

Set/Get the precision of the writing

Write out the transform


Member Data Documentation

Definition at line 99 of file itkTransformFileWriter.h.

std::string itk::TransformFileWriter::m_FileName [private]

Definition at line 96 of file itkTransformFileWriter.h.

unsigned int itk::TransformFileWriter::m_Precision [private]

Definition at line 98 of file itkTransformFileWriter.h.

Definition at line 97 of file itkTransformFileWriter.h.


The documentation for this class was generated from the following file: