MCPcopy Create free account
hub / github.com/SimpleITK/SimpleITK / ToString

Method ToString

Code/Registration/src/sitkImageRegistrationMethod.cxx:89–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87ImageRegistrationMethod::~ImageRegistrationMethod() = default;
88
89std::string
90ImageRegistrationMethod::ToString() const
91{
92 std::ostringstream out;
93 out << "itk::simple" << this->GetName() << std::endl;
94
95 out << Superclass::ToString();
96
97 if (this->m_ActiveOptimizer)
98 {
99 out << "ActiveOptimizer:";
100 this->m_ActiveOptimizer->Print(out, 1);
101 }
102
103 out << " Interpolator: ";
104 this->ToStringHelper(out, this->m_Interpolator);
105 out << std::endl;
106
107 out << " Transform: ";
108 this->ToStringHelper(out, this->m_InitialTransform.ToString());
109 out << std::endl;
110
111 return out.str();
112}
113
114
115void

Callers

nothing calls this directly

Calls 2

ToStringFunction · 0.85
GetNameMethod · 0.45

Tested by

no test coverage detected