NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Public Member Functions | List of all members
niftk::PointRegServiceRAII Class Reference

RAII object to run Point Based Registration via a PointRegServiceI implementation. More...

Inheritance diagram for niftk::PointRegServiceRAII:
Inheritance graph
[legend]
Collaboration diagram for niftk::PointRegServiceRAII:
Collaboration graph
[legend]

Public Member Functions

 PointRegServiceRAII (const std::string &method="SVD")
 Obtains service or throws mitk::Exception. More...
 
virtual ~PointRegServiceRAII ()
 Releases service. More...
 
virtual double Register (const mitk::PointSet::Pointer fixedPoints, const mitk::PointSet::Pointer movingPoints, vtkMatrix4x4 &matrix) const override
 Calls service to do Point Based Registration. More...
 

Additional Inherited Members

- Protected Member Functions inherited from niftk::PointRegServiceI
 PointRegServiceI ()
 
virtual ~PointRegServiceI ()
 

Detailed Description

RAII object to run Point Based Registration via a PointRegServiceI implementation.

Note: All errors should thrown as mitk::Exception or sub-classes thereof.

Constructor & Destructor Documentation

niftk::PointRegServiceRAII::PointRegServiceRAII ( const std::string method = "SVD")

Obtains service or throws mitk::Exception.

niftk::PointRegServiceRAII::~PointRegServiceRAII ( )
virtual

Releases service.

Member Function Documentation

double niftk::PointRegServiceRAII::Register ( const mitk::PointSet::Pointer  fixedPoints,
const mitk::PointSet::Pointer  movingPoints,
vtkMatrix4x4 &  matrix 
) const
overridevirtual

Calls service to do Point Based Registration.

Parameters
matrixoutput matrix to transform moving points to fixed points.
See also
PointRegServiceI

Implements niftk::PointRegServiceI.


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