Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

Graphics/vtkTextureMapToCylinder.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkTextureMapToCylinder.h,v $
00005   Language:  C++
00006 
00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
00008   All rights reserved.
00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00010 
00011      This software is distributed WITHOUT ANY WARRANTY; without even 
00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00013      PURPOSE.  See the above copyright notice for more information.
00014 
00015 =========================================================================*/
00066 #ifndef __vtkTextureMapToCylinder_h
00067 #define __vtkTextureMapToCylinder_h
00068 
00069 #include "vtkDataSetToDataSetFilter.h"
00070 
00071 class VTK_GRAPHICS_EXPORT vtkTextureMapToCylinder : public vtkDataSetToDataSetFilter 
00072 {
00073 public:
00074   vtkTypeRevisionMacro(vtkTextureMapToCylinder,vtkDataSetToDataSetFilter);
00075   void PrintSelf(ostream& os, vtkIndent indent);
00076 
00080   static vtkTextureMapToCylinder *New();
00081 
00083 
00084   vtkSetVector3Macro(Point1,float);
00085   vtkGetVectorMacro(Point1,float,3);
00087 
00089 
00090   vtkSetVector3Macro(Point2,float);
00091   vtkGetVectorMacro(Point2,float,3);
00093 
00095 
00097   vtkSetMacro(AutomaticCylinderGeneration,int);
00098   vtkGetMacro(AutomaticCylinderGeneration,int);
00099   vtkBooleanMacro(AutomaticCylinderGeneration,int);
00101 
00103 
00107   vtkSetMacro(PreventSeam,int);
00108   vtkGetMacro(PreventSeam,int);
00109   vtkBooleanMacro(PreventSeam,int);
00111 
00112 protected:
00113   vtkTextureMapToCylinder();
00114   ~vtkTextureMapToCylinder() {};
00115 
00116   void Execute();
00117 
00118   float Point1[3];
00119   float Point2[3];
00120   int AutomaticCylinderGeneration;
00121   int PreventSeam;
00122 
00123 private:
00124   vtkTextureMapToCylinder(const vtkTextureMapToCylinder&);  // Not implemented.
00125   void operator=(const vtkTextureMapToCylinder&);  // Not implemented.
00126 };
00127 
00128 #endif
00129 
00130