VTK
9.0.1
Common
DataModel
vtkFindCellStrategy.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkFindCellStrategy.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
=========================================================================*/
41
#ifndef vtkFindCellStrategy_h
42
#define vtkFindCellStrategy_h
43
44
#include "vtkCommonDataModelModule.h"
// For export macro
45
#include "
vtkObject.h
"
46
47
class
vtkCell
;
48
class
vtkGenericCell
;
49
class
vtkPointSet
;
50
51
class
VTKCOMMONDATAMODEL_EXPORT
vtkFindCellStrategy
:
public
vtkObject
52
{
53
public
:
55
58
vtkTypeMacro(
vtkFindCellStrategy
,
vtkObject
);
59
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
61
68
virtual
int
Initialize(
vtkPointSet
* ps);
69
74
virtual
vtkIdType
FindCell(
double
x[3],
vtkCell
* cell,
vtkGenericCell
* gencell,
vtkIdType
cellId,
75
double
tol2,
int
& subId,
double
pcoords[3],
double
* weights) = 0;
76
77
protected
:
78
vtkFindCellStrategy
();
79
~
vtkFindCellStrategy
()
override
;
80
81
vtkPointSet
*
PointSet
;
// vtkPointSet which this strategy is associated with
82
double
Bounds[6];
// bounding box of vtkPointSet
83
84
vtkTimeStamp
InitializeTime
;
// time at which strategy was initialized
85
86
private
:
87
vtkFindCellStrategy
(
const
vtkFindCellStrategy
&) =
delete
;
88
void
operator=(
const
vtkFindCellStrategy
&) =
delete
;
89
};
90
91
#endif
vtkFindCellStrategy::InitializeTime
vtkTimeStamp InitializeTime
Definition:
vtkFindCellStrategy.h:84
vtkIdType
int vtkIdType
Definition:
vtkType.h:338
vtkTimeStamp
record modification and/or execution time
Definition:
vtkTimeStamp.h:32
vtkObject
abstract base class for most VTK objects
Definition:
vtkObject.h:62
vtkFindCellStrategy
helper class to manage the vtkPointSet::FindCell() METHOD
Definition:
vtkFindCellStrategy.h:51
vtkCell
abstract class to specify cell behavior
Definition:
vtkCell.h:56
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:33
vtkObject::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkObject.h
vtkFindCellStrategy::PointSet
vtkPointSet * PointSet
Definition:
vtkFindCellStrategy.h:81
vtkPointSet
abstract class for specifying dataset behavior
Definition:
vtkPointSet.h:62
vtkGenericCell
provides thread-safe access to cells
Definition:
vtkGenericCell.h:36
Generated on Thu Jun 24 2021 15:17:26 for VTK by
1.8.17