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

Method ResetOutputWholeExtent

Filters/General/vtkStructuredGridClip.cxx:149–160  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Sets the output whole extent to be the input whole extent.

Source from the content-addressed store, hash-verified

147//------------------------------------------------------------------------------
148// Sets the output whole extent to be the input whole extent.
149void vtkStructuredGridClip::ResetOutputWholeExtent()
150{
151 if (!this->GetInput())
152 {
153 vtkWarningMacro("ResetOutputWholeExtent: No input");
154 return;
155 }
156
157 this->GetInputConnection(0, 0)->GetProducer()->UpdateInformation();
158 vtkInformation* inInfo = this->GetExecutive()->GetInputInformation(0, 0);
159 this->SetOutputWholeExtent(inInfo->Get(vtkStreamingDemandDrivenPipeline::WHOLE_EXTENT()));
160}
161
162//------------------------------------------------------------------------------
163// This method simply copies by reference the input data to the output.

Callers

nothing calls this directly

Calls 8

SetOutputWholeExtentMethod · 0.95
GetProducerMethod · 0.80
GetInputMethod · 0.45
UpdateInformationMethod · 0.45
GetInputConnectionMethod · 0.45
GetInputInformationMethod · 0.45
GetExecutiveMethod · 0.45
GetMethod · 0.45

Tested by

no test coverage detected