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 
81 
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
vtkHyperOctreeClipCutPointsGrabber::InsertPoint
virtual void InsertPoint(vtkIdType ptId, double pt[3], double pcoords[3], int ijk[3])
vtkHyperOctreeClipCutPointsGrabber::InitPointInsertion
virtual void InitPointInsertion()
vtkIdType
int vtkIdType
Definition: vtkType.h:275
vtkPolygon
a cell that represents an n-sided polygon
Definition: vtkPolygon.h:45
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkHyperOctreeClipCutPointsGrabber::New
static vtkHyperOctreeClipCutPointsGrabber * New()
vtkHyperOctreeClipCutPointsGrabber::InsertPoint2D
virtual void InsertPoint2D(double pt[3], int ijk[3])
vtkHyperOctreeClipCutPointsGrabber::GetPolygon
vtkPolygon * GetPolygon()
vtkHyperOctreePointsGrabber
An object used by filters to store points computed on face or edge of an hyperoctant....
Definition: vtkHyperOctreePointsGrabber.h:35
vtkFiltersHyperTreeModule.h
vtkHyperOctreeClipCutPointsGrabber
A concrete implementation of vtkHyperOctreePointsGrabber used by vtkClipHyperOctree and vtkHyperOctre...
Definition: vtkHyperOctreeClipCutPointsGrabber.h:36
vtkOrderedTriangulator
helper class to generate triangulations
Definition: vtkOrderedTriangulator.h:117
VTKFILTERSHYPERTREE_EXPORT
#define VTKFILTERSHYPERTREE_EXPORT
Definition: vtkFiltersHyperTreeModule.h:15
vtkHyperOctreeClipCutPointsGrabber::SetDimension
virtual void SetDimension(int dim)
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkHyperOctreeClipCutPointsGrabber::~vtkHyperOctreeClipCutPointsGrabber
~vtkHyperOctreeClipCutPointsGrabber()
vtkHyperOctreeClipCutPointsGrabber::Polygon
vtkPolygon * Polygon
Definition: vtkHyperOctreeClipCutPointsGrabber.h:92
vtkHyperOctreePointsGrabber.h
vtkHyperOctreeClipCutPointsGrabber::vtkHyperOctreeClipCutPointsGrabber
vtkHyperOctreeClipCutPointsGrabber()
vtkHyperOctreeClipCutPointsGrabber::GetTriangulator
vtkOrderedTriangulator * GetTriangulator()
vtkHyperOctreeClipCutPointsGrabber::InsertPointWithMerge
virtual void InsertPointWithMerge(vtkIdType ptId, double pt[3], double pcoords[3], int ijk[3])
vtkHyperOctreeClipCutPointsGrabber::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkHyperOctreeClipCutPointsGrabber::IdSet
vtkHyperOctreeIdSet * IdSet
Definition: vtkHyperOctreeClipCutPointsGrabber.h:93
vtkHyperOctreeClipCutPointsGrabber::Triangulator
vtkOrderedTriangulator * Triangulator
Definition: vtkHyperOctreeClipCutPointsGrabber.h:91