VTK
|
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 "vtkCommonDataModelModule.h" // For export macro 00037 #include "vtkPointLocator.h" 00038 00039 class vtkPoints; 00040 00041 class VTKCOMMONDATAMODEL_EXPORT vtkNonMergingPointLocator : public vtkPointLocator 00042 { 00043 public: 00044 static vtkNonMergingPointLocator * New(); 00045 00046 vtkTypeMacro( vtkNonMergingPointLocator, vtkPointLocator ); 00047 void PrintSelf( ostream & os, vtkIndent indent ); 00048 00049 //BTX 00051 00055 virtual vtkIdType IsInsertedPoint( const double [3] ) { return -1; } 00056 virtual vtkIdType IsInsertedPoint( double, double, double ) { return -1; } 00057 //ETX 00059 00064 virtual int InsertUniquePoint( const double x[3], vtkIdType & ptId ); 00065 00066 protected: 00067 vtkNonMergingPointLocator() { }; 00068 ~vtkNonMergingPointLocator() { }; 00069 00070 private: 00071 vtkNonMergingPointLocator( const vtkNonMergingPointLocator & ); // Not implemented. 00072 void operator = ( const vtkNonMergingPointLocator & ); // Not implemented. 00073 }; 00074 00075 #endif 00076 00077