VTK
vtkHyperOctreeClipCutPointsGrabber.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkHyperOctreeClipCutPointsGrabber.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 =========================================================================*/
24 #ifndef __vtkHyperOctreeClipCutPointsGrabber_h
25 #define __vtkHyperOctreeClipCutPointsGrabber_h
26 
28 
29 class vtkHyperOctreeIdSet; // Pimpl idiom
30 class vtkPolygon;
32 
33 
35 {
36 public:
38 
40 
41  void PrintSelf(ostream& os, vtkIndent indent);
42 
45  virtual void SetDimension(int dim);
46 
52  virtual void InitPointInsertion();
53 
55 
58  virtual void InsertPoint(vtkIdType ptId,
59  double pt[3],
60  double pcoords[3],
61  int ijk[3]);
63 
65 
66  virtual void InsertPointWithMerge(vtkIdType ptId,
67  double pt[3],
68  double pcoords[3],
69  int ijk[3]);
71 
73 
74  virtual void InsertPoint2D(double pt[3],
75  int ijk[3]);
77 
79  vtkOrderedTriangulator *GetTriangulator();
80 
82  vtkPolygon *GetPolygon();
83 
84 
85 protected:
86  // Constructor with default bounds (0,1, 0,1, 0,1).
89 
92  vtkHyperOctreeIdSet *IdSet;
93 
94 private:
96  void operator=(const vtkHyperOctreeClipCutPointsGrabber&); // Not implemented.
97 };
98 
99 #endif