 |
VTK
9.0.1
|
Go to the documentation of this file.
37 #ifndef vtkSplineFilter_h
38 #define vtkSplineFilter_h
40 #include "vtkFiltersGeneralModule.h"
43 #define VTK_SUBDIVIDE_SPECIFIED 0
44 #define VTK_SUBDIVIDE_LENGTH 1
46 #define VTK_TCOORDS_OFF 0
47 #define VTK_TCOORDS_FROM_NORMALIZED_LENGTH 1
48 #define VTK_TCOORDS_FROM_LENGTH 2
49 #define VTK_TCOORDS_FROM_SCALARS 3
75 vtkSetClampMacro(MaximumNumberOfSubdivisions,
int, 1,
VTK_INT_MAX);
76 vtkGetMacro(MaximumNumberOfSubdivisions,
int);
84 vtkGetMacro(Subdivide,
int);
97 vtkGetMacro(NumberOfSubdivisions,
int);
107 vtkGetMacro(Length,
double);
127 vtkGetMacro(GenerateTCoords,
int);
146 vtkGetMacro(TextureLength,
double);
represent and manipulate 3D points
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)
#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
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()