7 template <
unsigned int NDimensions>
8 BaseTransformAgregator <NDimensions>::
9 BaseTransformAgregator()
11 m_InputTransformType = TRANSLATION;
12 m_OutputTransformType = TRANSLATION;
15 m_VerboseAgregation =
true;
17 m_InputTransforms.clear();
18 m_InputOrigins.clear();
21 m_OrthogonalDirectionMatrix.Fill(0);
24 template <
unsigned int NDimensions>
26 ~BaseTransformAgregator()
30 template <
unsigned int NDimensions>
37 std::cerr <<
"SVF input type is not yet supported, check your code" << std::endl;
41 if (name != m_InputTransformType)
44 m_InputTransformType = name;
47 template <
unsigned int NDimensions>
52 if (name == DIRECTIONAL_AFFINE)
54 std::cerr <<
"Directional affine output type is not yet supported, check your code" << std::endl;
58 if (name != m_OutputTransformType)
61 m_OutputTransformType = name;
64 template <
unsigned int NDimensions>
71 updateOk = this->Update();
79 template <
unsigned int NDimensions>
87 template <
unsigned int NDimensions>
90 SetInputTransforms(std::vector <BaseInputTransformPointer> &inputTransforms)
92 m_InputTransforms = inputTransforms;
98 template <
unsigned int NDimensions>
103 m_CurrentLinearTransform = inputTransform;
108 template <
unsigned int NDimensions>
111 SetOrthogonalDirectionMatrix(
const MatrixType &inputTransform)
113 m_OrthogonalDirectionMatrix = inputTransform;