VTK
vtkHyperOctreePointsGrabber.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkHyperOctreePointsGrabber.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 =========================================================================*/
28 #ifndef vtkHyperOctreePointsGrabber_h
29 #define vtkHyperOctreePointsGrabber_h
30 
31 #include "vtkCommonDataModelModule.h" // For export macro
32 #include "vtkObject.h"
33 
35 {
36 public:
38  void PrintSelf(ostream& os, vtkIndent indent);
39 
42  int GetDimension();
43 
46  virtual void SetDimension(int dim)=0;
47 
53  virtual void InitPointInsertion()=0;
54 
55 
57 
60  virtual void InsertPoint(vtkIdType ptId,
61  double pt[3],
62  double pcoords[3],
63  int ijk[3])=0;
65 
67 
68  virtual void InsertPointWithMerge(vtkIdType ptId,
69  double pt[3],
70  double pcoords[3],
71  int ijk[3])=0;
73 
75 
76  virtual void InsertPoint2D(double pt[3],
77  int ijk[3])=0;
79 
80 protected:
81  // Constructor with default bounds (0,1, 0,1, 0,1).
83  virtual ~vtkHyperOctreePointsGrabber();
84 
85  int Dimension;
86 
87 private:
88  vtkHyperOctreePointsGrabber(const vtkHyperOctreePointsGrabber&); // Not implemented.
89  void operator=(const vtkHyperOctreePointsGrabber&); // Not implemented.
90 };
91 
92 #endif
abstract base class for most VTK objects
Definition: vtkObject.h:61
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.
int vtkIdType
Definition: vtkType.h:275
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:38
#define VTKCOMMONDATAMODEL_EXPORT