VTK
vtkCoincidentPoints.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkCoincidentPoints.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
15 /*-------------------------------------------------------------------------
16  Copyright 2008 Sandia Corporation.
17  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18  the U.S. Government retains certain rights in this software.
19 -------------------------------------------------------------------------*/
29 #ifndef __vtkCoincidentPoints_h
30 #define __vtkCoincidentPoints_h
31 
32 #include "vtkObject.h"
33 
34 class vtkIdList;
35 class vtkPoints;
36 
38 {
39 public:
40  static vtkCoincidentPoints* New();
42  virtual void PrintSelf( ostream& os, vtkIndent indent );
43 
49  void AddPoint(vtkIdType Id, const double point[3]);
50 
54  vtkIdList * GetCoincidentPointIds(const double point[3]);
55 
58  vtkIdList * GetNextCoincidentPointIds();
59 
61  void InitTraversal();
62 
65  void RemoveNonCoincidentPoints();
66 
69  void Clear();
70 
71  //BTX
72  class implementation;
73  implementation * GetImplementation() { return this->Implementation; }
74  //ETX
75 
79  static void SpiralPoints(vtkIdType num, vtkPoints * offsets);
80 
81 protected:
83  virtual ~vtkCoincidentPoints();
84 
85 private:
86  vtkCoincidentPoints( const vtkCoincidentPoints& ); // Not implemented.
87  void operator = ( const vtkCoincidentPoints& ); // Not implemented.
88 
89  //BTX
90  implementation* Implementation;
91 
92  friend class implementation;
93  //ETX
94 };
95 
96 #endif // __vtkCoincidentPoints_h