00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkNonMergingPointLocator.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00033 #ifndef __vtkNonMergingPointLocator_h 00034 #define __vtkNonMergingPointLocator_h 00035 00036 #include "vtkPointLocator.h" 00037 00038 class vtkPoints; 00039 00040 class VTK_FILTERING_EXPORT vtkNonMergingPointLocator : public vtkPointLocator 00041 { 00042 public: 00043 static vtkNonMergingPointLocator * New(); 00044 00045 vtkTypeMacro( vtkNonMergingPointLocator, vtkPointLocator ); 00046 void PrintSelf( ostream & os, vtkIndent indent ); 00047 00048 //BTX 00050 00054 virtual vtkIdType IsInsertedPoint( const double [3] ) { return -1; } 00055 virtual vtkIdType IsInsertedPoint( double, double, double ) { return -1; } 00057 //ETX 00058 00063 virtual int InsertUniquePoint( const double x[3], vtkIdType & ptId ); 00064 00065 protected: 00066 vtkNonMergingPointLocator() { }; 00067 ~vtkNonMergingPointLocator() { }; 00068 00069 private: 00070 vtkNonMergingPointLocator( const vtkNonMergingPointLocator & ); // Not implemented. 00071 void operator = ( const vtkNonMergingPointLocator & ); // Not implemented. 00072 }; 00073 00074 #endif 00075 00076