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
54
55class VTKFILTERSCORE_EXPORT vtkTubeBender : public vtkPolyDataAlgorithm
56{
57public:
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
71protected:
73 ~vtkTubeBender() override;
74
75 double Radius;
76
77public:
78 vtkTubeBender(const vtkTubeBender&) = delete; // Not implemented.
79 void operator=(const vtkTubeBender&) = delete; // Not implemented.
80
81protected:
82 int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
83 vtkInformationVector* outputVector) override;
84};
85
86#endif // vtkTubeBender_h
a simple class to control print indentation
Definition: vtkIndent.h:40
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:56
vtkTubeBender(const vtkTubeBender &)=delete
static vtkTubeBender * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
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