26 #ifndef __RegisterImagesModuleLogic_h 27 #define __RegisterImagesModuleLogic_h 29 #include "vtkSharedModuleLogic.h" 39 void PrintSelf( ostream& os, vtkIndent indent );
41 vtkSetMRMLNodeArgumentAsStringMacro( FixedVolumeNodeId, fixedImage )
42 vtkSetMRMLNodeArgumentAsStringMacro( MovingVolumeNodeId, movingImage )
43 vtkSetMRMLNodeArgumentAsStringMacro( ResampledVolumeNodeId, resampledImage )
45 vtkGetMRMLNodeArgumentAsStringMacro( FixedVolumeNodeId, fixedImage )
46 vtkGetMRMLNodeArgumentAsStringMacro( MovingVolumeNodeId, movingImage )
47 vtkGetMRMLNodeArgumentAsStringMacro( ResampledVolumeNodeId, resampledImage )
49 vtkSetMRMLNodeArgumentAsStringMacro( Registration, registration );
51 vtkSetMRMLNodeArgumentAsStringMacro( Initialization, initialization );
53 vtkSetMRMLNodeArgumentAsStringMacro( Interpolation, interpolation );
55 vtkSetMRMLNodeArgumentAsStringMacro( LoadTransform, loadTransform );
57 vtkSetMRMLNodeArgumentAsStringMacro( SaveTransform, saveTransform );
59 vtkSetMRMLNodeArgumentAsStringMacro( RegionOfInterest, regionOfInterest );
61 void SetLandmarks(
const std::vector<std::vector<float> > & fixed,
const std::vector<std::vector<float> > & moving );
63 int AddLandmark(
const std::vector<float> & fixed,
const std::vector<float> & moving );
67 void SetLandmark(
int landmark,
const std::vector<float> & fixed,
const std::vector<float> & moving );
69 void RemoveLandmark(
int landmark );
72 vtkSetMRMLNodeArgumentAsStringMacro( FixedLandmarks, fixedLandmarks );
73 vtkSetMRMLNodeArgumentAsStringMacro( MovingLandmarks, movingLandmarks );
81 void ApplyTask(
void *clientdata );
std::vector< std::vector< float > > m_MovingLandmarks
std::vector< std::vector< float > > m_FixedLandmarks