39 #ifndef vtkRibbonFilter_h
40 #define vtkRibbonFilter_h
42 #include "vtkFiltersModelingModule.h"
45 #define VTK_TCOORDS_OFF 0
46 #define VTK_TCOORDS_FROM_NORMALIZED_LENGTH 1
47 #define VTK_TCOORDS_FROM_LENGTH 2
48 #define VTK_TCOORDS_FROM_SCALARS 3
75 vtkGetMacro(Width,
double);
83 vtkSetClampMacro(Angle,
double, 0, 360);
84 vtkGetMacro(Angle,
double);
102 vtkSetMacro(WidthFactor,
double);
103 vtkGetMacro(WidthFactor,
double);
111 vtkSetVector3Macro(DefaultNormal,
double);
112 vtkGetVectorMacro(DefaultNormal,
double, 3);
131 vtkGetMacro(GenerateTCoords,
int);
139 const char* GetGenerateTCoordsAsString();
149 vtkSetClampMacro(TextureLength,
double, 0.000001,
VTK_INT_MAX);
150 vtkGetMacro(TextureLength,
double);
162 double DefaultNormal[3];
void SetGenerateTCoordsToOff()
Control whether and how texture coordinates are produced.
#define VTK_TCOORDS_FROM_NORMALIZED_LENGTH
represent and manipulate point attribute data
vtkTypeBool UseDefaultNormal
create oriented ribbons from lines defined in polygonal dataset
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
represent and manipulate cell attribute data
dynamic, self-adjusting array of float
void SetGenerateTCoordsToUseLength()
Control whether and how texture coordinates are produced.
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
void SetGenerateTCoordsToUseScalars()
Control whether and how texture coordinates are produced.
abstract superclass for arrays of numeric data
object to represent cell connectivity
void SetGenerateTCoordsToNormalizedLength()
Control whether and how texture coordinates are produced.
#define VTK_TCOORDS_FROM_LENGTH
#define VTK_TCOORDS_FROM_SCALARS
represent and manipulate 3D points
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.