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 =========================================================================*/
25 #ifndef vtkHyperOctreeClipCutPointsGrabber_h
26 #define vtkHyperOctreeClipCutPointsGrabber_h
27 
28 #include "vtkFiltersHyperTreeModule.h" // For export macro
30 
31 class vtkHyperOctreeIdSet; // Pimpl idiom
32 class vtkPolygon;
34 
35 
36 class VTKFILTERSHYPERTREE_EXPORT vtkHyperOctreeClipCutPointsGrabber : public vtkHyperOctreePointsGrabber
37 {
38 public:
40 
42 
43  void PrintSelf(ostream& os, vtkIndent indent);
44 
50  virtual void SetDimension(int dim);
51 
60  virtual void InitPointInsertion();
61 
67  virtual void InsertPoint(vtkIdType ptId,
68  double pt[3],
69  double pcoords[3],
70  int ijk[3]);
71 
75  virtual void InsertPointWithMerge(vtkIdType ptId,
76  double pt[3],
77  double pcoords[3],
78  int ijk[3]);
79 
83  virtual void InsertPoint2D(double pt[3],
84  int ijk[3]);
85 
90 
95 
96 
97 protected:
98  // Constructor with default bounds (0,1, 0,1, 0,1).
101 
104  vtkHyperOctreeIdSet *IdSet;
105 
106 private:
108  void operator=(const vtkHyperOctreeClipCutPointsGrabber&) VTK_DELETE_FUNCTION;
109 };
110 
111 #endif
A concrete implementation of vtkHyperOctreePointsGrabber used by vtkClipHyperOctree and vtkHyperOctre...
virtual void InsertPointWithMerge(vtkIdType ptId, double pt[3], double pcoords[3], int ijk[3])
Insert a point using a locator.
virtual void InsertPoint(vtkIdType ptId, double pt[3], double pcoords[3], int ijk[3])
Insert a point, assuming the point is unique and does not require a locator.
vtkPolygon * GetPolygon()
Return the polygon.
static vtkHyperOctreeClipCutPointsGrabber * New()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual void InsertPoint2D(double pt[3], int ijk[3])
Insert a point in the quadtree case.
vtkOrderedTriangulator * GetTriangulator()
Return the ordered triangulator.
virtual void InitPointInsertion()
Initialize the points insertion scheme.
virtual void SetDimension(int dim)
Set the dimension of the hyperoctree.
An object used by filters to store points computed on face or edge of an hyperoctant.
a simple class to control print indentation
Definition: vtkIndent.h:40
helper class to generate triangulations
a cell that represents an n-sided polygon
Definition: vtkPolygon.h:46
int vtkIdType
Definition: vtkType.h:287