Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

Graphics/vtkTextureMapToSphere.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkTextureMapToSphere.h,v $
00005   Language:  C++
00006 
00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
00008   All rights reserved.
00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00010 
00011      This software is distributed WITHOUT ANY WARRANTY; without even 
00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00013      PURPOSE.  See the above copyright notice for more information.
00014 
00015 =========================================================================*/
00065 #ifndef __vtkTextureMapToSphere_h
00066 #define __vtkTextureMapToSphere_h
00067 
00068 #include "vtkDataSetToDataSetFilter.h"
00069 
00070 class VTK_GRAPHICS_EXPORT vtkTextureMapToSphere : public vtkDataSetToDataSetFilter 
00071 {
00072 public:
00073   vtkTypeRevisionMacro(vtkTextureMapToSphere,vtkDataSetToDataSetFilter);
00074   void PrintSelf(ostream& os, vtkIndent indent);
00075 
00078   static vtkTextureMapToSphere *New();
00079 
00081 
00082   vtkSetVector3Macro(Center,float);
00083   vtkGetVectorMacro(Center,float,3);
00085 
00087 
00089   vtkSetMacro(AutomaticSphereGeneration,int);
00090   vtkGetMacro(AutomaticSphereGeneration,int);
00091   vtkBooleanMacro(AutomaticSphereGeneration,int);
00093 
00095 
00099   vtkSetMacro(PreventSeam,int);
00100   vtkGetMacro(PreventSeam,int);
00101   vtkBooleanMacro(PreventSeam,int);
00103 
00104 protected:
00105   vtkTextureMapToSphere();
00106   ~vtkTextureMapToSphere() {};
00107 
00108   void Execute();
00109 
00110   float Center[3];
00111   int AutomaticSphereGeneration;
00112   int PreventSeam;
00113 
00114 private:
00115   vtkTextureMapToSphere(const vtkTextureMapToSphere&);  // Not implemented.
00116   void operator=(const vtkTextureMapToSphere&);  // Not implemented.
00117 };
00118 
00119 #endif
00120 
00121