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 -------------------------------------------------------------------------*/
30 #ifndef vtkCoincidentPoints_h
31 #define vtkCoincidentPoints_h
32 
33 #include "vtkFiltersGeneralModule.h" // For export macro
34 #include "vtkObject.h"
35 
36 class vtkIdList;
37 class vtkPoints;
38 
39 class VTKFILTERSGENERAL_EXPORT vtkCoincidentPoints : public vtkObject
40 {
41 public:
42  static vtkCoincidentPoints* New();
44  void PrintSelf( ostream& os, vtkIndent indent ) VTK_OVERRIDE;
45 
53  void AddPoint(vtkIdType Id, const double point[3]);
54 
59  vtkIdList * GetCoincidentPointIds(const double point[3]);
60 
65  vtkIdList * GetNextCoincidentPointIds();
66 
70  void InitTraversal();
71 
76  void RemoveNonCoincidentPoints();
77 
82  void Clear();
83 
84  class implementation;
85  implementation * GetImplementation() { return this->Implementation; }
86 
92  static void SpiralPoints(vtkIdType num, vtkPoints * offsets);
93 
94 protected:
96  ~vtkCoincidentPoints() VTK_OVERRIDE;
97 
98 private:
99  vtkCoincidentPoints( const vtkCoincidentPoints& ) VTK_DELETE_FUNCTION;
100  void operator = ( const vtkCoincidentPoints& ) VTK_DELETE_FUNCTION;
101 
102  implementation* Implementation;
103 
104  friend class implementation;
105 
106 };
107 
108 #endif // vtkCoincidentPoints_h
contains an octree of labels
abstract base class for most VTK objects
Definition: vtkObject.h:59
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
implementation * GetImplementation()
int vtkIdType
Definition: vtkType.h:287
a simple class to control print indentation
Definition: vtkIndent.h:39
list of point or cell ids
Definition: vtkIdList.h:36
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
represent and manipulate 3D points
Definition: vtkPoints.h:39