vtkIGTPat2ImgRegistration.h
Go to the documentation of this file.00001
00002 #ifndef IGTPAT2IMGREGISTRATION_H
00003 #define IGTPAT2IMGREGISTRATION_H
00004
00005
00006 #include "vtkIGTWin32Header.h"
00007 #include "vtkObject.h"
00008
00009 #include "vtkMatrix4x4.h"
00010 #include "vtkPoints.h"
00011 #include "vtkTransform.h"
00012
00013
00014
00015 class VTK_IGT_EXPORT vtkIGTPat2ImgRegistration : public vtkObject
00016 {
00017 public:
00018
00021 static vtkIGTPat2ImgRegistration *New();
00022 vtkTypeRevisionMacro(vtkIGTPat2ImgRegistration,vtkObject);
00023 void PrintSelf(ostream& os, vtkIndent indent);
00024
00025
00026 vtkGetObjectMacro(LandmarkTransformMatrix,vtkMatrix4x4);
00027
00028 vtkGetMacro(NumberOfPoints,int);
00029
00030
00031 vtkIGTPat2ImgRegistration();
00032
00033 virtual ~vtkIGTPat2ImgRegistration( );
00034
00035
00038 void AddPoint(int id, float t1, float t2, float t3, float s1, float s2, float s3);
00039 int DoRegistration();
00040
00041 void SetNumberOfPoints(int no);
00042
00043 private:
00044
00045 vtkPoints *SourceLandmarks;
00046 vtkPoints *TargetLandmarks;
00047 vtkMatrix4x4 *LandmarkTransformMatrix;
00048
00049 int NumberOfPoints;
00050
00051 };
00052
00053
00054 #endif