------------------------------------------------------------------------------
| 623 | |
| 624 | //------------------------------------------------------------------------------ |
| 625 | int vtkDataSetSurfaceFilter::StructuredExecute( |
| 626 | vtkDataSet* input, vtkPolyData* output, vtkIdType* ext, vtkIdType* wholeExt) |
| 627 | { |
| 628 | if (this->Delegation) |
| 629 | { |
| 630 | vtkLogScopeF( |
| 631 | TRACE, "StructuredExecute Using GeometryFilter (fastMode=%d)", (int)this->GetFastMode()); |
| 632 | vtkNew<vtkGeometryFilter> geometryFilter; |
| 633 | vtkGeometryFilterHelper::CopyFilterParams(this, geometryFilter); |
| 634 | int wholeExtent[6]; |
| 635 | std::copy(wholeExt, wholeExt + 6, wholeExtent); |
| 636 | return geometryFilter->StructuredExecute(input, output, wholeExtent, nullptr, nullptr); |
| 637 | } |
| 638 | |
| 639 | if (::StructuredExecuteWithBlanking(vtkImageData::SafeDownCast(input), output, this) || |
| 640 | ::StructuredExecuteWithBlanking(vtkStructuredGrid::SafeDownCast(input), output, this) || |
| 641 | ::StructuredExecuteWithBlanking(vtkRectilinearGrid::SafeDownCast(input), output, this)) |
| 642 | { |
| 643 | return 1; |
| 644 | } |
| 645 | |
| 646 | return this->StructuredExecuteNoBlanking(input, output, ext, wholeExt); |
| 647 | } |
| 648 | |
| 649 | //------------------------------------------------------------------------------ |
| 650 | // It is a pain that structured data sets do not share a common super class |
no test coverage detected