------------------------------------------------------------------------------
| 47 | |
| 48 | //------------------------------------------------------------------------------ |
| 49 | void vtkXMLImageDataWriter::WritePrimaryElementAttributes(ostream& os, vtkIndent indent) |
| 50 | { |
| 51 | this->Superclass::WritePrimaryElementAttributes(os, indent); |
| 52 | vtkImageData* input = this->GetInput(); |
| 53 | this->WriteVectorAttribute("Origin", 3, input->GetOrigin()); |
| 54 | this->WriteVectorAttribute("Spacing", 3, input->GetSpacing()); |
| 55 | this->WriteVectorAttribute("Direction", 9, input->GetDirectionMatrix()->GetData()); |
| 56 | } |
| 57 | |
| 58 | //------------------------------------------------------------------------------ |
| 59 | int vtkXMLImageDataWriter::FillInputPortInformation(int vtkNotUsed(port), vtkInformation* info) |
nothing calls this directly
no test coverage detected