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

Method GetPoints

Common/DataModel/vtkStructuredData.cxx:462–470  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

460
461//------------------------------------------------------------------------------
462vtkSmartPointer<vtkPoints> vtkStructuredData::GetPoints(vtkDataArray* xCoords,
463 vtkDataArray* yCoords, vtkDataArray* zCoords, int extent[6], double dirMatrix[9])
464{
465 auto points = vtkSmartPointer<vtkPoints>::New();
466 const auto implicitPointArray = vtk::CreateStructuredPointArray<double>(xCoords, yCoords, zCoords,
467 extent, vtkStructuredData::GetDataDescriptionFromExtent(extent), dirMatrix);
468 points->SetData(implicitPointArray);
469 return points;
470}
471
472//------------------------------------------------------------------------------
473// Get the cells using a point. (See vtkDataSet for more info.)

Callers

nothing calls this directly

Calls 2

NewFunction · 0.50
SetDataMethod · 0.45

Tested by

no test coverage detected