VTK  9.2.20230322
vtkTubeBender.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTubeBender.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
49 #ifndef vtkTubeBender_h
50 #define vtkTubeBender_h
51 
52 #include "vtkFiltersCoreModule.h" // For export macro
53 #include "vtkPolyDataAlgorithm.h"
54 
55 VTK_ABI_NAMESPACE_BEGIN
56 class VTKFILTERSCORE_EXPORT vtkTubeBender : public vtkPolyDataAlgorithm
57 {
58 public:
59  static vtkTubeBender* New();
60  // Generating VTK hierarchical class relationship
62  void PrintSelf(ostream& os, vtkIndent indent) override;
63 
65 
68  vtkSetClampMacro(Radius, double, 0.0, VTK_DOUBLE_MAX);
69  vtkGetMacro(Radius, double);
71 
72 protected:
74  ~vtkTubeBender() override;
75 
76  double Radius;
77 
78 public:
79  vtkTubeBender(const vtkTubeBender&) = delete; // Not implemented.
80  void operator=(const vtkTubeBender&) = delete; // Not implemented.
81 
82 protected:
83  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
84  vtkInformationVector* outputVector) override;
85 };
86 
87 VTK_ABI_NAMESPACE_END
88 #endif // vtkTubeBender_h
a simple class to control print indentation
Definition: vtkIndent.h:120
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:57
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:166