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

Method RequestInformation

Filters/Parallel/vtkTransmitStructuredDataPiece.cxx:34–50  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

32
33//------------------------------------------------------------------------------
34int vtkTransmitStructuredDataPiece::RequestInformation(vtkInformation* vtkNotUsed(request),
35 vtkInformationVector** inputVector, vtkInformationVector* outputVector)
36{
37 if (this->Controller)
38 {
39 int wExt[6];
40 if (this->Controller->GetLocalProcessId() == 0)
41 {
42 vtkInformation* inInfo = inputVector[0]->GetInformationObject(0);
43 inInfo->Get(vtkStreamingDemandDrivenPipeline::WHOLE_EXTENT(), wExt);
44 }
45 this->Controller->Broadcast(wExt, 6, 0);
46 vtkInformation* outInfo = outputVector->GetInformationObject(0);
47 outInfo->Set(vtkStreamingDemandDrivenPipeline::WHOLE_EXTENT(), wExt, 6);
48 }
49 return 1;
50}
51
52//------------------------------------------------------------------------------
53int vtkTransmitStructuredDataPiece::RequestUpdateExtent(vtkInformation* vtkNotUsed(request),

Callers

nothing calls this directly

Calls 5

GetInformationObjectMethod · 0.80
GetLocalProcessIdMethod · 0.45
GetMethod · 0.45
BroadcastMethod · 0.45
SetMethod · 0.45

Tested by

no test coverage detected