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

vtkTextureMapToSphere.h

Go to the documentation of this file.
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 =========================================================================*/
00061 #ifndef __vtkTextureMapToSphere_h
00062 #define __vtkTextureMapToSphere_h
00063 
00064 #include "vtkDataSetToDataSetFilter.h"
00065 
00066 class VTK_GRAPHICS_EXPORT vtkTextureMapToSphere : public vtkDataSetToDataSetFilter 
00067 {
00068 public:
00069   vtkTypeRevisionMacro(vtkTextureMapToSphere,vtkDataSetToDataSetFilter);
00070   void PrintSelf(ostream& os, vtkIndent indent);
00071 
00074   static vtkTextureMapToSphere *New();
00075 
00077 
00078   vtkSetVector3Macro(Center,double);
00079   vtkGetVectorMacro(Center,double,3);
00081 
00083 
00085   vtkSetMacro(AutomaticSphereGeneration,int);
00086   vtkGetMacro(AutomaticSphereGeneration,int);
00087   vtkBooleanMacro(AutomaticSphereGeneration,int);
00089 
00091 
00095   vtkSetMacro(PreventSeam,int);
00096   vtkGetMacro(PreventSeam,int);
00097   vtkBooleanMacro(PreventSeam,int);
00099 
00100 protected:
00101   vtkTextureMapToSphere();
00102   ~vtkTextureMapToSphere() {};
00103 
00104   void Execute();
00105 
00106   double Center[3];
00107   int AutomaticSphereGeneration;
00108   int PreventSeam;
00109 
00110 private:
00111   vtkTextureMapToSphere(const vtkTextureMapToSphere&);  // Not implemented.
00112   void operator=(const vtkTextureMapToSphere&);  // Not implemented.
00113 };
00114 
00115 #endif
00116 
00117