66#ifndef vtkRibbonFilter_h 
   67#define vtkRibbonFilter_h 
   69#include "vtkFiltersModelingModule.h"  
   72#define VTK_TCOORDS_OFF 0 
   73#define VTK_TCOORDS_FROM_NORMALIZED_LENGTH 1 
   74#define VTK_TCOORDS_FROM_LENGTH 2 
   75#define VTK_TCOORDS_FROM_SCALARS 3 
   77VTK_ABI_NAMESPACE_BEGIN
 
  103  vtkGetMacro(Width, 
double);
 
  111  vtkSetClampMacro(Angle, 
double, 0, 360);
 
  112  vtkGetMacro(Angle, 
double);
 
  130  vtkSetMacro(WidthFactor, 
double);
 
  131  vtkGetMacro(WidthFactor, 
double);
 
  139  vtkSetVector3Macro(DefaultNormal, 
double);
 
  140  vtkGetVectorMacro(DefaultNormal, 
double, 3);
 
  159  vtkGetMacro(GenerateTCoords, 
int);
 
  178  vtkGetMacro(TextureLength, 
double);
 
  190  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