VTK  9.2.6
vtkTextureMapToCylinder.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTextureMapToCylinder.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 vtkTextureMapToCylinder_h
50 #define vtkTextureMapToCylinder_h
51 
52 #include "vtkDataSetAlgorithm.h"
53 #include "vtkFiltersTextureModule.h" // For export macro
54 
55 class VTKFILTERSTEXTURE_EXPORT vtkTextureMapToCylinder : public vtkDataSetAlgorithm
56 {
57 public:
59  void PrintSelf(ostream& os, vtkIndent indent) override;
60 
66  static vtkTextureMapToCylinder* New();
67 
69 
72  vtkSetVector3Macro(Point1, double);
73  vtkGetVectorMacro(Point1, double, 3);
75 
77 
80  vtkSetVector3Macro(Point2, double);
81  vtkGetVectorMacro(Point2, double, 3);
83 
85 
89  vtkSetMacro(AutomaticCylinderGeneration, vtkTypeBool);
90  vtkGetMacro(AutomaticCylinderGeneration, vtkTypeBool);
91  vtkBooleanMacro(AutomaticCylinderGeneration, vtkTypeBool);
93 
95 
101  vtkSetMacro(PreventSeam, vtkTypeBool);
102  vtkGetMacro(PreventSeam, vtkTypeBool);
103  vtkBooleanMacro(PreventSeam, vtkTypeBool);
105 
106 protected:
108  ~vtkTextureMapToCylinder() override = default;
109 
111 
112  double Point1[3];
113  double Point2[3];
116 
117 private:
119  void operator=(const vtkTextureMapToCylinder&) = delete;
120 };
121 
122 #endif
Store vtkAlgorithm input/output information.
int vtkTypeBool
Definition: vtkABI.h:69
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition: vtkIndent.h:39
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
Store zero or more vtkInformation instances.
Superclass for algorithms that produce output of the same type as input.
static vtkDataSetAlgorithm * New()
generate texture coordinates by mapping points to cylinder