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 
27 #include "vtkFiltersHyperTreeModule.h" // For export macro
29 
30 class vtkHyperOctreeIdSet; // Pimpl idiom
31 class vtkPolygon;
33 
34 
36 {
37 public:
39 
41 
42  void PrintSelf(ostream& os, vtkIndent indent);
43 
46  virtual void SetDimension(int dim);
47 
53  virtual void InitPointInsertion();
54 
56 
59  virtual void InsertPoint(vtkIdType ptId,
60  double pt[3],
61  double pcoords[3],
62  int ijk[3]);
64 
66 
67  virtual void InsertPointWithMerge(vtkIdType ptId,
68  double pt[3],
69  double pcoords[3],
70  int ijk[3]);
72 
74 
75  virtual void InsertPoint2D(double pt[3],
76  int ijk[3]);
78 
80  vtkOrderedTriangulator *GetTriangulator();
81 
83  vtkPolygon *GetPolygon();
84 
85 
86 protected:
87  // Constructor with default bounds (0,1, 0,1, 0,1).
90 
93  vtkHyperOctreeIdSet *IdSet;
94 
95 private:
97  void operator=(const vtkHyperOctreeClipCutPointsGrabber&); // Not implemented.
98 };
99 
100 #endif
virtual void InsertPoint(vtkIdType ptId, double pt[3], double pcoords[3], int ijk[3])=0
An object used by filters to store points computed on face or edge of an hyperoctant. It is an abstract class. vtkClipHyperOctree and vtkHyperOctreeCutter use vtkHyperOctreeClipCutPointsGrabber vtkHyperOctreeContourFilter use an internal one: vtkHyperOctreeContourFilterPointsGrabber.
helper class to generate triangulations
A concrete implementation of vtkHyperOctreePointsGrabber used by vtkClipHyperOctree and vtkHyperOctre...
int vtkIdType
Definition: vtkType.h:275
#define VTKFILTERSHYPERTREE_EXPORT
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual void SetDimension(int dim)=0
a cell that represents an n-sided polygon
Definition: vtkPolygon.h:44
virtual void InitPointInsertion()=0
virtual void InsertPoint2D(double pt[3], int ijk[3])=0
virtual void InsertPointWithMerge(vtkIdType ptId, double pt[3], double pcoords[3], int ijk[3])=0
static vtkObject * New()
void PrintSelf(ostream &os, vtkIndent indent)