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

Method SetLocator

Common/DataModel/vtkIterativeClosestPointTransform.cxx:129–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127//------------------------------------------------------------------------------
128
129void vtkIterativeClosestPointTransform::SetLocator(vtkCellLocator* locator)
130{
131 if (this->Locator == locator)
132 {
133 return;
134 }
135
136 if (this->Locator)
137 {
138 this->ReleaseLocator();
139 }
140
141 if (locator)
142 {
143 locator->Register(this);
144 }
145
146 this->Locator = locator;
147 this->Modified();
148}
149
150//------------------------------------------------------------------------------
151

Callers 2

InternalDeepCopyMethod · 0.95
headBone.pyFile · 0.45

Calls 3

ReleaseLocatorMethod · 0.95
RegisterMethod · 0.45
ModifiedMethod · 0.45

Tested by

no test coverage detected