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

dox/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 =========================================================================*/
00053 #ifndef __vtkTextureMapToSphere_h
00054 #define __vtkTextureMapToSphere_h
00055 
00056 #include "vtkDataSetToDataSetFilter.h"
00057 
00058 class VTK_GRAPHICS_EXPORT vtkTextureMapToSphere : public vtkDataSetToDataSetFilter 
00059 {
00060 public:
00061   vtkTypeRevisionMacro(vtkTextureMapToSphere,vtkDataSetToDataSetFilter);
00062   void PrintSelf(ostream& os, vtkIndent indent);
00063 
00066   static vtkTextureMapToSphere *New();
00067 
00069 
00070   vtkSetVector3Macro(Center,float);
00071   vtkGetVectorMacro(Center,float,3);
00073 
00075 
00077   vtkSetMacro(AutomaticSphereGeneration,int);
00078   vtkGetMacro(AutomaticSphereGeneration,int);
00079   vtkBooleanMacro(AutomaticSphereGeneration,int);
00081 
00083 
00087   vtkSetMacro(PreventSeam,int);
00088   vtkGetMacro(PreventSeam,int);
00089   vtkBooleanMacro(PreventSeam,int);
00091 
00092 protected:
00093   vtkTextureMapToSphere();
00094   ~vtkTextureMapToSphere() {};
00095 
00096   void Execute();
00097 
00098   float Center[3];
00099   int AutomaticSphereGeneration;
00100   int PreventSeam;
00101 
00102 private:
00103   vtkTextureMapToSphere(const vtkTextureMapToSphere&);  // Not implemented.
00104   void operator=(const vtkTextureMapToSphere&);  // Not implemented.
00105 };
00106 
00107 #endif
00108 
00109