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

Method ExtractDS

Filters/Geometry/vtkGeometryFilter.cxx:1902–1917  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1900 const unsigned char MASKED_CELL;
1901
1902 ExtractDS(vtkGeometryFilter* self, vtkDataSet* ds, const char* cellVis,
1903 const unsigned char* cellGhost, const unsigned char* pointGhost,
1904 vtkExcludedFaces<TInputIdType>* exc, ThreadOutputType<TInputIdType>* t)
1905 : ExtractCellBoundaries<TInputIdType>(self, cellVis, cellGhost, pointGhost, exc, t)
1906 , DataSet(ds)
1907 , NumberOfCells(ds->GetNumberOfCells())
1908 , MASKED_CELL(
1909 self->GetRemoveGhostInterfaces() ? MASKED_CELL_VALUE : MASKED_CELL_VALUE_NOT_VISIBLE)
1910 {
1911 // Point merging is always required since points are not explicitly
1912 // represented and cannot be passed through to the output.
1913 this->CreatePointMap(ds->GetNumberOfPoints());
1914 // Make sure any internal initialization methods which may not be thread
1915 // safe are built.
1916 this->DataSet->GetCell(0);
1917 }
1918
1919 // Initialize thread data
1920 void Initialize() override { this->ExtractCellBoundaries<TInputIdType>::Initialize(); }

Callers

nothing calls this directly

Calls 4

CreatePointMapMethod · 0.80
GetNumberOfCellsMethod · 0.45
GetNumberOfPointsMethod · 0.45
GetCellMethod · 0.45

Tested by

no test coverage detected