------------------------------------------------------------------------------
| 43 | |
| 44 | //------------------------------------------------------------------------------ |
| 45 | void vtkXMLPImageDataWriter::WritePrimaryElementAttributes(ostream& os, vtkIndent indent) |
| 46 | { |
| 47 | this->Superclass::WritePrimaryElementAttributes(os, indent); |
| 48 | if (this->ErrorCode == vtkErrorCode::OutOfDiskSpaceError) |
| 49 | { |
| 50 | return; |
| 51 | } |
| 52 | |
| 53 | vtkImageData* input = this->GetInput(); |
| 54 | this->WriteVectorAttribute("Origin", 3, input->GetOrigin()); |
| 55 | if (this->ErrorCode == vtkErrorCode::OutOfDiskSpaceError) |
| 56 | { |
| 57 | return; |
| 58 | } |
| 59 | |
| 60 | this->WriteVectorAttribute("Spacing", 3, input->GetSpacing()); |
| 61 | } |
| 62 | |
| 63 | //------------------------------------------------------------------------------ |
| 64 | vtkXMLStructuredDataWriter* vtkXMLPImageDataWriter::CreateStructuredPieceWriter() |
nothing calls this directly
no test coverage detected