4 #ifndef vtkDataSetEdgeSubdivisionCriterion_h
5 #define vtkDataSetEdgeSubdivisionCriterion_h
29 #include "vtkFiltersCoreModule.h"
31 VTK_ABI_NAMESPACE_BEGIN
113 vtkSetMacro(ChordError2,
double);
114 vtkGetMacro(ChordError2,
double);
140 vtkGetMacro(ActiveFieldCriteria,
int);
143 #if !VTK_USE_FUTURE_CONST
194 VTK_ABI_NAMESPACE_END
abstract class to specify cell behavior
a subclass of vtkEdgeSubdivisionCriterion for vtkDataSet objects.
virtual void SetMesh(vtkDataSet *)
double * EvaluateFields(double *vertex, double *weights, int field_start)
Evaluate all of the fields that should be output with the given vertex and store them just past the p...
virtual void ResetFieldError2()
Tell the subdivider not to use any field values as subdivision criteria.
static vtkDataSetEdgeSubdivisionCriterion * New()
void EvaluateCellDataField(double *result, double *weights, int field)
Evaluate either a cell or nodal field.
virtual void SetFieldError2(int s, double err)
Get/Set the square of the allowable error magnitude for the scalar field s at any edge's midpoint.
vtkCell * CurrentCellData
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void SetCellId(vtkIdType cell)
vtkDataSetEdgeSubdivisionCriterion()
void EvaluatePointDataField(double *result, double *weights, int field)
Evaluate either a cell or nodal field.
bool EvaluateLocationAndFields(double *midpt, int field_start) override
You must implement this member function in a subclass.
vtkIdType GetCellId() const
int GetActiveFieldCriteria() const
Return a bitfield specifying which FieldError2 criteria are positive (i.e., actively used to decide e...
double GetFieldError2(int s) const
Get/Set the square of the allowable error magnitude for the scalar field s at any edge's midpoint.
~vtkDataSetEdgeSubdivisionCriterion() override
abstract class to specify dataset behavior
how to decide whether a linear approximation to nonlinear geometry or field should be subdivided
a simple class to control print indentation