Interpolates supplied nodes with bezier line segments.
More...
#include <vtkBezierContourLineInterpolator.h>
Interpolates supplied nodes with bezier line segments.
The line interpolator interpolates supplied nodes (see InterpolateLine) with bezier line segments. The finess of the curve may be controlled using SetMaximumCurveError and SetMaximumNumberOfLineSegments.
- See Also
- vtkContourLineInterpolator
Definition at line 32 of file vtkBezierContourLineInterpolator.h.
vtkBezierContourLineInterpolator::vtkBezierContourLineInterpolator |
( |
| ) |
|
|
protected |
vtkBezierContourLineInterpolator::~vtkBezierContourLineInterpolator |
( |
| ) |
|
|
protected |
static int vtkBezierContourLineInterpolator::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
Standard methods for instances of this class.
virtual int vtkBezierContourLineInterpolator::IsA |
( |
const char * |
type | ) |
|
|
virtual |
Standard methods for instances of this class.
virtual vtkObjectBase* vtkBezierContourLineInterpolator::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
Standard methods for instances of this class.
void vtkBezierContourLineInterpolator::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
Standard methods for instances of this class.
virtual int vtkBezierContourLineInterpolator::InterpolateLine |
( |
vtkRenderer * |
ren, |
|
|
vtkContourRepresentation * |
rep, |
|
|
int |
idx1, |
|
|
int |
idx2 |
|
) |
| |
|
virtual |
virtual void vtkBezierContourLineInterpolator::SetMaximumCurveError |
( |
double |
| ) |
|
|
virtual |
The difference between a line segment connecting two points and the curve connecting the same points. In the limit of the length of the curve dx -> 0, the two values will be the same. The smaller this number, the finer the bezier curve will be interpolated. Default is 0.005
virtual double vtkBezierContourLineInterpolator::GetMaximumCurveError |
( |
| ) |
|
|
virtual |
The difference between a line segment connecting two points and the curve connecting the same points. In the limit of the length of the curve dx -> 0, the two values will be the same. The smaller this number, the finer the bezier curve will be interpolated. Default is 0.005
virtual void vtkBezierContourLineInterpolator::SetMaximumCurveLineSegments |
( |
int |
| ) |
|
|
virtual |
Maximum number of bezier line segments between two nodes. Larger values create a finer interpolation. Default is 100.
virtual int vtkBezierContourLineInterpolator::GetMaximumCurveLineSegments |
( |
| ) |
|
|
virtual |
Maximum number of bezier line segments between two nodes. Larger values create a finer interpolation. Default is 100.
virtual void vtkBezierContourLineInterpolator::GetSpan |
( |
int |
nodeIndex, |
|
|
vtkIntArray * |
nodeIndices, |
|
|
vtkContourRepresentation * |
rep |
|
) |
| |
|
virtual |
Span of the interpolator. ie. the number of control points its supposed to interpolate given a node. The first argument is the current nodeIndex. ie, you'd be trying to interpolate between nodes "nodeIndex" and "nodeIndex-1", unless you're closing the contour in which case, you're trying to interpolate "nodeIndex" and "Node=0". The node span is returned in a vtkIntArray. The node span is returned in a vtkIntArray. The node span returned by this interpolator will be a 2-tuple with a span of 4.
Reimplemented from vtkContourLineInterpolator.
void vtkBezierContourLineInterpolator::ComputeMidpoint |
( |
double |
p1[3], |
|
|
double |
p2[3], |
|
|
double |
mid[3] |
|
) |
| |
|
inlineprotected |
double vtkBezierContourLineInterpolator::MaximumCurveError |
|
protected |
int vtkBezierContourLineInterpolator::MaximumCurveLineSegments |
|
protected |
The documentation for this class was generated from the following file: