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

Method SetDistributedGraphHelper

Common/DataModel/vtkGraph.cxx:496–507  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

494
495//------------------------------------------------------------------------------
496void vtkGraph::SetDistributedGraphHelper(vtkDistributedGraphHelper* helper)
497{
498 if (this->DistributedHelper)
499 this->DistributedHelper->AttachToGraph(nullptr);
500
501 this->DistributedHelper = helper;
502 if (this->DistributedHelper)
503 {
504 this->DistributedHelper->Register(this);
505 this->DistributedHelper->AttachToGraph(this);
506 }
507}
508
509//------------------------------------------------------------------------------
510vtkDistributedGraphHelper* vtkGraph::GetDistributedGraphHelper()

Callers 1

CopyInternalMethod · 0.95

Calls 2

AttachToGraphMethod · 0.80
RegisterMethod · 0.45

Tested by

no test coverage detected