VTK  9.0.20210125
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 =========================================================================*/
46 #ifndef vtkTextureMapToCylinder_h
47 #define vtkTextureMapToCylinder_h
48 
49 #include "vtkDataSetAlgorithm.h"
50 #include "vtkFiltersTextureModule.h" // For export macro
51 
52 class VTKFILTERSTEXTURE_EXPORT vtkTextureMapToCylinder : public vtkDataSetAlgorithm
53 {
54 public:
56  void PrintSelf(ostream& os, vtkIndent indent) override;
57 
63  static vtkTextureMapToCylinder* New();
64 
66 
69  vtkSetVector3Macro(Point1, double);
70  vtkGetVectorMacro(Point1, double, 3);
72 
74 
77  vtkSetVector3Macro(Point2, double);
78  vtkGetVectorMacro(Point2, double, 3);
80 
82 
86  vtkSetMacro(AutomaticCylinderGeneration, vtkTypeBool);
87  vtkGetMacro(AutomaticCylinderGeneration, vtkTypeBool);
88  vtkBooleanMacro(AutomaticCylinderGeneration, vtkTypeBool);
90 
92 
98  vtkSetMacro(PreventSeam, vtkTypeBool);
99  vtkGetMacro(PreventSeam, vtkTypeBool);
100  vtkBooleanMacro(PreventSeam, vtkTypeBool);
102 
103 protected:
105  ~vtkTextureMapToCylinder() override = default;
106 
108 
109  double Point1[3];
110  double Point2[3];
113 
114 private:
116  void operator=(const vtkTextureMapToCylinder&) = delete;
117 };
118 
119 #endif
vtkTextureMapToCylinder::AutomaticCylinderGeneration
vtkTypeBool AutomaticCylinderGeneration
Definition: vtkTextureMapToCylinder.h:111
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkDataSetAlgorithm::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
Definition: vtkDataSetAlgorithm.h:176
vtkDataSetAlgorithm
Superclass for algorithms that produce output of the same type as input.
Definition: vtkDataSetAlgorithm.h:48
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkDataSetAlgorithm::New
static vtkDataSetAlgorithm * New()
vtkTextureMapToCylinder
generate texture coordinates by mapping points to cylinder
Definition: vtkTextureMapToCylinder.h:52
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:73
vtkDataSetAlgorithm.h
vtkDataSetAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTypeBool
int vtkTypeBool
Definition: vtkABI.h:69
vtkTextureMapToCylinder::PreventSeam
vtkTypeBool PreventSeam
Definition: vtkTextureMapToCylinder.h:112