VTK  9.3.1
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 
27 VTK_ABI_NAMESPACE_BEGIN
29 class vtkCellArray;
30 class vtkPointData;
31 class vtkCellData;
32 class vtkCell;
33 class vtkDataArray;
34 
35 class VTKFILTERSCORE_EXPORT vtkContourHelper
36 {
37 public:
39  vtkCellArray* outLines, vtkCellArray* outPolys, vtkPointData* inPd, vtkCellData* inCd,
40  vtkPointData* outPd, vtkCellData* outCd, int trisEstimatedSize, bool outputTriangles);
41  ~vtkContourHelper() = default;
42 
43  void Contour(vtkCell* cell, double value, vtkDataArray* cellScalars, vtkIdType cellId);
44 
45 private:
46  vtkContourHelper(const vtkContourHelper&) = delete;
47  vtkContourHelper& operator=(const vtkContourHelper&) = delete;
48 
49  // Filled upon construction
58  int TrisEstimatedSize = 0;
59  bool OutputTriangles = false;
60 };
61 
62 VTK_ABI_NAMESPACE_END
63 #endif
64 // VTK-HeaderTest-Exclude: vtkContourHelper.h
represent and manipulate point attribute data
Definition: vtkPointData.h:29
represent and manipulate cell attribute data
Definition: vtkCellData.h:30
Abstract class in support of both point location and point insertion.
int vtkIdType
Definition: vtkType.h:315
abstract class to specify cell behavior
Definition: vtkCell.h:49
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:44
object to represent cell connectivity
Definition: vtkCellArray.h:175
A utility class used by various contour filters.