VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkTextureMapToSphere.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 =========================================================================*/ 00046 #ifndef __vtkTextureMapToSphere_h 00047 #define __vtkTextureMapToSphere_h 00048 00049 #include "vtkDataSetAlgorithm.h" 00050 00051 class VTK_GRAPHICS_EXPORT vtkTextureMapToSphere : public vtkDataSetAlgorithm 00052 { 00053 public: 00054 vtkTypeRevisionMacro(vtkTextureMapToSphere,vtkDataSetAlgorithm); 00055 void PrintSelf(ostream& os, vtkIndent indent); 00056 00059 static vtkTextureMapToSphere *New(); 00060 00062 00063 vtkSetVector3Macro(Center,double); 00064 vtkGetVectorMacro(Center,double,3); 00066 00068 00070 vtkSetMacro(AutomaticSphereGeneration,int); 00071 vtkGetMacro(AutomaticSphereGeneration,int); 00072 vtkBooleanMacro(AutomaticSphereGeneration,int); 00074 00076 00080 vtkSetMacro(PreventSeam,int); 00081 vtkGetMacro(PreventSeam,int); 00082 vtkBooleanMacro(PreventSeam,int); 00084 00085 protected: 00086 vtkTextureMapToSphere(); 00087 ~vtkTextureMapToSphere() {}; 00088 00089 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00090 00091 double Center[3]; 00092 int AutomaticSphereGeneration; 00093 int PreventSeam; 00094 00095 private: 00096 vtkTextureMapToSphere(const vtkTextureMapToSphere&); // Not implemented. 00097 void operator=(const vtkTextureMapToSphere&); // Not implemented. 00098 }; 00099 00100 #endif 00101 00102