vtkXMLStructuredDataWriter fails with WriteToOutputStringOn()
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
ERROR: In /tmp/vtk20160219-59710-1ih9gsl/VTK-7.0.0/IO/XML/vtkXMLStructuredDataWriter.cxx, line 124 vtkXMLRectilinearGridWriter (0x7fe17b31b390): The FileName or Stream must be set first.
ERROR: In /tmp/vtk20160219-59710-1ih9gsl/VTK-7.0.0/Common/ExecutionModel/vtkExecutive.cxx, line 784 vtkCompositeDataPipeline (0x7fe17b31cc10): Algorithm vtkXMLRectilinearGridWriter(0x7fe17b31b390) returned failure for request: vtkInformation (0x7fe17b31e9f0)
in structuredDataWriter it reads (line 121): if (!this->Stream && !this->FileName) { this->SetErrorCode(vtkErrorCode::NoFileNameError); vtkErrorMacro("The FileName or Stream must be set first."); return 0; }
while in unstructuredDataWriter (line 117): if(!this->Stream && !this->FileName && !this->WriteToOutputString) { this->SetErrorCode(vtkErrorCode::NoFileNameError); vtkErrorMacro("The FileName or Stream must be set first or " "the output must be written to a string."); return 0; }
Is omitting outputting to a string a deliberate curtailing of the functionality of the structuredWriter??