 |
VTK
9.1.0
|
Go to the documentation of this file.
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);
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()
Specify how the number of subdivisions is determined.
#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()
Control whether and how texture coordinates are produced.
generate uniformly subdivided polylines from a set of input polyline using a vtkSpline
const char * GetSubdivideAsString()
Specify how the number of subdivisions is determined.
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()
Control whether and how texture coordinates are produced.
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()
Control whether and how texture coordinates are produced.
#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()
Control whether and how texture coordinates are produced.
void SetGenerateTCoordsToNormalizedLength()
Control whether and how texture coordinates are produced.
Superclass for algorithms that produce only polydata as output.
void SetSubdivideToSpecified()
Specify how the number of subdivisions is determined.