VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkTextureMapToCylinder.h 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 =========================================================================*/ 00051 #ifndef __vtkTextureMapToCylinder_h 00052 #define __vtkTextureMapToCylinder_h 00053 00054 #include "vtkFiltersTextureModule.h" // For export macro 00055 #include "vtkDataSetAlgorithm.h" 00056 00057 class VTKFILTERSTEXTURE_EXPORT vtkTextureMapToCylinder : public vtkDataSetAlgorithm 00058 { 00059 public: 00060 vtkTypeMacro(vtkTextureMapToCylinder,vtkDataSetAlgorithm); 00061 void PrintSelf(ostream& os, vtkIndent indent); 00062 00066 static vtkTextureMapToCylinder *New(); 00067 00069 00070 vtkSetVector3Macro(Point1,double); 00071 vtkGetVectorMacro(Point1,double,3); 00073 00075 00076 vtkSetVector3Macro(Point2,double); 00077 vtkGetVectorMacro(Point2,double,3); 00079 00081 00083 vtkSetMacro(AutomaticCylinderGeneration,int); 00084 vtkGetMacro(AutomaticCylinderGeneration,int); 00085 vtkBooleanMacro(AutomaticCylinderGeneration,int); 00087 00089 00093 vtkSetMacro(PreventSeam,int); 00094 vtkGetMacro(PreventSeam,int); 00095 vtkBooleanMacro(PreventSeam,int); 00097 00098 protected: 00099 vtkTextureMapToCylinder(); 00100 ~vtkTextureMapToCylinder() {} 00101 00102 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00103 00104 double Point1[3]; 00105 double Point2[3]; 00106 int AutomaticCylinderGeneration; 00107 int PreventSeam; 00108 00109 private: 00110 vtkTextureMapToCylinder(const vtkTextureMapToCylinder&); // Not implemented. 00111 void operator=(const vtkTextureMapToCylinder&); // Not implemented. 00112 }; 00113 00114 #endif 00115 00116