79 #ifndef vtkSplineFilter_h
80 #define vtkSplineFilter_h
82 #include "vtkFiltersGeneralModule.h"
85 #define VTK_SUBDIVIDE_SPECIFIED 0
86 #define VTK_SUBDIVIDE_LENGTH 1
88 #define VTK_TCOORDS_OFF 0
89 #define VTK_TCOORDS_FROM_NORMALIZED_LENGTH 1
90 #define VTK_TCOORDS_FROM_LENGTH 2
91 #define VTK_TCOORDS_FROM_SCALARS 3
93 VTK_ABI_NAMESPACE_BEGIN
118 vtkSetClampMacro(MaximumNumberOfSubdivisions,
int, 1,
VTK_INT_MAX);
119 vtkGetMacro(MaximumNumberOfSubdivisions,
int);
127 vtkGetMacro(Subdivide,
int);
140 vtkGetMacro(NumberOfSubdivisions,
int);
150 vtkGetMacro(Length,
double);
170 vtkGetMacro(GenerateTCoords,
int);
189 vtkGetMacro(TextureLength,
double);
226 VTK_ABI_NAMESPACE_END
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
const char * GetSubdivideAsString()
Specify how the number of subdivisions is determined.
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.
virtual void SetSpline(vtkSpline *)
Specify an instance of vtkSpline to use to perform the interpolation.
vtkFloatArray * TCoordMap
void SetSubdivideToSpecified()
Specify how the number of subdivisions is determined.
void SetGenerateTCoordsToUseLength()
Control whether and how texture coordinates are produced.
static vtkSplineFilter * New()
Construct the class with no limit on the number of subdivisions and using an instance of vtkCardinalS...
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
const char * GetGenerateTCoordsAsString()
Control whether and how texture coordinates are produced.
spline abstract class for interpolating splines
#define VTK_TCOORDS_FROM_SCALARS
#define VTK_TCOORDS_FROM_LENGTH
#define VTK_SUBDIVIDE_LENGTH
#define VTK_TCOORDS_FROM_NORMALIZED_LENGTH
#define VTK_SUBDIVIDE_SPECIFIED