49#ifndef vtkTubeFilter_h 
   50#define vtkTubeFilter_h 
   52#include "vtkFiltersCoreModule.h"  
   55#define VTK_VARY_RADIUS_OFF 0 
   56#define VTK_VARY_RADIUS_BY_SCALAR 1 
   57#define VTK_VARY_RADIUS_BY_VECTOR 2 
   58#define VTK_VARY_RADIUS_BY_ABSOLUTE_SCALAR 3 
   59#define VTK_VARY_RADIUS_BY_VECTOR_NORM 4 
   61#define VTK_TCOORDS_OFF 0 
   62#define VTK_TCOORDS_FROM_NORMALIZED_LENGTH 1 
   63#define VTK_TCOORDS_FROM_LENGTH 2 
   64#define VTK_TCOORDS_FROM_SCALARS 3 
   66VTK_ABI_NAMESPACE_BEGIN
 
   91  vtkGetMacro(Radius, 
double);
 
   99  vtkGetMacro(VaryRadius, 
int);
 
  119  vtkGetMacro(NumberOfSides, 
int);
 
  126  vtkSetMacro(RadiusFactor, 
double);
 
  127  vtkGetMacro(RadiusFactor, 
double);
 
  135  vtkSetVector3Macro(DefaultNormal, 
double);
 
  136  vtkGetVectorMacro(DefaultNormal, 
double, 3);
 
  176  vtkGetMacro(OnRatio, 
int);
 
  186  vtkGetMacro(Offset, 
int);
 
  197  vtkGetMacro(GenerateTCoords, 
int);
 
  216  vtkGetMacro(TextureLength, 
double);
 
  225  vtkSetMacro(OutputPointsPrecision, 
int);
 
  226  vtkGetMacro(OutputPointsPrecision, 
int);
 
  240  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.
 
filter that generates tubes around lines
 
void SetGenerateTCoordsToNormalizedLength()
Control whether and how texture coordinates are produced.
 
void SetGenerateTCoordsToOff()
Control whether and how texture coordinates are produced.
 
void SetVaryRadiusToVaryRadiusByVectorNorm()
Turn on/off the variation of tube radius with scalar value.
 
void SetGenerateTCoordsToUseScalars()
Control whether and how texture coordinates are produced.
 
vtkTypeBool UseDefaultNormal
 
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
 
int OutputPointsPrecision
 
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 *inVectors, double maxSpeed, vtkDataArray *inNormals)
 
void SetVaryRadiusToVaryRadiusByVector()
Turn on/off the variation of tube radius with scalar value.
 
vtkTypeBool SidesShareVertices
 
vtkIdType ComputeOffset(vtkIdType offset, vtkIdType npts)
 
void SetGenerateTCoordsToUseLength()
Control whether and how texture coordinates are produced.
 
void SetVaryRadiusToVaryRadiusByScalar()
Turn on/off the variation of tube radius with scalar value.
 
static vtkTubeFilter * New()
Construct object with radius 0.5, radius variation turned off, the number of sides set to 3,...
 
~vtkTubeFilter() override=default
 
void SetVaryRadiusToVaryRadiusByAbsoluteScalar()
Turn on/off the variation of tube radius with scalar value.
 
void SetVaryRadiusToVaryRadiusOff()
Turn on/off the variation of tube radius with scalar value.
 
void GenerateStrips(vtkIdType offset, vtkIdType npts, const vtkIdType *pts, vtkIdType inCellId, vtkCellData *cd, vtkCellData *outCD, vtkCellArray *newStrips)
 
void GenerateTextureCoords(vtkIdType offset, vtkIdType npts, const vtkIdType *pts, vtkPoints *inPts, vtkDataArray *inScalars, vtkFloatArray *newTCoords)
 
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
 
const char * GetGenerateTCoordsAsString()
Control whether and how texture coordinates are produced.
 
const char * GetVaryRadiusAsString()
Turn on/off the variation of tube radius with scalar value.
 
#define VTK_TCOORDS_FROM_SCALARS
 
#define VTK_VARY_RADIUS_BY_SCALAR
 
#define VTK_TCOORDS_FROM_LENGTH
 
#define VTK_VARY_RADIUS_BY_VECTOR_NORM
 
#define VTK_TCOORDS_FROM_NORMALIZED_LENGTH
 
#define VTK_VARY_RADIUS_OFF
 
#define VTK_VARY_RADIUS_BY_VECTOR
 
#define VTK_VARY_RADIUS_BY_ABSOLUTE_SCALAR