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 
89  vtkOrderedTriangulator *GetTriangulator();
90 
94  vtkPolygon *GetPolygon();
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
virtual void InsertPoint(vtkIdType ptId, double pt[3], double pcoords[3], int ijk[3])=0
Insert a point, assuming the point is unique and does not require a locator.
An object used by filters to store points computed on face or edge of an hyperoctant.
helper class to generate triangulations
A concrete implementation of vtkHyperOctreePointsGrabber used by vtkClipHyperOctree and vtkHyperOctre...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int vtkIdType
Definition: vtkType.h:287
a simple class to control print indentation
Definition: vtkIndent.h:39
virtual void SetDimension(int dim)=0
Set the dimension of the hyperoctree.
a cell that represents an n-sided polygon
Definition: vtkPolygon.h:45
virtual void InitPointInsertion()=0
Initialize the points insertion scheme.
virtual void InsertPoint2D(double pt[3], int ijk[3])=0
Insert a point in the quadtree case.
virtual void InsertPointWithMerge(vtkIdType ptId, double pt[3], double pcoords[3], int ijk[3])=0
Insert a point using a locator.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...