go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
itk::TransformixInputPointFileReader< TOutputMesh > Class Template Reference

#include <itkTransformixInputPointFileReader.h>

Inheritance diagram for itk::TransformixInputPointFileReader< TOutputMesh >:
Inheritance graph
[legend]
Collaboration diagram for itk::TransformixInputPointFileReader< TOutputMesh >:
Collaboration graph
[legend]

Public Types

typedef SmartPointer< const SelfConstPointer
typedef
Superclass::DataObjectPointer 
DatabObjectPointer
typedef
Superclass::OutputMeshPointer 
OutputMeshPointer
typedef Superclass::OutputMeshType OutputMeshType
typedef SmartPointer< SelfPointer
typedef
TransformixInputPointFileReader 
Self
typedef MeshFileReaderBase
< TOutputMesh > 
Superclass

Public Member Functions

virtual void GenerateOutputInformation (void)
virtual const char * GetClassName () const
virtual unsigned long GetNumberOfPoints () const
virtual bool GetPointsAreIndices () const

Static Public Member Functions

static Pointer New ()

Protected Member Functions

virtual void GenerateData (void)
 TransformixInputPointFileReader ()
virtual ~TransformixInputPointFileReader ()

Protected Attributes

unsigned long m_NumberOfPoints
bool m_PointsAreIndices
std::ifstream m_Reader

Private Member Functions

void operator= (const Self &)
 TransformixInputPointFileReader (const Self &)

Detailed Description

template<class TOutputMesh>
class itk::TransformixInputPointFileReader< TOutputMesh >

A reader that understands transformix input point files.

A reader that understands transformix input point files.

The first word in the text file indicates whether the input points are given as an integer image index or as a point (world coordinates). If the file does not start with "index" or "point" it is assumed that the points are entered as indices, for compatibility with elastix versions < 3.503.

The second word in the text file represents the number of points that should be read.

Definition at line 42 of file itkTransformixInputPointFileReader.h.


Member Typedef Documentation

template<class TOutputMesh >
typedef SmartPointer<const Self> itk::TransformixInputPointFileReader< TOutputMesh >::ConstPointer

Reimplemented from itk::MeshFileReaderBase< TOutputMesh >.

Definition at line 49 of file itkTransformixInputPointFileReader.h.

template<class TOutputMesh >
typedef Superclass::DataObjectPointer itk::TransformixInputPointFileReader< TOutputMesh >::DatabObjectPointer

Some convenient typedefs.

Reimplemented from itk::MeshFileReaderBase< TOutputMesh >.

Definition at line 55 of file itkTransformixInputPointFileReader.h.

template<class TOutputMesh >
typedef Superclass::OutputMeshPointer itk::TransformixInputPointFileReader< TOutputMesh >::OutputMeshPointer

Reimplemented from itk::MeshFileReaderBase< TOutputMesh >.

Definition at line 60 of file itkTransformixInputPointFileReader.h.

template<class TOutputMesh >
typedef Superclass::OutputMeshType itk::TransformixInputPointFileReader< TOutputMesh >::OutputMeshType

Reimplemented from itk::MeshFileReaderBase< TOutputMesh >.

Definition at line 59 of file itkTransformixInputPointFileReader.h.

template<class TOutputMesh >
typedef SmartPointer<Self> itk::TransformixInputPointFileReader< TOutputMesh >::Pointer

Reimplemented from itk::MeshFileReaderBase< TOutputMesh >.

Definition at line 48 of file itkTransformixInputPointFileReader.h.

template<class TOutputMesh >
typedef TransformixInputPointFileReader itk::TransformixInputPointFileReader< TOutputMesh >::Self

Standard class typedefs.

Reimplemented from itk::MeshFileReaderBase< TOutputMesh >.

Definition at line 46 of file itkTransformixInputPointFileReader.h.

template<class TOutputMesh >
typedef MeshFileReaderBase<TOutputMesh> itk::TransformixInputPointFileReader< TOutputMesh >::Superclass

Reimplemented from itk::MeshFileReaderBase< TOutputMesh >.

Definition at line 47 of file itkTransformixInputPointFileReader.h.


Constructor & Destructor Documentation

template<class TOutputMesh >
itk::TransformixInputPointFileReader< TOutputMesh >::TransformixInputPointFileReader ( ) [protected]
template<class TOutputMesh >
virtual itk::TransformixInputPointFileReader< TOutputMesh >::~TransformixInputPointFileReader ( ) [protected, virtual]
template<class TOutputMesh >
itk::TransformixInputPointFileReader< TOutputMesh >::TransformixInputPointFileReader ( const Self ) [private]

Member Function Documentation

template<class TOutputMesh >
virtual void itk::TransformixInputPointFileReader< TOutputMesh >::GenerateData ( void  ) [protected, virtual]

Fill the point container of the output.

template<class TOutputMesh >
virtual void itk::TransformixInputPointFileReader< TOutputMesh >::GenerateOutputInformation ( void  ) [virtual]

Prepare the allocation of the output mesh during the first back propagation of the pipeline. Updates the PointsAreIndices and NumberOfPoints.

Reimplemented from itk::MeshFileReaderBase< TOutputMesh >.

template<class TOutputMesh >
virtual const char* itk::TransformixInputPointFileReader< TOutputMesh >::GetClassName ( ) const [virtual]

Run-time type information (and related methods).

Reimplemented from itk::MeshFileReaderBase< TOutputMesh >.

template<class TOutputMesh >
virtual unsigned long itk::TransformixInputPointFileReader< TOutputMesh >::GetNumberOfPoints ( ) const [virtual]

Get the number of points that are defined in the file. In fact we also should store this somehow in the output dataobject, but that would mean resizing the point container, while still filled with invalid data (since the GetNumberOfPoints method in a PointSet returns the size of the point container. Storing as metadata would be another option. For now leave it like this. This is a little similar to the ImageIO classes. They also contain information about the image that they will read. For the Mesh readers I didn't choose for a MeshIO-design, but for a MeshReaderBase class and inheriting classes, so somehow it seems logic to store this kind of data in the inheriting reader classes.

template<class TOutputMesh >
virtual bool itk::TransformixInputPointFileReader< TOutputMesh >::GetPointsAreIndices ( ) const [virtual]

Get whether the read points are indices; actually we should store this as a kind of meta data in the output, but i don't understand this concept yet...

template<class TOutputMesh >
static Pointer itk::TransformixInputPointFileReader< TOutputMesh >::New ( ) [static]

Method for creation through the object factory.

Reimplemented from itk::MeshFileReaderBase< TOutputMesh >.

template<class TOutputMesh >
void itk::TransformixInputPointFileReader< TOutputMesh >::operator= ( const Self ) [private]

Field Documentation

template<class TOutputMesh >
unsigned long itk::TransformixInputPointFileReader< TOutputMesh >::m_NumberOfPoints [protected]

Definition at line 92 of file itkTransformixInputPointFileReader.h.

template<class TOutputMesh >
bool itk::TransformixInputPointFileReader< TOutputMesh >::m_PointsAreIndices [protected]

Definition at line 93 of file itkTransformixInputPointFileReader.h.

template<class TOutputMesh >
std::ifstream itk::TransformixInputPointFileReader< TOutputMesh >::m_Reader [protected]

Definition at line 95 of file itkTransformixInputPointFileReader.h.



Generated on 11-05-2012 for elastix by doxygen 1.7.6.1 elastix logo