VTK  9.5.20250906
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#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
27
28VTK_ABI_NAMESPACE_BEGIN
30class vtkCellArray;
31class vtkPointData;
32class vtkCellData;
33class vtkCell;
34class vtkDataArray;
35
36class VTKFILTERSCORE_EXPORT VTK_MARSHALAUTO vtkContourHelper
37{
38public:
56 vtkCellArray* outLines, vtkCellArray* outPolys, vtkPointData* inPd, vtkCellData* inCd,
57 vtkPointData* outPd, vtkCellData* outCd, int trisEstimatedSize, bool outputTriangles);
58 ~vtkContourHelper() = default;
59
74 void Contour(vtkCell* cell, double value, vtkDataArray* cellScalars, vtkIdType cellId);
75
76private:
77 vtkContourHelper(const vtkContourHelper&) = delete;
78 vtkContourHelper& operator=(const vtkContourHelper&) = delete;
79
80 // Filled upon construction
89 int TrisEstimatedSize = 0;
90 bool OutputTriangles = false;
91};
92
93VTK_ABI_NAMESPACE_END
94#endif
95// 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:129
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:332
#define VTK_MARSHALAUTO