VTK
dox
Common
DataModel
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
#if !defined(VTK_LEGACY_REMOVE)
36
class
VTKCOMMONDATAMODEL_EXPORT
vtkHyperOctreePointsGrabber
:
public
vtkObject
37
{
38
public
:
39
vtkTypeMacro(
vtkHyperOctreePointsGrabber
,
vtkObject
);
40
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
41
46
int
GetDimension();
47
53
virtual
void
SetDimension(
int
dim)=0;
54
63
virtual
void
InitPointInsertion()=0;
64
65
71
virtual
void
InsertPoint(
vtkIdType
ptId,
72
double
pt[3],
73
double
pcoords[3],
74
int
ijk[3])=0;
75
79
virtual
void
InsertPointWithMerge(
vtkIdType
ptId,
80
double
pt[3],
81
double
pcoords[3],
82
int
ijk[3])=0;
83
87
virtual
void
InsertPoint2D(
double
pt[3],
88
int
ijk[3])=0;
89
90
protected
:
91
// Constructor with default bounds (0,1, 0,1, 0,1).
92
vtkHyperOctreePointsGrabber
();
93
~
vtkHyperOctreePointsGrabber
()
override
;
94
95
int
Dimension
;
96
97
private
:
98
vtkHyperOctreePointsGrabber
(
const
vtkHyperOctreePointsGrabber
&) =
delete
;
99
void
operator=(
const
vtkHyperOctreePointsGrabber
&) =
delete
;
100
};
101
#endif // LEGACY remove
102
103
#endif
vtkObject
abstract base class for most VTK objects
Definition:
vtkObject.h:59
vtkObject::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkHyperOctreePointsGrabber
An object used by filters to store points computed on face or edge of an hyperoctant.
Definition:
vtkHyperOctreePointsGrabber.h:36
vtkIdType
int vtkIdType
Definition:
vtkType.h:345
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkHyperOctreePointsGrabber::Dimension
int Dimension
Definition:
vtkHyperOctreePointsGrabber.h:95
vtkObject.h
Generated by
1.8.15