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
=========================================================================*/
25
#ifndef vtkContourHelper_h
26
#define vtkContourHelper_h
27
28
#include "vtkFiltersCoreModule.h"
// For export macro
29
#include "
vtkSmartPointer.h
"
//for a member variable
30
#include "
vtkPolygonBuilder.h
"
//for a member variable
31
32
class
vtkIncrementalPointLocator
;
33
class
vtkCellArray
;
34
class
vtkPointData
;
35
class
vtkCellData
;
36
class
vtkCell
;
37
class
vtkDataArray
;
38
class
vtkIdListCollection
;
39
40
class
VTKFILTERSCORE_EXPORT
vtkContourHelper
41
{
42
public
:
43
vtkContourHelper
(
vtkIncrementalPointLocator
*locator,
44
vtkCellArray
*verts,
45
vtkCellArray
*lines,
46
vtkCellArray
* polys,
47
vtkPointData
*inPd,
48
vtkCellData
*inCd,
49
vtkPointData
* outPd,
50
vtkCellData
*outCd,
51
int
estimatedSize,
52
bool
outputTriangles);
53
~
vtkContourHelper
();
54
void
Contour
(
vtkCell
* cell,
double
value
,
vtkDataArray
*cellScalars,
vtkIdType
cellId);
55
56
private
:
57
vtkContourHelper
(
const
vtkContourHelper
&) VTK_DELETE_FUNCTION;
58
vtkContourHelper
& operator=(
const
vtkContourHelper
&) VTK_DELETE_FUNCTION;
59
60
vtkIncrementalPointLocator
* Locator;
61
vtkCellArray
* Verts;
62
vtkCellArray
* Lines;
63
vtkCellArray
* Polys;
64
vtkPointData
* InPd;
65
vtkCellData
* InCd;
66
vtkPointData
* OutPd;
67
vtkCellData
* OutCd;
68
vtkSmartPointer<vtkCellData>
TriOutCd;
69
70
vtkCellArray
* Tris;
71
vtkPolygonBuilder
PolyBuilder;
72
vtkIdListCollection
* PolyCollection;
73
bool
GenerateTriangles;
74
};
75
76
#endif
77
// VTK-HeaderTest-Exclude: vtkContourHelper.h
vtkPointData
represent and manipulate point attribute data
Definition:
vtkPointData.h:37
vtkX3D::value
Definition:
vtkX3D.h:220
vtkIdType
int vtkIdType
Definition:
vtkType.h:287
vtkSmartPointer< vtkCellData >
vtkDataArray
abstract superclass for arrays of numeric data
Definition:
vtkDataArray.h:54
vtkCell
abstract class to specify cell behavior
Definition:
vtkCell.h:59
vtkPolygonBuilder.h
vtkCellData
represent and manipulate cell attribute data
Definition:
vtkCellData.h:38
vtkCellArray
object to represent cell connectivity
Definition:
vtkCellArray.h:50
vtkSmartPointer.h
vtkIncrementalPointLocator
Abstract class in support of both point location and point insertion.
Definition:
vtkIncrementalPointLocator.h:51
vtkIdListCollection
maintain an unordered list of dataarray objects
Definition:
vtkIdListCollection.h:34
vtkContourHelper
A utility class used by various contour filters.
Definition:
vtkContourHelper.h:40
vtkDax::Contour
int Contour(vtkDataSet *input, vtkPolyData *output, vtkDataArray *field, float isoValue, bool computeScalars)
Definition:
vtkDaxContourImpl.h:125
vtkPolygonBuilder
Definition:
vtkPolygonBuilder.h:42
Generated by
1.8.16