------------------------------------------------------------------------------ Sets the output whole extent to be the input whole extent.
| 147 | //------------------------------------------------------------------------------ |
| 148 | // Sets the output whole extent to be the input whole extent. |
| 149 | void 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. |
nothing calls this directly
no test coverage detected