MCPcopy Create free account
hub / github.com/Kitware/VTK / WriteAPiece

Method WriteAPiece

IO/XML/vtkXMLStatisticalModelWriter.cxx:193–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191}
192
193int vtkXMLStatisticalModelWriter::WriteAPiece()
194{
195 vtkIndent indent = vtkIndent().GetNextIndent();
196
197 int result = 1;
198
199 if (this->DataMode == vtkXMLWriter::Appended)
200 {
201 this->WriteAppendedPieceData(/*CurrentPiece*/ 0);
202 }
203 else
204 {
205 result = this->WriteInlineModel(indent);
206 }
207
208 if (this->ErrorCode == vtkErrorCode::OutOfDiskSpaceError)
209 {
210 this->DeletePositionArrays();
211 result = 0;
212 }
213 return result;
214}
215
216int vtkXMLStatisticalModelWriter::WriteFooter()
217{

Callers 1

ProcessRequestMethod · 0.95

Calls 5

WriteInlineModelMethod · 0.95
DeletePositionArraysMethod · 0.95
GetNextIndentMethod · 0.80
vtkIndentClass · 0.50

Tested by

no test coverage detected