Go to the documentation of this file.
40 #ifndef vtkSplineFilter_h
41 #define vtkSplineFilter_h
43 #include "vtkFiltersGeneralModule.h"
46 #define VTK_SUBDIVIDE_SPECIFIED 0
47 #define VTK_SUBDIVIDE_LENGTH 1
49 #define VTK_TCOORDS_OFF 0
50 #define VTK_TCOORDS_FROM_NORMALIZED_LENGTH 1
51 #define VTK_TCOORDS_FROM_LENGTH 2
52 #define VTK_TCOORDS_FROM_SCALARS 3
78 vtkSetClampMacro(MaximumNumberOfSubdivisions,
int,1,
VTK_INT_MAX);
79 vtkGetMacro(MaximumNumberOfSubdivisions,
int);
87 vtkGetMacro(Subdivide,
int);
102 vtkGetMacro(NumberOfSubdivisions,
int);
112 vtkGetMacro(Length,
double);
133 vtkGetMacro(GenerateTCoords,
int);
153 vtkGetMacro(TextureLength,
double);
represent and manipulate 3D points
void GenerateLine(vtkIdType offset, vtkIdType numGenPts, vtkIdType inCellId, vtkCellData *cd, vtkCellData *outCD, vtkCellArray *newLines)
#define VTK_SUBDIVIDE_SPECIFIED
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void SetSubdivideToLength()
#define VTK_TCOORDS_FROM_NORMALIZED_LENGTH
#define VTK_TCOORDS_FROM_LENGTH
int GeneratePoints(vtkIdType offset, vtkIdType npts, vtkIdType *pts, vtkPoints *inPts, vtkPoints *newPts, vtkPointData *pd, vtkPointData *outPD, int genTCoords, vtkFloatArray *newTCoords)
represent and manipulate point attribute data
dynamic, self-adjusting array of float
void SetGenerateTCoordsToUseLength()
generate uniformly subdivided polylines from a set of input polyline using a vtkSpline
const char * GetSubdivideAsString()
vtkFloatArray * TCoordMap
#define VTK_TCOORDS_FROM_SCALARS
int MaximumNumberOfSubdivisions
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkSplineFilter() override
void SetGenerateTCoordsToUseScalars()
represent and manipulate cell attribute data
a simple class to control print indentation
object to represent cell connectivity
spline abstract class for interpolating splines
const char * GetGenerateTCoordsAsString()
#define VTK_SUBDIVIDE_LENGTH
static vtkSplineFilter * New()
Construct the class with no limit on the number of subdivisions and using an instance of vtkCardinalS...
virtual void SetSpline(vtkSpline *)
Specify an instance of vtkSpline to use to perform the interpolation.
void SetGenerateTCoordsToOff()
void SetGenerateTCoordsToNormalizedLength()
Superclass for algorithms that produce only polydata as output.
void SetSubdivideToSpecified()