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

Method SetPoints

Common/DataModel/vtkGenericCell.cxx:499–510  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

497
498//------------------------------------------------------------------------------
499void vtkGenericCell::SetPoints(vtkPoints* points)
500{
501 if (points != this->Points)
502 {
503 this->Points->Delete();
504 this->Points = points;
505 this->Points->Register(this);
506 this->Cell->Points->Delete();
507 this->Cell->Points = points;
508 this->Cell->Points->Register(this);
509 }
510}
511
512//------------------------------------------------------------------------------
513void vtkGenericCell::SetPointIds(vtkIdList* pointIds)

Callers 15

RequestDataMethod · 0.45
BuildRepresentationMethod · 0.45
RemoveGhostCellsMethod · 0.45
DecomposeMethod · 0.45
ConstructPolyDataMethod · 0.45
SetFrustumPlanesMethod · 0.45
SetBoundsMethod · 0.45

Calls 2

DeleteMethod · 0.65
RegisterMethod · 0.45

Tested by 15

setUpMethod · 0.36
DrawTrianglesFunction · 0.36
TestPolyDataFunction · 0.36
TestUnstructuredGridFunction · 0.36
TestPolyhedron0Function · 0.36
TestPolyDataRemoveCellFunction · 0.36
IsConvexFunction · 0.36