VTK
9.3.0
|
A utility class used by various contour filters. More...
#include <vtkContourHelper.h>
Public Member Functions | |
vtkContourHelper (vtkIncrementalPointLocator *locator, vtkCellArray *outVerts, vtkCellArray *outLines, vtkCellArray *outPolys, vtkPointData *inPd, vtkCellData *inCd, vtkPointData *outPd, vtkCellData *outCd, int trisEstimatedSize, bool outputTriangles) | |
~vtkContourHelper ()=default | |
void | Contour (vtkCell *cell, double value, vtkDataArray *cellScalars, vtkIdType cellId) |
A utility class used by various contour filters.
This is a simple utility class that can be used by various contour filters to produce either triangles and/or polygons based on the outputTriangles parameter. If outputTriangles is set to true, trisEstimatedSize is used to allocate memory for temporary triangles created by contouring before merging them. If outputTriangles is set to false, contouring triangles are outputted and trisEstimatedSize is not used.
When working with multidimensional dataset, it is needed to process cells from low to high dimensions.
Definition at line 35 of file vtkContourHelper.h.
vtkContourHelper::vtkContourHelper | ( | vtkIncrementalPointLocator * | locator, |
vtkCellArray * | outVerts, | ||
vtkCellArray * | outLines, | ||
vtkCellArray * | outPolys, | ||
vtkPointData * | inPd, | ||
vtkCellData * | inCd, | ||
vtkPointData * | outPd, | ||
vtkCellData * | outCd, | ||
int | trisEstimatedSize, | ||
bool | outputTriangles | ||
) |
|
default |
void vtkContourHelper::Contour | ( | vtkCell * | cell, |
double | value, | ||
vtkDataArray * | cellScalars, | ||
vtkIdType | cellId | ||
) |