39 #ifndef __vtkSplineFilter_h
40 #define __vtkSplineFilter_h
42 #include "vtkFiltersGeneralModule.h"
45 #define VTK_SUBDIVIDE_SPECIFIED 0
46 #define VTK_SUBDIVIDE_LENGTH 1
48 #define VTK_TCOORDS_OFF 0
49 #define VTK_TCOORDS_FROM_NORMALIZED_LENGTH 1
50 #define VTK_TCOORDS_FROM_LENGTH 2
51 #define VTK_TCOORDS_FROM_SCALARS 3
64 void PrintSelf(ostream& os, vtkIndent indent);
73 vtkSetClampMacro(MaximumNumberOfSubdivisions,
int,1,VTK_INT_MAX);
74 vtkGetMacro(MaximumNumberOfSubdivisions,
int);
80 vtkGetMacro(Subdivide,
int);
85 const char *GetSubdivideAsString();
92 vtkSetClampMacro(NumberOfSubdivisions,
int,1,VTK_INT_MAX);
93 vtkGetMacro(NumberOfSubdivisions,
int);
100 vtkSetClampMacro(Length,
double,0.0000001,VTK_DOUBLE_MAX);
101 vtkGetMacro(Length,
double);
118 vtkGetMacro(GenerateTCoords,
int);
127 const char *GetGenerateTCoordsAsString();
135 vtkSetClampMacro(TextureLength,
double,0.000001,VTK_INT_MAX);
136 vtkGetMacro(TextureLength,
double);
144 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
158 int GeneratePoints(vtkIdType offset, vtkIdType npts, vtkIdType *pts,
159 vtkPoints *inPts, vtkPoints *newPts, vtkPointData *pd,
160 vtkPointData *outPD,
int genTCoords,
161 vtkFloatArray *newTCoords);
163 void GenerateLine(vtkIdType offset, vtkIdType numGenPts, vtkIdType inCellId,
#define VTK_SUBDIVIDE_SPECIFIED
void SetGenerateTCoordsToOff()
#define VTK_TCOORDS_FROM_LENGTH
generate uniformly subdivided polylines from a set of input polyline using a vtkSpline ...
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
int MaximumNumberOfSubdivisions
represent and manipulate cell attribute data
#define VTK_TCOORDS_FROM_NORMALIZED_LENGTH
void SetSubdivideToLength()
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
void SetSubdivideToSpecified()
Superclass for algorithms that produce only polydata as output.
spline abstract class for interpolating splines
#define VTK_TCOORDS_FROM_SCALARS
object to represent cell connectivity
void SetGenerateTCoordsToNormalizedLength()
vtkFloatArray * TCoordMap
#define VTK_SUBDIVIDE_LENGTH
void SetGenerateTCoordsToUseScalars()
void SetGenerateTCoordsToUseLength()