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

Method SetTarget

Common/DataModel/vtkIterativeClosestPointTransform.cxx:95–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93//------------------------------------------------------------------------------
94
95void vtkIterativeClosestPointTransform::SetTarget(vtkDataSet* target)
96{
97 if (this->Target == target)
98 {
99 return;
100 }
101
102 if (this->Target)
103 {
104 this->ReleaseTarget();
105 }
106
107 if (target)
108 {
109 target->Register(this);
110 }
111
112 this->Target = target;
113 this->Modified();
114}
115
116//------------------------------------------------------------------------------
117

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

ReleaseTargetMethod · 0.95
RegisterMethod · 0.45
ModifiedMethod · 0.45

Tested by 1

testICPTransformMethod · 0.36