27#ifndef vtkBezierContourLineInterpolator_h
28#define vtkBezierContourLineInterpolator_h
31#include "vtkInteractionWidgetsModule.h"
60 vtkGetMacro(MaximumCurveError,
double);
68 vtkSetClampMacro(MaximumCurveLineSegments,
int, 1, 1000);
69 vtkGetMacro(MaximumCurveLineSegments,
int);
93 mid[0] = (p1[0] + p2[0]) / 2;
94 mid[1] = (p1[1] + p2[1]) / 2;
95 mid[2] = (p1[2] + p2[2]) / 2;
Interpolates supplied nodes with bezier line segments.
void ComputeMidpoint(double p1[3], double p2[3], double mid[3])
void GetSpan(int nodeIndex, vtkIntArray *nodeIndices, vtkContourRepresentation *rep) override
Span of the interpolator, i.e.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instances of this class.
~vtkBezierContourLineInterpolator() override
static vtkBezierContourLineInterpolator * New()
Instantiate this class.
vtkBezierContourLineInterpolator()
int MaximumCurveLineSegments
int InterpolateLine(vtkRenderer *ren, vtkContourRepresentation *rep, int idx1, int idx2) override
Subclasses that wish to interpolate a line segment must implement this.
Defines API for interpolating/modifying nodes from a vtkContourRepresentation.
represent the vtkContourWidget
a simple class to control print indentation
dynamic, self-adjusting array of int
abstract specification for renderers