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);
96 vtkGetMacro(VaryWidth,
int);
106 vtkGetMacro(WidthFactor,
double);
114 vtkSetVector3Macro(DefaultNormal,
double);
115 vtkGetVectorMacro(DefaultNormal,
double,3);
124 vtkGetMacro(UseDefaultNormal,
int);
135 vtkGetMacro(GenerateTCoords,
int);
155 vtkGetMacro(TextureLength,
double);
167 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()
void SetGenerateTCoordsToUseScalars()
void SetGenerateTCoordsToNormalizedLength()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
const char * GetGenerateTCoordsAsString()
void GenerateTextureCoords(vtkIdType offset, vtkIdType npts, vtkIdType *pts, vtkPoints *inPts, vtkDataArray *inScalars, vtkFloatArray *newTCoords)
vtkIdType ComputeOffset(vtkIdType offset, vtkIdType npts)
void SetGenerateTCoordsToOff()
static vtkRibbonFilter * New()
Construct ribbon so that width is 0.1, the width does not vary with scalar values,...
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
void GenerateStrip(vtkIdType offset, vtkIdType npts, vtkIdType *pts, vtkIdType inCellId, vtkCellData *cd, vtkCellData *outCD, vtkCellArray *newStrips)
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)
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
#define VTK_TCOORDS_FROM_SCALARS
#define VTK_TCOORDS_FROM_LENGTH
#define VTK_TCOORDS_FROM_NORMALIZED_LENGTH