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

Method RequestData

IO/Geometry/vtkAVSucdReader.cxx:99–119  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

97
98//------------------------------------------------------------------------------
99int vtkAVSucdReader::RequestData(vtkInformation* vtkNotUsed(request),
100 vtkInformationVector** vtkNotUsed(inputVector), vtkInformationVector* outputVector)
101{
102 // get the info object
103 vtkInformation* outInfo = outputVector->GetInformationObject(0);
104
105 // get the output
106 vtkUnstructuredGrid* output =
107 vtkUnstructuredGrid::SafeDownCast(outInfo->Get(vtkDataObject::DATA_OBJECT()));
108
109 vtkDebugMacro(<< "Reading AVS UCD file");
110
111 // If ExecuteInformation() failed FileStream will be nullptr and
112 // ExecuteInformation() will have spit out an error.
113 if (this->FileStream)
114 {
115 this->ReadFile(output);
116 }
117
118 return 1;
119}
120
121//------------------------------------------------------------------------------
122void vtkAVSucdReader::PrintSelf(ostream& os, vtkIndent indent)

Callers

nothing calls this directly

Calls 3

ReadFileMethod · 0.95
GetInformationObjectMethod · 0.80
GetMethod · 0.45

Tested by

no test coverage detected