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 "vtkFiltersGeneralModule.h" // For export macro
33 #include "vtkObject.h"
34 
35 class vtkIdList;
36 class vtkPoints;
37 
39 {
40 public:
41  static vtkCoincidentPoints* New();
43  virtual void PrintSelf( ostream& os, vtkIndent indent );
44 
50  void AddPoint(vtkIdType Id, const double point[3]);
51 
55  vtkIdList * GetCoincidentPointIds(const double point[3]);
56 
59  vtkIdList * GetNextCoincidentPointIds();
60 
62  void InitTraversal();
63 
66  void RemoveNonCoincidentPoints();
67 
70  void Clear();
71 
72  //BTX
73  class implementation;
74  implementation * GetImplementation() { return this->Implementation; }
75  //ETX
76 
80  static void SpiralPoints(vtkIdType num, vtkPoints * offsets);
81 
82 protected:
84  virtual ~vtkCoincidentPoints();
85 
86 private:
87  vtkCoincidentPoints( const vtkCoincidentPoints& ); // Not implemented.
88  void operator = ( const vtkCoincidentPoints& ); // Not implemented.
89 
90  //BTX
91  implementation* Implementation;
92 
93  friend class implementation;
94  //ETX
95 };
96 
97 #endif // vtkCoincidentPoints_h
contains an octree of labels
abstract base class for most VTK objects
Definition: vtkObject.h:61
implementation * GetImplementation()
int vtkIdType
Definition: vtkType.h:275
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:38
list of point or cell ids
Definition: vtkIdList.h:35
#define VTKFILTERSGENERAL_EXPORT
static vtkObject * New()
represent and manipulate 3D points
Definition: vtkPoints.h:38