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

Method SetLocator

IO/Geometry/vtkMCubesReader.cxx:298–315  ·  view source on GitHub ↗

Specify a spatial locator for merging points. By default, an instance of vtkMergePoints is used.

Source from the content-addressed store, hash-verified

296// Specify a spatial locator for merging points. By default,
297// an instance of vtkMergePoints is used.
298void vtkMCubesReader::SetLocator(vtkIncrementalPointLocator* locator)
299{
300 if (this->Locator == locator)
301 {
302 return;
303 }
304 if (this->Locator)
305 {
306 this->Locator->UnRegister(this);
307 this->Locator = nullptr;
308 }
309 if (locator)
310 {
311 locator->Register(this);
312 }
313 this->Locator = locator;
314 this->Modified();
315}
316
317void vtkMCubesReader::SetDataByteOrderToBigEndian()
318{

Callers 1

~vtkSTLReaderMethod · 0.45

Calls 3

UnRegisterMethod · 0.45
RegisterMethod · 0.45
ModifiedMethod · 0.45

Tested by

no test coverage detected