Go to the documentation of this file.
26 #ifndef vtkBezierContourLineInterpolator_h
27 #define vtkBezierContourLineInterpolator_h
86 mid[0] = (p1[0] + p2[0])/2;
87 mid[1] = (p1[1] + p2[1])/2;
88 mid[2] = (p1[2] + p2[2])/2;
void ComputeMidpoint(double p1[3], double p2[3], double mid[3])
vtkBezierContourLineInterpolator()
Defines API for interpolating/modifying nodes from a vtkContourRepresentation.
represent the vtkContourWidget
#define vtkTypeMacro(thisClass, superclass)
Interpolates supplied nodes with bezier line segments.
~vtkBezierContourLineInterpolator()
virtual void GetSpan(int nodeIndex, vtkIntArray *nodeIndices, vtkContourRepresentation *rep)
#define vtkSetClampMacro(name, type, min, max)
a simple class to control print indentation
dynamic, self-adjusting array of int
void PrintSelf(ostream &os, vtkIndent indent)
#define vtkGetMacro(name, type)
int MaximumCurveLineSegments
virtual int InterpolateLine(vtkRenderer *ren, vtkContourRepresentation *rep, int idx1, int idx2)
abstract specification for renderers
static vtkBezierContourLineInterpolator * New()