67#ifndef vtkSplineFilter_h
68#define vtkSplineFilter_h
70#include "vtkFiltersGeneralModule.h"
73#define VTK_SUBDIVIDE_SPECIFIED 0
74#define VTK_SUBDIVIDE_LENGTH 1
76#define VTK_TCOORDS_OFF 0
77#define VTK_TCOORDS_FROM_NORMALIZED_LENGTH 1
78#define VTK_TCOORDS_FROM_LENGTH 2
79#define VTK_TCOORDS_FROM_SCALARS 3
81VTK_ABI_NAMESPACE_BEGIN
106 vtkSetClampMacro(MaximumNumberOfSubdivisions,
int, 1,
VTK_INT_MAX);
107 vtkGetMacro(MaximumNumberOfSubdivisions,
int);
115 vtkGetMacro(Subdivide,
int);
128 vtkGetMacro(NumberOfSubdivisions,
int);
138 vtkGetMacro(Length,
double);
158 vtkGetMacro(GenerateTCoords,
int);
177 vtkGetMacro(TextureLength,
double);
187 vtkSetMacro(OutputPointsPrecision,
int);
188 vtkGetMacro(OutputPointsPrecision,
int);
object to represent cell connectivity
represent and manipulate cell attribute data
dynamic, self-adjusting array of float
a simple class to control print indentation
represent and manipulate point attribute data
represent and manipulate 3D points
Superclass for algorithms that produce only polydata as output.
generate uniformly subdivided polylines from a set of input polyline using a vtkSpline
void SetGenerateTCoordsToNormalizedLength()
Control whether and how texture coordinates are produced.
void SetGenerateTCoordsToOff()
Control whether and how texture coordinates are produced.
void SetGenerateTCoordsToUseScalars()
Control whether and how texture coordinates are produced.
int MaximumNumberOfSubdivisions
static vtkSplineFilter * New()
Construct the class with no limit on the number of subdivisions and using an instance of vtkCardinalS...
void SetSubdivideToLength()
Specify how the number of subdivisions is determined.
~vtkSplineFilter() override
int GeneratePoints(vtkIdType offset, vtkIdType npts, const vtkIdType *pts, vtkPoints *inPts, vtkPoints *newPts, vtkPointData *pd, vtkPointData *outPD, int genTCoords, vtkFloatArray *newTCoords)
void GenerateLine(vtkIdType offset, vtkIdType numGenPts, vtkIdType inCellId, vtkCellData *cd, vtkCellData *outCD, vtkCellArray *newLines)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int OutputPointsPrecision
virtual void SetSpline(vtkSpline *)
Specify an instance of vtkSpline to use to perform the interpolation.
vtkFloatArray * TCoordMap
const char * GetSubdivideAsString()
Specify how the number of subdivisions is determined.
const char * GetGenerateTCoordsAsString()
Control whether and how texture coordinates are produced.
void SetSubdivideToSpecified()
Specify how the number of subdivisions is determined.
void SetGenerateTCoordsToUseLength()
Control whether and how texture coordinates are produced.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
spline abstract class for interpolating splines
#define VTK_SUBDIVIDE_LENGTH
#define VTK_SUBDIVIDE_SPECIFIED
#define VTK_TCOORDS_FROM_SCALARS
#define VTK_TCOORDS_FROM_LENGTH
#define VTK_TCOORDS_FROM_NORMALIZED_LENGTH