26 #ifndef __vtkBezierContourLineInterpolator_h
27 #define __vtkBezierContourLineInterpolator_h
56 vtkGetMacro(MaximumCurveError,
double);
62 vtkSetClampMacro(MaximumCurveLineSegments,
int, 1, 1000);
63 vtkGetMacro(MaximumCurveLineSegments,
int);
85 mid[0] = (p1[0] + p2[0])/2;
86 mid[1] = (p1[1] + p2[1])/2;
87 mid[2] = (p1[2] + p2[2])/2;
virtual void GetSpan(int nodeIndex, vtkIntArray *nodeIndices, vtkContourRepresentation *rep)
int MaximumCurveLineSegments
abstract specification for renderers
virtual int InterpolateLine(vtkRenderer *ren, vtkContourRepresentation *rep, int idx1, int idx2)=0
represent the vtkContourWidget
dynamic, self-adjusting array of int
Interpolates supplied nodes with bezier line segments.
a simple class to control print indentation
Defines API for interpolating/modifying nodes from a vtkContourRepresentation.
void PrintSelf(ostream &os, vtkIndent indent)
void ComputeMidpoint(double p1[3], double p2[3], double mid[3])