MCPcopy Create free account
hub / github.com/MITK/MITK / PrintSelf

Method PrintSelf

Modules/MatchPointRegistration/src/mitkRegEvaluationObject.cpp:122–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120
121
122 void RegEvaluationObject::PrintSelf (std::ostream &os, itk::Indent indent) const
123 {
124 Superclass::PrintSelf(os,indent);
125 if (m_Registration.IsNull())
126 {
127 os<< "Error. Eval object points to invalid registration (nullptr).";
128 }
129 else
130 {
131 os<<std::endl<<indent<<"MatchPoint registration instance:";
132 m_Registration->Print(os,indent.GetNextIndent());
133 }
134
135 if (m_TargetImage.IsNull())
136 {
137 os<< "Error. Eval object points to invalid target image (nullptr).";
138 }
139 else
140 {
141 os<<std::endl<<indent<<"Target image instance:";
142 m_TargetImage->Print(os,indent.GetNextIndent());
143 }
144
145 if (m_MovingImage.IsNull())
146 {
147 os<< "Error. Eval object points to invalid moving image (nullptr).";
148 }
149 else
150 {
151 os<<std::endl<<indent<<"Moving image instance:";
152 m_MovingImage->Print(os,indent.GetNextIndent());
153 }
154
155 }
156
157}
158

Callers

nothing calls this directly

Calls 4

PrintSelfFunction · 0.85
GetNextIndentMethod · 0.80
IsNullMethod · 0.45
PrintMethod · 0.45

Tested by

no test coverage detected