VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkTextureMapToSphere.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 =========================================================================*/ 00049 #ifndef __vtkTextureMapToSphere_h 00050 #define __vtkTextureMapToSphere_h 00051 00052 #include "vtkDataSetAlgorithm.h" 00053 00054 class VTK_GRAPHICS_EXPORT vtkTextureMapToSphere : public vtkDataSetAlgorithm 00055 { 00056 public: 00057 vtkTypeMacro(vtkTextureMapToSphere,vtkDataSetAlgorithm); 00058 void PrintSelf(ostream& os, vtkIndent indent); 00059 00062 static vtkTextureMapToSphere *New(); 00063 00065 00066 vtkSetVector3Macro(Center,double); 00067 vtkGetVectorMacro(Center,double,3); 00069 00071 00073 vtkSetMacro(AutomaticSphereGeneration,int); 00074 vtkGetMacro(AutomaticSphereGeneration,int); 00075 vtkBooleanMacro(AutomaticSphereGeneration,int); 00077 00079 00083 vtkSetMacro(PreventSeam,int); 00084 vtkGetMacro(PreventSeam,int); 00085 vtkBooleanMacro(PreventSeam,int); 00087 00088 protected: 00089 vtkTextureMapToSphere(); 00090 ~vtkTextureMapToSphere() {}; 00091 00092 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00093 00094 double Center[3]; 00095 int AutomaticSphereGeneration; 00096 int PreventSeam; 00097 00098 private: 00099 vtkTextureMapToSphere(const vtkTextureMapToSphere&); // Not implemented. 00100 void operator=(const vtkTextureMapToSphere&); // Not implemented. 00101 }; 00102 00103 #endif 00104 00105