VTK  9.3.0
Public Member Functions | List of all members
vtkContourHelper Class Reference

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)
 

Detailed Description

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.

See also
vtkContourGrid vtkCutter vtkContourFilter

Definition at line 35 of file vtkContourHelper.h.

Constructor & Destructor Documentation

◆ vtkContourHelper()

vtkContourHelper::vtkContourHelper ( vtkIncrementalPointLocator locator,
vtkCellArray outVerts,
vtkCellArray outLines,
vtkCellArray outPolys,
vtkPointData inPd,
vtkCellData inCd,
vtkPointData outPd,
vtkCellData outCd,
int  trisEstimatedSize,
bool  outputTriangles 
)

◆ ~vtkContourHelper()

vtkContourHelper::~vtkContourHelper ( )
default

Member Function Documentation

◆ Contour()

void vtkContourHelper::Contour ( vtkCell cell,
double  value,
vtkDataArray cellScalars,
vtkIdType  cellId 
)

The documentation for this class was generated from the following file: