76#ifndef vtkSplineFilter_h
77#define vtkSplineFilter_h
79#include "vtkFiltersGeneralModule.h"
82#define VTK_SUBDIVIDE_SPECIFIED 0
83#define VTK_SUBDIVIDE_LENGTH 1
85#define VTK_TCOORDS_OFF 0
86#define VTK_TCOORDS_FROM_NORMALIZED_LENGTH 1
87#define VTK_TCOORDS_FROM_LENGTH 2
88#define VTK_TCOORDS_FROM_SCALARS 3
114 vtkSetClampMacro(MaximumNumberOfSubdivisions,
int, 1,
VTK_INT_MAX);
115 vtkGetMacro(MaximumNumberOfSubdivisions,
int);
123 vtkGetMacro(Subdivide,
int);
136 vtkGetMacro(NumberOfSubdivisions,
int);
146 vtkGetMacro(Length,
double);
166 vtkGetMacro(GenerateTCoords,
int);
185 vtkGetMacro(TextureLength,
double);
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.
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