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 "vtkDataSetAlgorithm.h"
55 
57 {
58 public:
60  void PrintSelf(ostream& os, vtkIndent indent);
61 
65  static vtkTextureMapToCylinder *New();
66 
68 
69  vtkSetVector3Macro(Point1,double);
70  vtkGetVectorMacro(Point1,double,3);
72 
74 
75  vtkSetVector3Macro(Point2,double);
76  vtkGetVectorMacro(Point2,double,3);
78 
80 
82  vtkSetMacro(AutomaticCylinderGeneration,int);
83  vtkGetMacro(AutomaticCylinderGeneration,int);
84  vtkBooleanMacro(AutomaticCylinderGeneration,int);
86 
88 
92  vtkSetMacro(PreventSeam,int);
93  vtkGetMacro(PreventSeam,int);
94  vtkBooleanMacro(PreventSeam,int);
96 
97 protected:
100 
102 
103  double Point1[3];
104  double Point2[3];
107 
108 private:
109  vtkTextureMapToCylinder(const vtkTextureMapToCylinder&); // Not implemented.
110  void operator=(const vtkTextureMapToCylinder&); // Not implemented.
111 };
112 
113 #endif
114 
115 
#define VTK_GRAPHICS_EXPORT
Store vtkAlgorithm input/output information.
a simple class to control print indentation
Definition: vtkIndent.h:37
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Store zero or more vtkInformation instances.
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