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 "vtkFiltersTextureModule.h" // For export macro 00053 #include "vtkDataSetAlgorithm.h" 00054 00055 class VTKFILTERSTEXTURE_EXPORT vtkTextureMapToSphere : public vtkDataSetAlgorithm 00056 { 00057 public: 00058 vtkTypeMacro(vtkTextureMapToSphere,vtkDataSetAlgorithm); 00059 void PrintSelf(ostream& os, vtkIndent indent); 00060 00063 static vtkTextureMapToSphere *New(); 00064 00066 00067 vtkSetVector3Macro(Center,double); 00068 vtkGetVectorMacro(Center,double,3); 00070 00072 00074 vtkSetMacro(AutomaticSphereGeneration,int); 00075 vtkGetMacro(AutomaticSphereGeneration,int); 00076 vtkBooleanMacro(AutomaticSphereGeneration,int); 00078 00080 00084 vtkSetMacro(PreventSeam,int); 00085 vtkGetMacro(PreventSeam,int); 00086 vtkBooleanMacro(PreventSeam,int); 00088 00089 protected: 00090 vtkTextureMapToSphere(); 00091 ~vtkTextureMapToSphere() {} 00092 00093 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00094 00095 double Center[3]; 00096 int AutomaticSphereGeneration; 00097 int PreventSeam; 00098 00099 private: 00100 vtkTextureMapToSphere(const vtkTextureMapToSphere&); // Not implemented. 00101 void operator=(const vtkTextureMapToSphere&); // Not implemented. 00102 }; 00103 00104 #endif 00105 00106