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

Method RequestDataObject

IO/SQL/vtkSQLDatabaseGraphSource.cxx:222–238  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

220
221//------------------------------------------------------------------------------
222int vtkSQLDatabaseGraphSource::RequestDataObject(
223 vtkInformation*, vtkInformationVector**, vtkInformationVector*)
224{
225 vtkGraph* output = 0;
226 if (this->Directed)
227 {
228 output = vtkDirectedGraph::New();
229 }
230 else
231 {
232 output = vtkUndirectedGraph::New();
233 }
234 this->GetExecutive()->SetOutputData(0, output);
235 output->Delete();
236
237 return 1;
238}
239
240//------------------------------------------------------------------------------
241int vtkSQLDatabaseGraphSource::RequestData(

Callers

nothing calls this directly

Calls 4

SetOutputDataMethod · 0.80
DeleteMethod · 0.65
NewFunction · 0.50
GetExecutiveMethod · 0.45

Tested by

no test coverage detected