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

Method RequestUpdateExtent

Imaging/General/vtkImageGaussianSmooth.cxx:77–96  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

75
76//------------------------------------------------------------------------------
77int vtkImageGaussianSmooth::RequestUpdateExtent(vtkInformation* vtkNotUsed(request),
78 vtkInformationVector** inputVector, vtkInformationVector* outputVector)
79{
80 // get the info objects
81 vtkInformation* outInfo = outputVector->GetInformationObject(0);
82 vtkInformation* inInfo = inputVector[0]->GetInformationObject(0);
83
84 int wholeExtent[6], inExt[6];
85
86 outInfo->Get(vtkStreamingDemandDrivenPipeline::UPDATE_EXTENT(), inExt);
87
88 // Expand filtered axes
89 inInfo->Get(vtkStreamingDemandDrivenPipeline::WHOLE_EXTENT(), wholeExtent);
90
91 this->InternalRequestUpdateExtent(inExt, wholeExtent);
92
93 inInfo->Set(vtkStreamingDemandDrivenPipeline::UPDATE_EXTENT(), inExt, 6);
94
95 return 1;
96}
97
98//------------------------------------------------------------------------------
99void vtkImageGaussianSmooth::InternalRequestUpdateExtent(int* inExt, int* wholeExtent)

Callers

nothing calls this directly

Calls 4

GetInformationObjectMethod · 0.80
GetMethod · 0.45
SetMethod · 0.45

Tested by

no test coverage detected