VTK
9.2.6
Filters
Core
vtkContourHelper.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkContourHelper.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
=========================================================================*/
26
27
#ifndef vtkContourHelper_h
28
#define vtkContourHelper_h
29
30
#include "vtkFiltersCoreModule.h"
// For export macro
31
#include "
vtkPolygonBuilder.h
"
//for a member variable
32
#include "
vtkSmartPointer.h
"
//for a member variable
33
34
class
vtkIncrementalPointLocator
;
35
class
vtkCellArray
;
36
class
vtkPointData
;
37
class
vtkCellData
;
38
class
vtkCell
;
39
class
vtkDataArray
;
40
class
vtkIdListCollection
;
41
42
class
VTKFILTERSCORE_EXPORT
vtkContourHelper
43
{
44
public
:
45
vtkContourHelper
(
vtkIncrementalPointLocator
* locator,
vtkCellArray
* verts,
vtkCellArray
* lines,
46
vtkCellArray
* polys,
vtkPointData
* inPd,
vtkCellData
* inCd,
vtkPointData
* outPd,
47
vtkCellData
* outCd,
int
estimatedSize,
bool
outputTriangles);
48
~vtkContourHelper
();
49
void
Contour
(
vtkCell
* cell,
double
value,
vtkDataArray
* cellScalars,
vtkIdType
cellId);
50
51
private
:
52
vtkContourHelper
(
const
vtkContourHelper
&) =
delete
;
53
vtkContourHelper
& operator=(
const
vtkContourHelper
&) =
delete
;
54
55
vtkIncrementalPointLocator
* Locator;
56
vtkCellArray
* Verts;
57
vtkCellArray
* Lines;
58
vtkCellArray
* Polys;
59
vtkPointData
* InPd;
60
vtkCellData
* InCd;
61
vtkPointData
* OutPd;
62
vtkCellData
* OutCd;
63
vtkSmartPointer<vtkCellData>
TriOutCd;
64
65
vtkCellArray
* Tris;
66
vtkPolygonBuilder
PolyBuilder;
67
vtkIdListCollection
* PolyCollection;
68
bool
GenerateTriangles;
69
};
70
71
#endif
72
// VTK-HeaderTest-Exclude: vtkContourHelper.h
vtkCellArray
object to represent cell connectivity
Definition
vtkCellArray.h:187
vtkCellData
represent and manipulate cell attribute data
Definition
vtkCellData.h:42
vtkCell
abstract class to specify cell behavior
Definition
vtkCell.h:61
vtkContourHelper::vtkContourHelper
vtkContourHelper(vtkIncrementalPointLocator *locator, vtkCellArray *verts, vtkCellArray *lines, vtkCellArray *polys, vtkPointData *inPd, vtkCellData *inCd, vtkPointData *outPd, vtkCellData *outCd, int estimatedSize, bool outputTriangles)
vtkContourHelper::~vtkContourHelper
~vtkContourHelper()
vtkContourHelper::Contour
void Contour(vtkCell *cell, double value, vtkDataArray *cellScalars, vtkIdType cellId)
vtkIdListCollection
maintain an ordered list of IdList objects
Definition
vtkIdListCollection.h:35
vtkIncrementalPointLocator
Abstract class in support of both point location and point insertion.
Definition
vtkIncrementalPointLocator.h:52
vtkPointData
represent and manipulate point attribute data
Definition
vtkPointData.h:42
vtkPolygonBuilder
The polygon output is the boundary of the union of the triangles.
Definition
vtkPolygonBuilder.h:43
vtkSmartPointer
Hold a reference to a vtkObjectBase instance.
Definition
vtkSmartPointer.h:42
vtkDataArray
#define vtkDataArray
Definition
vtkCharArray.h:49
vtkPolygonBuilder.h
vtkSmartPointer.h
vtkIdType
int vtkIdType
Definition
vtkType.h:332
Generated on Fri Jan 24 2025 00:00:00 for VTK by
1.13.2