VTK  9.1.0
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 =========================================================================*/
46 #ifndef vtkTubeBender_h
47 #define vtkTubeBender_h
48 
49 #include "vtkFiltersCoreModule.h" // For export macro
50 #include "vtkPolyDataAlgorithm.h"
51 
52 class VTKFILTERSCORE_EXPORT vtkTubeBender : public vtkPolyDataAlgorithm
53 {
54 public:
55  static vtkTubeBender* New();
56  // Generating VTK hierarchical class relationship
58  void PrintSelf(ostream& os, vtkIndent indent) override;
59 
61 
64  vtkSetClampMacro(Radius, double, 0.0, VTK_DOUBLE_MAX);
65  vtkGetMacro(Radius, double);
67 
68 protected:
70  ~vtkTubeBender() override;
71 
72  double Radius;
73 
74 public:
75  vtkTubeBender(const vtkTubeBender&) = delete; // Not implemented.
76  void operator=(const vtkTubeBender&) = delete; // Not implemented.
77 
78 protected:
79  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
80  vtkInformationVector* outputVector) override;
81 };
82 
83 #endif // vtkTubeBender_h
a simple class to control print indentation
Definition: vtkIndent.h:34
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:53
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:165