11 #ifndef CENTERLINEREGISTRATION_H_
12 #define CENTERLINEREGISTRATION_H_
17 #include "org_custusx_registration_method_centerline_Export.h"
21 #include <vtkSmartPointer.h>
22 #include <vtkPoints.h>
23 #include <vtkPolyData.h>
24 #include <vtkLandmarkTransform.h>
26 #include <itkEuler3DTransform.h>
27 #include <itkEuclideanDistancePointMetric.h>
28 #include <itkLevenbergMarquardtOptimizer.h>
29 #include <itkPointSetToPointSetRegistrationMethod.h>
30 #include <itkPointSet.h>
33 typedef std::vector< Eigen::Matrix4d >
M4Vector;
54 typedef itk::EuclideanDistancePointMetric<
61 typedef itk::PointSetToPointSetRegistrationMethod<
67 void UpdateScales(
bool xRot,
bool yRot,
bool zRot,
bool xTrans,
bool yTrans,
bool zTrans);
77 PointSetType::Pointer mFixedPointSet;
78 PointSetType::Pointer mMovingPointSet;
80 RegistrationType::Pointer mRegistration;
81 TransformType::Pointer mTransform;
83 bool mRegistrationUpdated;
84 OptimizerType::Pointer mOptimizer;