Go to the documentation of this file.
42 #ifndef vtkRibbonFilter_h
43 #define vtkRibbonFilter_h
45 #include "vtkFiltersModelingModule.h"
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
78 vtkGetMacro(Width,
double);
86 vtkSetClampMacro(Angle,
double,0,360);
87 vtkGetMacro(Angle,
double);
105 vtkSetMacro(WidthFactor,
double);
106 vtkGetMacro(WidthFactor,
double);
114 vtkSetVector3Macro(DefaultNormal,
double);
115 vtkGetVectorMacro(DefaultNormal,
double,3);
135 vtkGetMacro(GenerateTCoords,
int);
155 vtkGetMacro(TextureLength,
double);
167 double DefaultNormal[3];
represent and manipulate 3D points
void GenerateStrip(vtkIdType offset, vtkIdType npts, vtkIdType *pts, vtkIdType inCellId, vtkCellData *cd, vtkCellData *outCD, vtkCellArray *newStrips)
void SetGenerateTCoordsToOff()
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
void GenerateTextureCoords(vtkIdType offset, vtkIdType npts, vtkIdType *pts, vtkPoints *inPts, vtkDataArray *inScalars, vtkFloatArray *newTCoords)
represent and manipulate cell attribute data
a simple class to control print indentation
object to represent cell connectivity
void SetGenerateTCoordsToUseScalars()
int GeneratePoints(vtkIdType offset, vtkIdType npts, vtkIdType *pts, vtkPoints *inPts, vtkPoints *newPts, vtkPointData *pd, vtkPointData *outPD, vtkFloatArray *newNormals, vtkDataArray *inScalars, double range[2], vtkDataArray *inNormals)
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()
#define VTK_TCOORDS_FROM_NORMALIZED_LENGTH
void SetGenerateTCoordsToUseLength()
vtkTypeBool UseDefaultNormal
Superclass for algorithms that produce only polydata as output.