VTK  9.0.20210518
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
vtkTubeBender::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTubeBender::vtkTubeBender
vtkTubeBender(const vtkTubeBender &)=delete
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:36
vtkTubeBender
Rounds corners on lines for better tubes.
Definition: vtkTubeBender.h:53
vtkPolyDataAlgorithm.h
vtkTubeBender::operator=
void operator=(const vtkTubeBender &)=delete
vtkTubeBender::Radius
double Radius
Definition: vtkTubeBender.h:72
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:34
vtkTubeBender::New
static vtkTubeBender * New()
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:74
vtkTubeBender::vtkTubeBender
vtkTubeBender()
vtkTubeBender::RequestData
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
vtkTubeBender::~vtkTubeBender
~vtkTubeBender() override
VTK_DOUBLE_MAX
#define VTK_DOUBLE_MAX
Definition: vtkType.h:165
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition: vtkPolyDataAlgorithm.h:42