VTK  9.7.1
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 #include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
43 
44 VTK_ABI_NAMESPACE_BEGIN
45 class VTKFILTERSCORE_EXPORT VTK_MARSHALAUTO vtkTubeBender : public vtkPolyDataAlgorithm
46 {
47 public:
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 
61 protected:
62  vtkTubeBender();
63  ~vtkTubeBender() override;
64 
65  double Radius;
66 
67 public:
68  vtkTubeBender(const vtkTubeBender&) = delete; // Not implemented.
69  void operator=(const vtkTubeBender&) = delete; // Not implemented.
70 
71 protected:
72  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
73  vtkInformationVector* outputVector) override;
74 };
75 
76 VTK_ABI_NAMESPACE_END
77 #endif // vtkTubeBender_h
#define VTK_DOUBLE_MAX
Definition: vtkType.h:202
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
Rounds corners on lines for better tubes.
Definition: vtkTubeBender.h:45
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:28
Store zero or more vtkInformation instances.
#define VTK_MARSHALAUTO
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.