VTK
vtkTextureMapToSphere.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTextureMapToSphere.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
49 #ifndef vtkTextureMapToSphere_h
50 #define vtkTextureMapToSphere_h
51 
52 #include "vtkFiltersTextureModule.h" // For export macro
53 #include "vtkDataSetAlgorithm.h"
54 
56 {
57 public:
59  void PrintSelf(ostream& os, vtkIndent indent);
60 
63  static vtkTextureMapToSphere *New();
64 
66 
67  vtkSetVector3Macro(Center,double);
68  vtkGetVectorMacro(Center,double,3);
70 
72 
74  vtkSetMacro(AutomaticSphereGeneration,int);
75  vtkGetMacro(AutomaticSphereGeneration,int);
76  vtkBooleanMacro(AutomaticSphereGeneration,int);
78 
80 
84  vtkSetMacro(PreventSeam,int);
85  vtkGetMacro(PreventSeam,int);
86  vtkBooleanMacro(PreventSeam,int);
88 
89 protected:
92 
94 
95  double Center[3];
98 
99 private:
100  vtkTextureMapToSphere(const vtkTextureMapToSphere&); // Not implemented.
101  void operator=(const vtkTextureMapToSphere&); // Not implemented.
102 };
103 
104 #endif
105 
106 
Store vtkAlgorithm input/output information.
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
generate texture coordinates by mapping points to sphere
Store zero or more vtkInformation instances.
#define VTKFILTERSTEXTURE_EXPORT
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce output of the same type as input.
static vtkDataSetAlgorithm * New()