mial::Deformation< DataType, nDims, MType, VType > Class Template Reference

An abstract base class for deformations. More...

#include <Deformation.h>

Inheritance diagram for mial::Deformation< DataType, nDims, MType, VType >:

mial::LevelSetDeformation< DataType, nDims, TDistanceImageType, MType, VType > mial::LevelSetDeformation< float, nDims, TDistanceImageType, MType, VType > mial::SpringMassDeformation< DataType, nDims, MType, VType > mial::SpringMassDeformation< float, nDims, MType, VType > mial::Def_UniformScaleLevelSet< DataType, nDims, TDistanceImageType, MType, VType > mial::Def_Translation< DataType, nDims, MType, VType > mial::Def_UniformScale< DataType, nDims, MType, VType > List of all members.

Public Types

typedef Deformation Self
typedef itk::SmartPointer<
Self
Pointer
typedef itk::SmartPointer<
const Self
ConstPointer
typedef MType MatrixType
 Public typedef for the internal matrix type.
typedef VType VectorType
 Public typedef for the internal vector type.

Public Member Functions

virtual bool run (deformationIn *i, DefArgSet *org, std::stringstream *s=NULL)=0
 Run method for running this deformation.
virtual int getStatus ()
 Get the status of the deformation.
virtual std::string getName ()
 Get the name of the deformation.

Protected Member Functions

 Deformation ()

Protected Attributes

std::string name
 The name of the deformation used to identify itself in a list of deformations.

Classes

struct  DefArgSet
 These define the standard "hidden" argument set for a deformation that allow to manipulate the model. More...
struct  deformationIn
 A structure defining the inputs of a Deformation. More...
struct  Error
 The error structure. More...

Detailed Description

template<class DataType, int nDims, class MType = vnl_matrix<DataType>, class VType = vnl_vector<DataType>>
class mial::Deformation< DataType, nDims, MType, VType >

An abstract base class for deformations.

Each deformation is in charge of unmarshaling its own arguments.

Parameters:
DataType the type of container
nDims the dimensionality of the deformation
MType The matrix type used
VType The vector type used

Definition at line 31 of file Deformation.h.


Member Function Documentation

template<class DataType, int nDims, class MType = vnl_matrix<DataType>, class VType = vnl_vector<DataType>>
virtual bool mial::Deformation< DataType, nDims, MType, VType >::run ( deformationIn i,
DefArgSet org,
std::stringstream *  s = NULL 
) [pure virtual]

Run method for running this deformation.

Note that one and only one of i,s can be non-NULL.

Parameters:
i the deformationIn structure.
s the deformation arguments as a stream. To support, one would typically define a conversion method in the deformationIN class of the derived deformation class.

Implemented in mial::Def_UniformScaleLevelSet< DataType, nDims, TDistanceImageType, MType, VType >.


The documentation for this class was generated from the following files:
Generated on Wed Jul 19 13:05:23 2006 for IDO by  doxygen 1.4.7