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

Method RequestData

Filters/CellGrid/vtkCellGridCellSource.cxx:53–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53int vtkCellGridCellSource::RequestData(vtkInformation* vtkNotUsed(request),
54 vtkInformationVector** vtkNotUsed(inInfo), vtkInformationVector* ouInfo)
55{
56 auto* output = vtkCellGrid::GetData(ouInfo);
57 if (!output)
58 {
59 vtkErrorMacro("Empty output.");
60 return 0;
61 }
62
63 output->Initialize();
64 output->AddAllCellMetadata();
65 // Run the query on the request.
66 if (!output->Query(this->Request))
67 {
68 vtkErrorMacro("Failed to respond to query.");
69 return 0;
70 }
71 output->RemoveUnusedCellMetadata();
72
73 return 1;
74}
75
76VTK_ABI_NAMESPACE_END

Callers

nothing calls this directly

Calls 5

AddAllCellMetadataMethod · 0.80
GetDataFunction · 0.50
InitializeMethod · 0.45
QueryMethod · 0.45

Tested by

no test coverage detected