Filters/Core/vtkMarchingCubes.cxx
// Description:
// Specify a spatial locator for merging points. By default,
// an instance of vtkMergePoints is used.
Specify a spatial locator for merging points. By default,
an instance of vtkMergePoints is used.
Specify a spatial locator for merging points . By default an instance of vtkMergePoints is used .
void vtkMarchingCubes::SetLocator(vtkIncrementalPointLocator *locator)
{
  if ( this->Locator == locator )
  {
    return;
  }
  if ( this->Locator )
  {
    this->Locator->UnRegister(this);
    this->Locator = nullptr;
  }
  if (locator)
  {
    locator->Register(this);
  }
  this->Locator = locator;
  this->Modified();
}
void vtkMarchingCubes :: SetLocator ( vtkIncrementalPointLocator * locator ) { if ( this -> Locator == locator ) { return ; } if ( this -> Locator ) { this -> Locator -> UnRegister ( this ) ; this -> Locator = nullptr ; } if ( locator ) { locator -> Register ( this ) ; } this -> Locator = locator ; this -> Modified ( ) ; }
Description:
Specify a spatial locator for merging points.
Description : Specify a spatial locator for merging points .