Public Types | Static Public Member Functions

cmtk::XformIO Class Reference
[cmtkIO Library]

Utility class for one-stop transformation import. More...

#include <cmtkXformIO.h>

List of all members.

Public Types

typedef XformIO Self
 This class.

Static Public Member Functions

static Xform::SmartPtr Read (const char *path, const bool verbose=false)
 Read transformation from filesystem.
static void Write (const Xform *xform, const char *path, const bool verbose=false)
 Write transformation to filesystem.

Detailed Description

Utility class for one-stop transformation import.

When reading a transformation file using the Read() function, the file and transformation type are automatically detected based on each file format's "magic number".

When writing a transformation using the Write() function, the path or file name suffix determines the output file format. Supported formats are: ITK Transformation file (".txt"; ".tfm"), Nrrd deformation fields (".nrrd"; ".nhdr"), and legacy TypedStream (all other suffixes).

Definition at line 54 of file cmtkXformIO.h.


Member Typedef Documentation

This class.

Definition at line 58 of file cmtkXformIO.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines