| 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 |
nothing calls this directly
no test coverage detected