------------------------------------------------------------------------------
| 485 | |
| 486 | //------------------------------------------------------------------------------ |
| 487 | void vtkXMLStructuredDataWriter::WritePrimaryElementAttributes(ostream& os, vtkIndent indent) |
| 488 | { |
| 489 | this->Superclass::WritePrimaryElementAttributes(os, indent); |
| 490 | |
| 491 | int* ext = this->WriteExtent; |
| 492 | if ((this->WriteExtent[0] == 0) && (this->WriteExtent[1] == -1) && (this->WriteExtent[2] == 0) && |
| 493 | (this->WriteExtent[3] == -1) && (this->WriteExtent[4] == 0) && (this->WriteExtent[5] == -1)) |
| 494 | { |
| 495 | ext = this->GetInputInformation(0, 0)->Get(vtkStreamingDemandDrivenPipeline::WHOLE_EXTENT()); |
| 496 | } |
| 497 | |
| 498 | if (this->WritePiece >= 0) |
| 499 | { |
| 500 | vtkDataSet* input = this->GetDataSetInput(); |
| 501 | ext = input->GetInformation()->Get(vtkDataObject::DATA_EXTENT()); |
| 502 | } |
| 503 | |
| 504 | this->WriteVectorAttribute("WholeExtent", 6, ext); |
| 505 | } |
| 506 | |
| 507 | //------------------------------------------------------------------------------ |
| 508 | void vtkXMLStructuredDataWriter::WriteAppendedPiece(int index, vtkIndent indent) |
nothing calls this directly
no test coverage detected