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 =========================================================================*/
29 #ifndef vtkHyperOctreePointsGrabber_h
30 #define vtkHyperOctreePointsGrabber_h
31 
32 #include "vtkCommonDataModelModule.h" // For export macro
33 #include "vtkObject.h"
34 
35 class VTKCOMMONDATAMODEL_EXPORT vtkHyperOctreePointsGrabber : public vtkObject
36 {
37 public:
39  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
40 
45  int GetDimension();
46 
52  virtual void SetDimension(int dim)=0;
53 
62  virtual void InitPointInsertion()=0;
63 
64 
70  virtual void InsertPoint(vtkIdType ptId,
71  double pt[3],
72  double pcoords[3],
73  int ijk[3])=0;
74 
78  virtual void InsertPointWithMerge(vtkIdType ptId,
79  double pt[3],
80  double pcoords[3],
81  int ijk[3])=0;
82 
86  virtual void InsertPoint2D(double pt[3],
87  int ijk[3])=0;
88 
89 protected:
90  // Constructor with default bounds (0,1, 0,1, 0,1).
92  ~vtkHyperOctreePointsGrabber() VTK_OVERRIDE;
93 
94  int Dimension;
95 
96 private:
97  vtkHyperOctreePointsGrabber(const vtkHyperOctreePointsGrabber&) VTK_DELETE_FUNCTION;
98  void operator=(const vtkHyperOctreePointsGrabber&) VTK_DELETE_FUNCTION;
99 };
100 
101 #endif
abstract base class for most VTK objects
Definition: vtkObject.h:59
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
An object used by filters to store points computed on face or edge of an hyperoctant.
int vtkIdType
Definition: vtkType.h:287
a simple class to control print indentation
Definition: vtkIndent.h:39