75#ifndef vtkRibbonFilter_h
76#define vtkRibbonFilter_h
78#include "vtkFiltersModelingModule.h"
81#define VTK_TCOORDS_OFF 0
82#define VTK_TCOORDS_FROM_NORMALIZED_LENGTH 1
83#define VTK_TCOORDS_FROM_LENGTH 2
84#define VTK_TCOORDS_FROM_SCALARS 3
111 vtkGetMacro(Width,
double);
119 vtkSetClampMacro(Angle,
double, 0, 360);
120 vtkGetMacro(Angle,
double);
138 vtkSetMacro(WidthFactor,
double);
139 vtkGetMacro(WidthFactor,
double);
147 vtkSetVector3Macro(DefaultNormal,
double);
148 vtkGetVectorMacro(DefaultNormal,
double, 3);
167 vtkGetMacro(GenerateTCoords,
int);
186 vtkGetMacro(TextureLength,
double);
198 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