20 #ifndef MIRTK_ClosestPointLabel_H 21 #define MIRTK_ClosestPointLabel_H 23 #include "mirtk/ClosestPoint.h" 25 #include "mirtk/UnorderedMap.h" 27 #include "vtkSmartPointer.h" 28 #include "vtkIdTypeArray.h" 48 typedef UnorderedMap<int, int> LabelToComponentIndexMap;
54 mirtkAttributeMacro(vtkSmartPointer<vtkIdTypeArray>, TargetIds);
57 mirtkAttributeMacro(LabelToComponentIndexMap, TargetComponent);
60 mirtkAttributeMacro(vtkSmartPointer<vtkIdTypeArray>, SourceIds);
63 mirtkAttributeMacro(LabelToComponentIndexMap, SourceComponent);
109 #endif // MIRTK_ClosestPointLabel_H TypeId
Enumeration of available point correspondence maps.
virtual void Update()
Update correspondence map.
virtual void Initialize()
Initialize correspondence map after input and parameters are set.
virtual TypeId Type() const
Type enumeration value.
virtual void Reinitialize()
Reinitialize correspondence map after change of input topology.
virtual PointCorrespondence * NewInstance() const
Copy construct a new instance.
ClosestPointLabel()
Constructor.
virtual ~ClosestPointLabel()
Destructor.