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

Method SetSource

Common/DataModel/vtkIterativeClosestPointTransform.cxx:61–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59//------------------------------------------------------------------------------
60
61void vtkIterativeClosestPointTransform::SetSource(vtkDataSet* source)
62{
63 if (this->Source == source)
64 {
65 return;
66 }
67
68 if (this->Source)
69 {
70 this->ReleaseSource();
71 }
72
73 if (source)
74 {
75 source->Register(this);
76 }
77
78 this->Source = source;
79 this->Modified();
80}
81
82//------------------------------------------------------------------------------
83

Callers 13

InternalDeepCopyMethod · 0.95
NextGraphEdgeMethod · 0.45
NextGraphEdgeMethod · 0.45
NextGraphEdgeMethod · 0.45
AddGraphEdgeMethod · 0.45
ShallowCopyMethod · 0.45
DeepCopyMethod · 0.45
CopyStructureMethod · 0.45
AddGraphEdgeMethod · 0.45
GetOutEdgeMethod · 0.45
GetInEdgeMethod · 0.45
~vtkCellGridCopyQueryMethod · 0.45

Calls 3

ReleaseSourceMethod · 0.95
RegisterMethod · 0.45
ModifiedMethod · 0.45

Tested by 1

testICPTransformMethod · 0.36