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 "vtkDataSetAlgorithm.h" 00055 00056 class VTK_GRAPHICS_EXPORT vtkTextureMapToCylinder : public vtkDataSetAlgorithm 00057 { 00058 public: 00059 vtkTypeMacro(vtkTextureMapToCylinder,vtkDataSetAlgorithm); 00060 void PrintSelf(ostream& os, vtkIndent indent); 00061 00065 static vtkTextureMapToCylinder *New(); 00066 00068 00069 vtkSetVector3Macro(Point1,double); 00070 vtkGetVectorMacro(Point1,double,3); 00072 00074 00075 vtkSetVector3Macro(Point2,double); 00076 vtkGetVectorMacro(Point2,double,3); 00078 00080 00082 vtkSetMacro(AutomaticCylinderGeneration,int); 00083 vtkGetMacro(AutomaticCylinderGeneration,int); 00084 vtkBooleanMacro(AutomaticCylinderGeneration,int); 00086 00088 00092 vtkSetMacro(PreventSeam,int); 00093 vtkGetMacro(PreventSeam,int); 00094 vtkBooleanMacro(PreventSeam,int); 00096 00097 protected: 00098 vtkTextureMapToCylinder(); 00099 ~vtkTextureMapToCylinder() {}; 00100 00101 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00102 00103 double Point1[3]; 00104 double Point2[3]; 00105 int AutomaticCylinderGeneration; 00106 int PreventSeam; 00107 00108 private: 00109 vtkTextureMapToCylinder(const vtkTextureMapToCylinder&); // Not implemented. 00110 void operator=(const vtkTextureMapToCylinder&); // Not implemented. 00111 }; 00112 00113 #endif 00114 00115