VTK  9.3.0
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:
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
45private:
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
62VTK_ABI_NAMESPACE_END
63#endif
64// VTK-HeaderTest-Exclude: vtkContourHelper.h
object to represent cell connectivity
represent and manipulate cell attribute data
Definition vtkCellData.h:31
abstract class to specify cell behavior
Definition vtkCell.h:50
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)
void Contour(vtkCell *cell, double value, vtkDataArray *cellScalars, vtkIdType cellId)
~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