------------------------------------------------------------------------------
| 90 | |
| 91 | //------------------------------------------------------------------------------ |
| 92 | void vtkXMLPolyDataWriter::WriteInlinePieceAttributes() |
| 93 | { |
| 94 | this->Superclass::WriteInlinePieceAttributes(); |
| 95 | if (this->ErrorCode == vtkErrorCode::OutOfDiskSpaceError) |
| 96 | { |
| 97 | return; |
| 98 | } |
| 99 | |
| 100 | vtkPolyData* input = this->GetInput(); |
| 101 | this->WriteScalarAttribute("NumberOfVerts", input->GetVerts()->GetNumberOfCells()); |
| 102 | if (this->ErrorCode == vtkErrorCode::OutOfDiskSpaceError) |
| 103 | { |
| 104 | return; |
| 105 | } |
| 106 | this->WriteScalarAttribute("NumberOfLines", input->GetLines()->GetNumberOfCells()); |
| 107 | if (this->ErrorCode == vtkErrorCode::OutOfDiskSpaceError) |
| 108 | { |
| 109 | return; |
| 110 | } |
| 111 | this->WriteScalarAttribute("NumberOfStrips", input->GetStrips()->GetNumberOfCells()); |
| 112 | if (this->ErrorCode == vtkErrorCode::OutOfDiskSpaceError) |
| 113 | { |
| 114 | return; |
| 115 | } |
| 116 | this->WriteScalarAttribute("NumberOfPolys", input->GetPolys()->GetNumberOfCells()); |
| 117 | } |
| 118 | |
| 119 | //------------------------------------------------------------------------------ |
| 120 | void vtkXMLPolyDataWriter::WriteInlinePiece(vtkIndent indent) |
nothing calls this directly
no test coverage detected