VTK  9.5.20250912
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#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
43
44VTK_ABI_NAMESPACE_BEGIN
45class VTKFILTERSCORE_EXPORT VTK_MARSHALAUTO vtkTubeBender : public vtkPolyDataAlgorithm
46{
47public:
48 static vtkTubeBender* New();
49 // Generating VTK hierarchical class relationship
51 void PrintSelf(ostream& os, vtkIndent indent) override;
52
54
57 vtkSetClampMacro(Radius, double, 0.0, VTK_DOUBLE_MAX);
58 vtkGetMacro(Radius, double);
60
61protected:
63 ~vtkTubeBender() override;
64
65 double Radius;
66
67public:
68 vtkTubeBender(const vtkTubeBender&) = delete; // Not implemented.
69 void operator=(const vtkTubeBender&) = delete; // Not implemented.
70
71protected:
72 int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
73 vtkInformationVector* outputVector) override;
74};
75
76VTK_ABI_NAMESPACE_END
77#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:172
#define VTK_MARSHALAUTO