VTK  9.4.20250129
vtkContourHelper.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
21#ifndef vtkContourHelper_h
22#define vtkContourHelper_h
23
24#include "vtkFiltersCoreModule.h" // For export macro
25#include "vtkWeakPointer.h" // For vtkWeakPointer
26
27VTK_ABI_NAMESPACE_BEGIN
29class vtkCellArray;
30class vtkPointData;
31class vtkCellData;
32class vtkCell;
33class vtkDataArray;
34
35class VTKFILTERSCORE_EXPORT vtkContourHelper
36{
37public:
55 vtkCellArray* outLines, vtkCellArray* outPolys, vtkPointData* inPd, vtkCellData* inCd,
56 vtkPointData* outPd, vtkCellData* outCd, int trisEstimatedSize, bool outputTriangles);
57 ~vtkContourHelper() = default;
58
73 void Contour(vtkCell* cell, double value, vtkDataArray* cellScalars, vtkIdType cellId);
74
75private:
76 vtkContourHelper(const vtkContourHelper&) = delete;
77 vtkContourHelper& operator=(const vtkContourHelper&) = delete;
78
79 // Filled upon construction
88 int TrisEstimatedSize = 0;
89 bool OutputTriangles = false;
90};
91
92VTK_ABI_NAMESPACE_END
93#endif
94// VTK-HeaderTest-Exclude: vtkContourHelper.h
object to represent cell connectivity
represent and manipulate cell attribute data
abstract class to specify cell behavior
Definition vtkCell.h:130
A utility class used by various contour filters.
vtkContourHelper(vtkIncrementalPointLocator *locator, vtkCellArray *outVerts, vtkCellArray *outLines, vtkCellArray *outPolys, vtkPointData *inPd, vtkCellData *inCd, vtkPointData *outPd, vtkCellData *outCd, int trisEstimatedSize, bool outputTriangles)
Contour helper constructor.
void Contour(vtkCell *cell, double value, vtkDataArray *cellScalars, vtkIdType cellId)
Generate contour for the given cell (and add it to the final result).
~vtkContourHelper()=default
abstract superclass for arrays of numeric data
Abstract class in support of both point location and point insertion.
represent and manipulate point attribute data
a weak reference to a vtkObject.
int vtkIdType
Definition vtkType.h:315