27#ifndef vtkRibbonFilter_h
28#define vtkRibbonFilter_h
30#include "vtkFiltersModelingModule.h"
33#define VTK_TCOORDS_OFF 0
34#define VTK_TCOORDS_FROM_NORMALIZED_LENGTH 1
35#define VTK_TCOORDS_FROM_LENGTH 2
36#define VTK_TCOORDS_FROM_SCALARS 3
38VTK_ABI_NAMESPACE_BEGIN
64 vtkGetMacro(Width,
double);
72 vtkSetClampMacro(Angle,
double, 0, 360);
73 vtkGetMacro(Angle,
double);
91 vtkSetMacro(WidthFactor,
double);
92 vtkGetMacro(WidthFactor,
double);
100 vtkSetVector3Macro(DefaultNormal,
double);
101 vtkGetVectorMacro(DefaultNormal,
double, 3);
120 vtkGetMacro(GenerateTCoords,
int);
139 vtkGetMacro(TextureLength,
double);
151 double DefaultNormal[3];
object to represent cell connectivity
represent and manipulate cell attribute data
abstract superclass for arrays of numeric data
dynamic, self-adjusting array of float
a simple class to control print indentation
represent and manipulate point attribute data
represent and manipulate 3D points
Superclass for algorithms that produce only polydata as output.
create oriented ribbons from lines defined in polygonal dataset
void SetGenerateTCoordsToUseLength()
Control whether and how texture coordinates are produced.
void SetGenerateTCoordsToUseScalars()
Control whether and how texture coordinates are produced.
void SetGenerateTCoordsToNormalizedLength()
Control whether and how texture coordinates are produced.
vtkIdType ComputeOffset(vtkIdType offset, vtkIdType npts)
vtkTypeBool UseDefaultNormal
void SetGenerateTCoordsToOff()
Control whether and how texture coordinates are produced.
static vtkRibbonFilter * New()
Construct ribbon so that width is 0.1, the width does not vary with scalar values,...
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)
~vtkRibbonFilter() override
void GenerateTextureCoords(vtkIdType offset, vtkIdType npts, const vtkIdType *pts, vtkPoints *inPts, vtkDataArray *inScalars, vtkFloatArray *newTCoords)
const char * GetGenerateTCoordsAsString()
Control whether and how texture coordinates are produced.
void GenerateStrip(vtkIdType offset, vtkIdType npts, const vtkIdType *pts, vtkIdType inCellId, vtkCellData *cd, vtkCellData *outCD, vtkCellArray *newStrips)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
#define VTK_TCOORDS_FROM_SCALARS
#define VTK_TCOORDS_FROM_LENGTH
#define VTK_TCOORDS_FROM_NORMALIZED_LENGTH