VTK
dox
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
=========================================================================*/
27
#ifndef vtkContourHelper_h
28
#define vtkContourHelper_h
29
30
#include "vtkFiltersCoreModule.h"
// For export macro
31
#include "
vtkSmartPointer.h
"
//for a member variable
32
#include "
vtkPolygonBuilder.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,
46
vtkCellArray
*verts,
47
vtkCellArray
*lines,
48
vtkCellArray
* polys,
49
vtkPointData
*inPd,
50
vtkCellData
*inCd,
51
vtkPointData
* outPd,
52
vtkCellData
*outCd,
53
int
estimatedSize,
54
bool
outputTriangles);
55
~vtkContourHelper
();
56
void
Contour
(
vtkCell
* cell,
double
value
,
vtkDataArray
*cellScalars,
vtkIdType
cellId);
57
58
private
:
59
vtkContourHelper
(
const
vtkContourHelper
&) =
delete
;
60
vtkContourHelper
& operator=(
const
vtkContourHelper
&) =
delete
;
61
62
vtkIncrementalPointLocator
* Locator;
63
vtkCellArray
* Verts;
64
vtkCellArray
* Lines;
65
vtkCellArray
* Polys;
66
vtkPointData
* InPd;
67
vtkCellData
* InCd;
68
vtkPointData
* OutPd;
69
vtkCellData
* OutCd;
70
vtkSmartPointer<vtkCellData>
TriOutCd;
71
72
vtkCellArray
* Tris;
73
vtkPolygonBuilder
PolyBuilder;
74
vtkIdListCollection
* PolyCollection;
75
bool
GenerateTriangles;
76
};
77
78
#endif
79
// VTK-HeaderTest-Exclude: vtkContourHelper.h
vtkPointData
represent and manipulate point attribute data
Definition:
vtkPointData.h:38
vtkX3D::value
@ value
Definition:
vtkX3D.h:220
vtkIdType
int vtkIdType
Definition:
vtkType.h:347
vtkContourHelper::vtkContourHelper
vtkContourHelper(vtkIncrementalPointLocator *locator, vtkCellArray *verts, vtkCellArray *lines, vtkCellArray *polys, vtkPointData *inPd, vtkCellData *inCd, vtkPointData *outPd, vtkCellData *outCd, int estimatedSize, bool outputTriangles)
vtkSmartPointer< vtkCellData >
vtkDataArray
abstract superclass for arrays of numeric data
Definition:
vtkDataArray.h:55
vtkCell
abstract class to specify cell behavior
Definition:
vtkCell.h:60
vtkPolygonBuilder.h
vtkCellData
represent and manipulate cell attribute data
Definition:
vtkCellData.h:39
vtkCellArray
object to represent cell connectivity
Definition:
vtkCellArray.h:51
vtkSmartPointer.h
vtkIncrementalPointLocator
Abstract class in support of both point location and point insertion.
Definition:
vtkIncrementalPointLocator.h:52
vtkIdListCollection
maintain an ordered list of IdList objects
Definition:
vtkIdListCollection.h:35
vtkContourHelper
A utility class used by various contour filters.
Definition:
vtkContourHelper.h:43
vtkPolygonBuilder
The polygon output is the boundary of the union of the triangles.
Definition:
vtkPolygonBuilder.h:43
vtkContourHelper::Contour
void Contour(vtkCell *cell, double value, vtkDataArray *cellScalars, vtkIdType cellId)
vtkContourHelper::~vtkContourHelper
~vtkContourHelper()
Generated by
1.8.20