VTK  9.2.6
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 class VTKFILTERSCORE_EXPORT vtkTubeBender : public vtkPolyDataAlgorithm
56 {
57 public:
58  static vtkTubeBender* New();
59  // Generating VTK hierarchical class relationship
61  void PrintSelf(ostream& os, vtkIndent indent) override;
62 
64 
67  vtkSetClampMacro(Radius, double, 0.0, VTK_DOUBLE_MAX);
68  vtkGetMacro(Radius, double);
70 
71 protected:
72  vtkTubeBender();
73  ~vtkTubeBender() override;
74 
75  double Radius;
76 
77 public:
78  vtkTubeBender(const vtkTubeBender&) = delete; // Not implemented.
79  void operator=(const vtkTubeBender&) = delete; // Not implemented.
80 
81 protected:
82  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
83  vtkInformationVector* outputVector) override;
84 };
85 
86 #endif // vtkTubeBender_h
#define VTK_DOUBLE_MAX
Definition: vtkType.h:165
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:55
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:39
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.