VTK
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 =========================================================================*/
51 #ifndef vtkTextureMapToCylinder_h
52 #define vtkTextureMapToCylinder_h
53 
54 #include "vtkFiltersTextureModule.h" // For export macro
55 #include "vtkDataSetAlgorithm.h"
56 
58 {
59 public:
61  void PrintSelf(ostream& os, vtkIndent indent);
62 
66  static vtkTextureMapToCylinder *New();
67 
69 
70  vtkSetVector3Macro(Point1,double);
71  vtkGetVectorMacro(Point1,double,3);
73 
75 
76  vtkSetVector3Macro(Point2,double);
77  vtkGetVectorMacro(Point2,double,3);
79 
81 
83  vtkSetMacro(AutomaticCylinderGeneration,int);
84  vtkGetMacro(AutomaticCylinderGeneration,int);
85  vtkBooleanMacro(AutomaticCylinderGeneration,int);
87 
89 
93  vtkSetMacro(PreventSeam,int);
94  vtkGetMacro(PreventSeam,int);
95  vtkBooleanMacro(PreventSeam,int);
97 
98 protected:
101 
103 
104  double Point1[3];
105  double Point2[3];
108 
109 private:
110  vtkTextureMapToCylinder(const vtkTextureMapToCylinder&); // Not implemented.
111  void operator=(const vtkTextureMapToCylinder&); // Not implemented.
112 };
113 
114 #endif
115 
116 
Store vtkAlgorithm input/output information.
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Store zero or more vtkInformation instances.
#define VTKFILTERSTEXTURE_EXPORT
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce output of the same type as input.
static vtkDataSetAlgorithm * New()
generate texture coordinates by mapping points to cylinder