15 #ifndef __vtkDataSetEdgeSubdivisionCriterion_h
16 #define __vtkDataSetEdgeSubdivisionCriterion_h
41 #include "vtkFiltersCoreModule.h"
52 virtual void PrintSelf( ostream& os, vtkIndent indent );
54 virtual void SetMesh( vtkDataSet* );
55 vtkDataSet* GetMesh();
57 const vtkDataSet* GetMesh()
const;
60 virtual void SetCellId( vtkIdType cell );
61 vtkIdType GetCellId()
const;
63 vtkIdType& GetCellId();
67 const vtkCell* GetCell()
const;
70 virtual bool EvaluateEdge(
const double* p0,
double* midpt,
const double* p1,
int field_start );
101 double* EvaluateFields(
double* vertex,
double* weights,
int field_start );
107 void EvaluatePointDataField(
double* result,
double* weights,
int field );
108 void EvaluateCellDataField(
double* result,
double* weights,
int field );
114 vtkSetMacro(ChordError2,
double);
115 vtkGetMacro(ChordError2,
double);
123 virtual void SetFieldError2(
int s,
double err );
124 double GetFieldError2(
int s )
const;
130 virtual void ResetFieldError2();
136 vtkGetMacro(ActiveFieldCriteria,
int);
173 #endif // __vtkDataSetEdgeSubdivisionCriterion_h
a subclass of vtkEdgeSubdivisionCriterion for vtkDataSet objects.
int GetActiveFieldCriteria() const
virtual void PrintSelf(ostream &os, vtkIndent indent)
virtual bool EvaluateEdge(const double *p0, double *p1, const double *p2, int field_start)=0
how to decide whether a linear approximation to nonlinear geometry or field should be subdivided ...
vtkCell * CurrentCellData
vtkIdType GetCellId() const