------------------------------------------------------------------------------
| 331 | |
| 332 | //------------------------------------------------------------------------------ |
| 333 | void vtkTableBasedClipDataSet::ClipDataSet(vtkDataSet* pDataSet, vtkUnstructuredGrid* outputUG) |
| 334 | { |
| 335 | vtkNew<vtkClipDataSet> clipData; |
| 336 | clipData->SetInputData(pDataSet); |
| 337 | clipData->SetValue(this->Value); |
| 338 | clipData->SetInsideOut(this->InsideOut); |
| 339 | clipData->SetClipFunction(this->ClipFunction); |
| 340 | clipData->SetUseValueAsOffset(this->UseValueAsOffset); |
| 341 | clipData->SetGenerateClipScalars(this->GenerateClipScalars); |
| 342 | clipData->SetContainerAlgorithm(this); |
| 343 | clipData->SetLocator(this->Locator); |
| 344 | clipData->SetMergeTolerance(this->MergeTolerance); |
| 345 | clipData->Update(); |
| 346 | outputUG->ShallowCopy(clipData->GetOutput()); |
| 347 | } |
| 348 | |
| 349 | namespace // begin anonymous namespace |
| 350 | { |
no test coverage detected