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 =========================================================================*/
44 #ifndef vtkTextureMapToSphere_h
45 #define vtkTextureMapToSphere_h
46 
47 #include "vtkFiltersTextureModule.h" // For export macro
48 #include "vtkDataSetAlgorithm.h"
49 
50 class VTKFILTERSTEXTURE_EXPORT vtkTextureMapToSphere : public vtkDataSetAlgorithm
51 {
52 public:
54  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
55 
60  static vtkTextureMapToSphere *New();
61 
63 
66  vtkSetVector3Macro(Center,double);
67  vtkGetVectorMacro(Center,double,3);
69 
71 
75  vtkSetMacro(AutomaticSphereGeneration,int);
76  vtkGetMacro(AutomaticSphereGeneration,int);
77  vtkBooleanMacro(AutomaticSphereGeneration,int);
79 
81 
87  vtkSetMacro(PreventSeam,int);
88  vtkGetMacro(PreventSeam,int);
89  vtkBooleanMacro(PreventSeam,int);
91 
92 protected:
94  ~vtkTextureMapToSphere() VTK_OVERRIDE {}
95 
97 
98  double Center[3];
99  int AutomaticSphereGeneration;
100  int PreventSeam;
101 
102 private:
103  vtkTextureMapToSphere(const vtkTextureMapToSphere&) VTK_DELETE_FUNCTION;
104  void operator=(const vtkTextureMapToSphere&) VTK_DELETE_FUNCTION;
105 };
106 
107 #endif
108 
109 
Store vtkAlgorithm input/output information.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition: vtkIndent.h:33
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
generate texture coordinates by mapping points to sphere
Store zero or more vtkInformation instances.
Superclass for algorithms that produce output of the same type as input.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
static vtkDataSetAlgorithm * New()