VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkTextureMapToCylinder.h,v $ 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00048 #ifndef __vtkTextureMapToCylinder_h 00049 #define __vtkTextureMapToCylinder_h 00050 00051 #include "vtkDataSetAlgorithm.h" 00052 00053 class VTK_GRAPHICS_EXPORT vtkTextureMapToCylinder : public vtkDataSetAlgorithm 00054 { 00055 public: 00056 vtkTypeRevisionMacro(vtkTextureMapToCylinder,vtkDataSetAlgorithm); 00057 void PrintSelf(ostream& os, vtkIndent indent); 00058 00062 static vtkTextureMapToCylinder *New(); 00063 00065 00066 vtkSetVector3Macro(Point1,double); 00067 vtkGetVectorMacro(Point1,double,3); 00069 00071 00072 vtkSetVector3Macro(Point2,double); 00073 vtkGetVectorMacro(Point2,double,3); 00075 00077 00079 vtkSetMacro(AutomaticCylinderGeneration,int); 00080 vtkGetMacro(AutomaticCylinderGeneration,int); 00081 vtkBooleanMacro(AutomaticCylinderGeneration,int); 00083 00085 00089 vtkSetMacro(PreventSeam,int); 00090 vtkGetMacro(PreventSeam,int); 00091 vtkBooleanMacro(PreventSeam,int); 00093 00094 protected: 00095 vtkTextureMapToCylinder(); 00096 ~vtkTextureMapToCylinder() {}; 00097 00098 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00099 00100 double Point1[3]; 00101 double Point2[3]; 00102 int AutomaticCylinderGeneration; 00103 int PreventSeam; 00104 00105 private: 00106 vtkTextureMapToCylinder(const vtkTextureMapToCylinder&); // Not implemented. 00107 void operator=(const vtkTextureMapToCylinder&); // Not implemented. 00108 }; 00109 00110 #endif 00111 00112