------------------------------------------------------------------------------
| 188 | |
| 189 | //------------------------------------------------------------------------------ |
| 190 | void vtkNIFTIImageReader::PrintSelf(ostream& os, vtkIndent indent) |
| 191 | { |
| 192 | this->Superclass::PrintSelf(os, indent); |
| 193 | |
| 194 | os << indent << "TimeAsVector: " << (this->TimeAsVector ? "On\n" : "Off\n"); |
| 195 | os << indent << "TimeDimension: " << this->GetTimeDimension() << "\n"; |
| 196 | os << indent << "TimeSpacing: " << this->GetTimeSpacing() << "\n"; |
| 197 | os << indent << "RescaleSlope: " << this->RescaleSlope << "\n"; |
| 198 | os << indent << "RescaleIntercept: " << this->RescaleIntercept << "\n"; |
| 199 | os << indent << "QFac: " << this->QFac << "\n"; |
| 200 | |
| 201 | os << indent << "QFormMatrix:"; |
| 202 | if (this->QFormMatrix) |
| 203 | { |
| 204 | double mat[16]; |
| 205 | vtkMatrix4x4::DeepCopy(mat, this->QFormMatrix); |
| 206 | for (int i = 0; i < 16; i++) |
| 207 | { |
| 208 | os << " " << mat[i]; |
| 209 | } |
| 210 | os << "\n"; |
| 211 | } |
| 212 | else |
| 213 | { |
| 214 | os << " (none)\n"; |
| 215 | } |
| 216 | |
| 217 | os << indent << "SFormMatrix:"; |
| 218 | if (this->SFormMatrix) |
| 219 | { |
| 220 | double mat[16]; |
| 221 | vtkMatrix4x4::DeepCopy(mat, this->SFormMatrix); |
| 222 | for (int i = 0; i < 16; i++) |
| 223 | { |
| 224 | os << " " << mat[i]; |
| 225 | } |
| 226 | os << "\n"; |
| 227 | } |
| 228 | else |
| 229 | { |
| 230 | os << " (none)\n"; |
| 231 | } |
| 232 | |
| 233 | os << indent << "NIFTIHeader:" << (this->NIFTIHeader ? "\n" : " (none)\n"); |
| 234 | os << indent << "PlanarRGB: " << (this->PlanarRGB ? "On\n" : "Off\n"); |
| 235 | } |
| 236 | |
| 237 | //------------------------------------------------------------------------------ |
| 238 | bool vtkNIFTIImageReader::CheckExtension(const char* filename, const char* ext) |
nothing calls this directly
no test coverage detected