-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathLandmark_Transform.h
More file actions
57 lines (40 loc) · 1.32 KB
/
Landmark_Transform.h
File metadata and controls
57 lines (40 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#ifndef __Landmark_Transform_h
#define __Landmark_Transform_h
#include <vtkCommonTransformsModule.h> // For export macro
#include "vtkLinearTransform.h"
#include "vtkFloatArray.h"
#include <vtkSystemIncludes.h> // m
#include <vtksys/SystemTools.hxx> //m
#include "vtkLandmarkTransform.h"
#define VTK_LANDMARK_RIGIDBODY 6
#define VTK_LANDMARK_SIMILARITY 7
#define VTK_LANDMARK_AFFINE 12
class vtkMatrix4x4; // m
class vtkObjectFactory; // m
class vtkCommonTransformsModule; // m
class vtkLinearTransform; // m
class vtkFloatArray; // m
class Landmark_Transform : public vtkLandmarkTransform
{
public:
static Landmark_Transform *New();
vtkTypeMacro(Landmark_Transform, vtkLandmarkTransform);
void SetLandmarksWeight(vtkFloatArray *weight);
// idee: ajouter affine si ça marche
// Description:
// Make another transform of the same type.
// vtkAbstractTransform *MakeTransform();
protected:
Landmark_Transform();
~Landmark_Transform();
// Update the matrix from the quaternion.
void InternalUpdate();
// Description:
// This method does no type checking, use DeepCopy instead.
// void InternalDeepCopy(vtkAbstractTransform *transform);
vtkFloatArray* LandmarksWeight;
private:
Landmark_Transform(const Landmark_Transform&); // Not implemented.
void operator=(const Landmark_Transform&); // Not implemented.
};
#endif