VTK  9.4.20241218
vtkTubeBender.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
37#ifndef vtkTubeBender_h
38#define vtkTubeBender_h
39
40#include "vtkFiltersCoreModule.h" // For export macro
42
43VTK_ABI_NAMESPACE_BEGIN
44class VTKFILTERSCORE_EXPORT vtkTubeBender : public vtkPolyDataAlgorithm
45{
46public:
47 static vtkTubeBender* New();
48 // Generating VTK hierarchical class relationship
50 void PrintSelf(ostream& os, vtkIndent indent) override;
51
53
56 vtkSetClampMacro(Radius, double, 0.0, VTK_DOUBLE_MAX);
57 vtkGetMacro(Radius, double);
59
60protected:
62 ~vtkTubeBender() override;
63
64 double Radius;
65
66public:
67 vtkTubeBender(const vtkTubeBender&) = delete; // Not implemented.
68 void operator=(const vtkTubeBender&) = delete; // Not implemented.
69
70protected:
71 int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
72 vtkInformationVector* outputVector) override;
73};
74
75VTK_ABI_NAMESPACE_END
76#endif // vtkTubeBender_h
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.
Rounds corners on lines for better tubes.
vtkTubeBender(const vtkTubeBender &)=delete
static vtkTubeBender * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
~vtkTubeBender() override
void operator=(const vtkTubeBender &)=delete
#define VTK_DOUBLE_MAX
Definition vtkType.h:154