00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
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&);
00104
void operator=(
const vtkTextureMapToSphere&);
00105 };
00106
00107
#endif
00108
00109