VTK  9.3.20240327
vtkTextureMapToCylinder.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
37 #ifndef vtkTextureMapToCylinder_h
38 #define vtkTextureMapToCylinder_h
39 
40 #include "vtkDataSetAlgorithm.h"
41 #include "vtkFiltersTextureModule.h" // For export macro
42 
43 VTK_ABI_NAMESPACE_BEGIN
44 class VTKFILTERSTEXTURE_EXPORT vtkTextureMapToCylinder : public vtkDataSetAlgorithm
45 {
46 public:
48  void PrintSelf(ostream& os, vtkIndent indent) override;
49 
56 
58 
61  vtkSetVector3Macro(Point1, double);
62  vtkGetVectorMacro(Point1, double, 3);
64 
66 
69  vtkSetVector3Macro(Point2, double);
70  vtkGetVectorMacro(Point2, double, 3);
72 
74 
78  vtkSetMacro(AutomaticCylinderGeneration, vtkTypeBool);
79  vtkGetMacro(AutomaticCylinderGeneration, vtkTypeBool);
80  vtkBooleanMacro(AutomaticCylinderGeneration, vtkTypeBool);
82 
84 
90  vtkSetMacro(PreventSeam, vtkTypeBool);
91  vtkGetMacro(PreventSeam, vtkTypeBool);
92  vtkBooleanMacro(PreventSeam, vtkTypeBool);
94 
95 protected:
97  ~vtkTextureMapToCylinder() override = default;
98 
100 
101  double Point1[3];
102  double Point2[3];
105 
106 private:
108  void operator=(const vtkTextureMapToCylinder&) = delete;
109 };
110 
111 VTK_ABI_NAMESPACE_END
112 #endif
Superclass for algorithms that produce output of the same type as input.
a simple class to control print indentation
Definition: vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
generate texture coordinates by mapping points to cylinder
~vtkTextureMapToCylinder() override=default
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkTextureMapToCylinder * New()
Create object with cylinder axis parallel to z-axis (points (0,0,-0.5) and (0,0,0....
int vtkTypeBool
Definition: vtkABI.h:64