VTK  9.3.20240301
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
41 #include "vtkPolyDataAlgorithm.h"
42 
43 VTK_ABI_NAMESPACE_BEGIN
44 class VTKFILTERSCORE_EXPORT vtkTubeBender : public vtkPolyDataAlgorithm
45 {
46 public:
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 
60 protected:
62  ~vtkTubeBender() override;
63 
64  double Radius;
65 
66 public:
67  vtkTubeBender(const vtkTubeBender&) = delete; // Not implemented.
68  void operator=(const vtkTubeBender&) = delete; // Not implemented.
69 
70 protected:
71  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
72  vtkInformationVector* outputVector) override;
73 };
74 
75 VTK_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.
Definition: vtkTubeBender.h:45
vtkTubeBender(const vtkTubeBender &)=delete
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkTubeBender * New()
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