Go to the documentation of this file.
27 #ifndef vtkBezierContourLineInterpolator_h
28 #define vtkBezierContourLineInterpolator_h
30 #include "vtkInteractionWidgetsModule.h"
53 int idx1,
int idx2 )
override;
63 vtkGetMacro(MaximumCurveError,
double);
71 vtkSetClampMacro(MaximumCurveLineSegments,
int, 1, 1000);
72 vtkGetMacro(MaximumCurveLineSegments,
int);
97 mid[0] = (p1[0] + p2[0])/2;
98 mid[1] = (p1[1] + p2[1])/2;
99 mid[2] = (p1[2] + p2[2])/2;
void ComputeMidpoint(double p1[3], double p2[3], double mid[3])
vtkBezierContourLineInterpolator()
~vtkBezierContourLineInterpolator() override
Defines API for interpolating/modifying nodes from a vtkContourRepresentation.
represent the vtkContourWidget
Interpolates supplied nodes with bezier line segments.
int InterpolateLine(vtkRenderer *ren, vtkContourRepresentation *rep, int idx1, int idx2) override
Subclasses that wish to interpolate a line segment must implement this.
a simple class to control print indentation
dynamic, self-adjusting array of int
int MaximumCurveLineSegments
void GetSpan(int nodeIndex, vtkIntArray *nodeIndices, vtkContourRepresentation *rep) override
Span of the interpolator, i.e.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
abstract specification for renderers
static vtkBezierContourLineInterpolator * New()
Instantiate this class.