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 "vtkObject.h"
32 
34 {
35 public:
37  void PrintSelf(ostream& os, vtkIndent indent);
38 
41  int GetDimension();
42 
45  virtual void SetDimension(int dim)=0;
46 
52  virtual void InitPointInsertion()=0;
53 
54 
56 
59  virtual void InsertPoint(vtkIdType ptId,
60  double pt[3],
61  double pcoords[3],
62  int ijk[3])=0;
64 
66 
67  virtual void InsertPointWithMerge(vtkIdType ptId,
68  double pt[3],
69  double pcoords[3],
70  int ijk[3])=0;
72 
74 
75  virtual void InsertPoint2D(double pt[3],
76  int ijk[3])=0;
78 
79 protected:
80  // Constructor with default bounds (0,1, 0,1, 0,1).
82  virtual ~vtkHyperOctreePointsGrabber();
83 
84  int Dimension;
85 
86 private:
87  vtkHyperOctreePointsGrabber(const vtkHyperOctreePointsGrabber&); // Not implemented.
88  void operator=(const vtkHyperOctreePointsGrabber&); // Not implemented.
89 };
90 
91 #endif
abstract base class for most VTK objects
Definition: vtkObject.h:60
#define VTK_FILTERING_EXPORT
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:255
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:37