 |
VTK
9.1.0
|
Go to the documentation of this file.
164 #ifndef vtkTubeFilter_h
165 #define vtkTubeFilter_h
167 #include "vtkFiltersCoreModule.h"
170 #define VTK_VARY_RADIUS_OFF 0
171 #define VTK_VARY_RADIUS_BY_SCALAR 1
172 #define VTK_VARY_RADIUS_BY_VECTOR 2
173 #define VTK_VARY_RADIUS_BY_ABSOLUTE_SCALAR 3
174 #define VTK_VARY_RADIUS_BY_VECTOR_NORM 4
176 #define VTK_TCOORDS_OFF 0
177 #define VTK_TCOORDS_FROM_NORMALIZED_LENGTH 1
178 #define VTK_TCOORDS_FROM_LENGTH 2
179 #define VTK_TCOORDS_FROM_SCALARS 3
205 vtkGetMacro(Radius,
double);
213 vtkGetMacro(VaryRadius,
int);
233 vtkGetMacro(NumberOfSides,
int);
240 vtkSetMacro(RadiusFactor,
double);
241 vtkGetMacro(RadiusFactor,
double);
249 vtkSetVector3Macro(DefaultNormal,
double);
250 vtkGetVectorMacro(DefaultNormal,
double, 3);
290 vtkGetMacro(OnRatio,
int);
300 vtkGetMacro(Offset,
int);
311 vtkGetMacro(GenerateTCoords,
int);
330 vtkGetMacro(TextureLength,
double);
339 vtkSetMacro(OutputPointsPrecision,
int);
340 vtkGetMacro(OutputPointsPrecision,
int);
354 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)
void SetVaryRadiusToVaryRadiusByVectorNorm()
Turn on/off the variation of tube radius with scalar value.
abstract superclass for arrays of numeric data
int OutputPointsPrecision
void SetVaryRadiusToVaryRadiusByVector()
Turn on/off the variation of tube radius with scalar value.
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()
Control whether and how texture coordinates are produced.
void SetVaryRadiusToVaryRadiusOff()
Turn on/off the variation of tube radius with scalar value.
#define VTK_VARY_RADIUS_BY_ABSOLUTE_SCALAR
~vtkTubeFilter() override=default
vtkTypeBool SidesShareVertices
void SetVaryRadiusToVaryRadiusByAbsoluteScalar()
Turn on/off the variation of tube radius with scalar value.
void SetGenerateTCoordsToUseLength()
Control whether and how texture coordinates are produced.
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()
Turn on/off the variation of tube radius with scalar value.
void SetGenerateTCoordsToUseScalars()
Control whether and how texture coordinates are produced.
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 SetGenerateTCoordsToNormalizedLength()
Control whether and how texture coordinates are produced.
#define VTK_VARY_RADIUS_BY_VECTOR
#define VTK_VARY_RADIUS_BY_VECTOR_NORM
#define VTK_TCOORDS_FROM_NORMALIZED_LENGTH
const char * GetVaryRadiusAsString()
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)
vtkTypeBool UseDefaultNormal
void SetGenerateTCoordsToOff()
Control whether and how texture coordinates are produced.
Superclass for algorithms that produce only polydata as output.