vtkDataSetEdgeSubdivisionCriterion

Section: Visualization Toolkit Graphics Classes

Usage

This is a subclass of vtkEdgeSubdivisionCriterion that is used for tessellating cells of a vtkDataSet, particularly nonlinear cells.

It provides functions for setting the current cell being tessellated and a convenience routine, \a EvaluateFields() to evaluate field values at a point. You should call \a EvaluateFields() from inside \a EvaluateEdge() whenever the result of \a EvaluateEdge() will be true. Otherwise, do not call \a EvaluateFields() as the midpoint is about to be discarded. (<i>Implementor's note</i>: This isn't true if UGLY_ASPECT_RATIO_HACK has been defined. But in that case, we don't want the exact field values; we need the linearly interpolated ones at the midpoint for continuity.)

To create an instance of class vtkDataSetEdgeSubdivisionCriterion, simply invoke its constructor as follows

  obj = vtkDataSetEdgeSubdivisionCriterion

Methods

The class vtkDataSetEdgeSubdivisionCriterion has several methods that can be used. They are listed below. Note that the documentation is translated automatically from the VTK sources, and may not be completely intelligible. When in doubt, consult the VTK website. In the methods listed below, obj is an instance of the vtkDataSetEdgeSubdivisionCriterion class.