 |
VTK
9.0.1
|
Go to the documentation of this file.
36 #ifndef vtkRibbonFilter_h
37 #define vtkRibbonFilter_h
39 #include "vtkFiltersModelingModule.h"
42 #define VTK_TCOORDS_OFF 0
43 #define VTK_TCOORDS_FROM_NORMALIZED_LENGTH 1
44 #define VTK_TCOORDS_FROM_LENGTH 2
45 #define VTK_TCOORDS_FROM_SCALARS 3
72 vtkGetMacro(Width,
double);
80 vtkSetClampMacro(Angle,
double, 0, 360);
81 vtkGetMacro(Angle,
double);
99 vtkSetMacro(WidthFactor,
double);
100 vtkGetMacro(WidthFactor,
double);
108 vtkSetVector3Macro(DefaultNormal,
double);
109 vtkGetVectorMacro(DefaultNormal,
double, 3);
128 vtkGetMacro(GenerateTCoords,
int);
147 vtkGetMacro(TextureLength,
double);
159 double DefaultNormal[3];
represent and manipulate 3D points
void SetGenerateTCoordsToOff()
void GenerateTextureCoords(vtkIdType offset, vtkIdType npts, const vtkIdType *pts, vtkPoints *inPts, vtkDataArray *inScalars, vtkFloatArray *newTCoords)
represent and manipulate point attribute data
~vtkRibbonFilter() override
dynamic, self-adjusting array of float
create oriented ribbons from lines defined in polygonal dataset
vtkIdType ComputeOffset(vtkIdType offset, vtkIdType npts)
abstract superclass for arrays of numeric data
static vtkRibbonFilter * New()
Construct ribbon so that width is 0.1, the width does not vary with scalar values,...
void SetGenerateTCoordsToNormalizedLength()
#define VTK_TCOORDS_FROM_SCALARS
represent and manipulate cell attribute data
a simple class to control print indentation
object to represent cell connectivity
void SetGenerateTCoordsToUseScalars()
void GenerateStrip(vtkIdType offset, vtkIdType npts, const vtkIdType *pts, vtkIdType inCellId, vtkCellData *cd, vtkCellData *outCD, vtkCellArray *newStrips)
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
#define VTK_TCOORDS_FROM_LENGTH
const char * GetGenerateTCoordsAsString()
int GeneratePoints(vtkIdType offset, vtkIdType npts, const vtkIdType *pts, vtkPoints *inPts, vtkPoints *newPts, vtkPointData *pd, vtkPointData *outPD, vtkFloatArray *newNormals, vtkDataArray *inScalars, double range[2], vtkDataArray *inNormals)
#define VTK_TCOORDS_FROM_NORMALIZED_LENGTH
void SetGenerateTCoordsToUseLength()
vtkTypeBool UseDefaultNormal
Superclass for algorithms that produce only polydata as output.