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

Method StructuredExecute

Filters/Geometry/vtkDataSetSurfaceFilter.cxx:625–647  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

623
624//------------------------------------------------------------------------------
625int 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

Callers 1

RequestDataMethod · 0.95

Calls 3

copyFunction · 0.50

Tested by

no test coverage detected