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

Method BuildPoints

Common/DataModel/vtkRectilinearGrid.cxx:146–154  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

144
145//------------------------------------------------------------------------------
146void vtkRectilinearGrid::BuildPoints()
147{
148 static double identityMatrix[9] = { 1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0 };
149 if (this->XCoordinates && this->YCoordinates && this->ZCoordinates)
150 {
151 this->SetStructuredPoints(vtkStructuredData::GetPoints(this->XCoordinates, this->YCoordinates,
152 this->ZCoordinates, this->GetExtent(), identityMatrix));
153 }
154}
155
156//------------------------------------------------------------------------------
157void vtkRectilinearGrid::GetCell(vtkIdType cellId, vtkGenericCell* cell)

Callers 3

SetXCoordinatesMethod · 0.95
SetYCoordinatesMethod · 0.95
SetZCoordinatesMethod · 0.95

Calls 2

GetPointsFunction · 0.70
GetExtentMethod · 0.45

Tested by

no test coverage detected