Go to the documentation of this file.
60 #ifndef vtkTubeFilter_h
61 #define vtkTubeFilter_h
63 #include "vtkFiltersCoreModule.h"
66 #define VTK_VARY_RADIUS_OFF 0
67 #define VTK_VARY_RADIUS_BY_SCALAR 1
68 #define VTK_VARY_RADIUS_BY_VECTOR 2
69 #define VTK_VARY_RADIUS_BY_ABSOLUTE_SCALAR 3
71 #define VTK_TCOORDS_OFF 0
72 #define VTK_TCOORDS_FROM_NORMALIZED_LENGTH 1
73 #define VTK_TCOORDS_FROM_LENGTH 2
74 #define VTK_TCOORDS_FROM_SCALARS 3
100 vtkGetMacro(Radius,
double);
107 vtkSetClampMacro(VaryRadius,
int,
109 vtkGetMacro(VaryRadius,
int);
126 vtkGetMacro(NumberOfSides,
int);
134 vtkGetMacro(RadiusFactor,
double);
142 vtkSetVector3Macro(DefaultNormal,
double);
143 vtkGetVectorMacro(DefaultNormal,
double,3);
152 vtkGetMacro(UseDefaultNormal,
int);
163 vtkGetMacro(SidesShareVertices,
int);
172 vtkGetMacro(Capping,
int);
183 vtkGetMacro(OnRatio,
int);
193 vtkGetMacro(Offset,
int);
205 vtkGetMacro(GenerateTCoords,
int);
225 vtkGetMacro(TextureLength,
double);
235 vtkGetMacro(OutputPointsPrecision,
int);
249 double DefaultNormal[3];
represent and manipulate 3D points
#define VTK_VARY_RADIUS_BY_SCALAR
#define VTK_VARY_RADIUS_OFF
int GeneratePoints(vtkIdType offset, vtkIdType npts, vtkIdType *pts, vtkPoints *inPts, vtkPoints *newPts, vtkPointData *pd, vtkPointData *outPD, vtkFloatArray *newNormals, vtkDataArray *inScalars, double range[2], vtkDataArray *inVectors, double maxNorm, vtkDataArray *inNormals)
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
represent and manipulate point attribute data
dynamic, self-adjusting array of float
#define VTK_TCOORDS_FROM_LENGTH
void GenerateStrips(vtkIdType offset, vtkIdType npts, vtkIdType *pts, vtkIdType inCellId, vtkCellData *cd, vtkCellData *outCD, vtkCellArray *newStrips)
abstract superclass for arrays of numeric data
int OutputPointsPrecision
~vtkTubeFilter() override
void SetVaryRadiusToVaryRadiusByVector()
void GenerateTextureCoords(vtkIdType offset, vtkIdType npts, vtkIdType *pts, vtkPoints *inPts, vtkDataArray *inScalars, vtkFloatArray *newTCoords)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkIdType ComputeOffset(vtkIdType offset, vtkIdType npts)
filter that generates tubes around lines
const char * GetGenerateTCoordsAsString()
void SetVaryRadiusToVaryRadiusOff()
#define VTK_VARY_RADIUS_BY_ABSOLUTE_SCALAR
void SetVaryRadiusToVaryRadiusByAbsoluteScalar()
void SetGenerateTCoordsToUseLength()
represent and manipulate cell attribute data
a simple class to control print indentation
object to represent cell connectivity
static vtkTubeFilter * New()
Construct object with radius 0.5, radius variation turned off, the number of sides set to 3,...
#define VTK_TCOORDS_FROM_SCALARS
void SetVaryRadiusToVaryRadiusByScalar()
void SetGenerateTCoordsToUseScalars()
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
void SetGenerateTCoordsToNormalizedLength()
#define VTK_VARY_RADIUS_BY_VECTOR
#define VTK_TCOORDS_FROM_NORMALIZED_LENGTH
const char * GetVaryRadiusAsString()
void SetGenerateTCoordsToOff()
Superclass for algorithms that produce only polydata as output.