 |
VTK
9.0.1
|
Go to the documentation of this file.
54 #ifndef vtkTubeFilter_h
55 #define vtkTubeFilter_h
57 #include "vtkFiltersCoreModule.h"
60 #define VTK_VARY_RADIUS_OFF 0
61 #define VTK_VARY_RADIUS_BY_SCALAR 1
62 #define VTK_VARY_RADIUS_BY_VECTOR 2
63 #define VTK_VARY_RADIUS_BY_ABSOLUTE_SCALAR 3
65 #define VTK_TCOORDS_OFF 0
66 #define VTK_TCOORDS_FROM_NORMALIZED_LENGTH 1
67 #define VTK_TCOORDS_FROM_LENGTH 2
68 #define VTK_TCOORDS_FROM_SCALARS 3
94 vtkGetMacro(Radius,
double);
102 vtkGetMacro(VaryRadius,
int);
118 vtkGetMacro(NumberOfSides,
int);
125 vtkSetMacro(RadiusFactor,
double);
126 vtkGetMacro(RadiusFactor,
double);
134 vtkSetVector3Macro(DefaultNormal,
double);
135 vtkGetVectorMacro(DefaultNormal,
double, 3);
175 vtkGetMacro(OnRatio,
int);
185 vtkGetMacro(Offset,
int);
196 vtkGetMacro(GenerateTCoords,
int);
215 vtkGetMacro(TextureLength,
double);
224 vtkSetMacro(OutputPointsPrecision,
int);
225 vtkGetMacro(OutputPointsPrecision,
int);
239 double DefaultNormal[3];
represent and manipulate 3D points
#define VTK_VARY_RADIUS_BY_SCALAR
#define VTK_VARY_RADIUS_OFF
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 GenerateTextureCoords(vtkIdType offset, vtkIdType npts, const vtkIdType *pts, vtkPoints *inPts, vtkDataArray *inScalars, vtkFloatArray *newTCoords)
abstract superclass for arrays of numeric data
int OutputPointsPrecision
~vtkTubeFilter() override
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 maxNorm, vtkDataArray *inNormals)
void SetVaryRadiusToVaryRadiusByVector()
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
vtkTypeBool SidesShareVertices
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()
void SetGenerateTCoordsToNormalizedLength()
#define VTK_VARY_RADIUS_BY_VECTOR
#define VTK_TCOORDS_FROM_NORMALIZED_LENGTH
const char * GetVaryRadiusAsString()
void GenerateStrips(vtkIdType offset, vtkIdType npts, const vtkIdType *pts, vtkIdType inCellId, vtkCellData *cd, vtkCellData *outCD, vtkCellArray *newStrips)
vtkTypeBool UseDefaultNormal
void SetGenerateTCoordsToOff()
Superclass for algorithms that produce only polydata as output.