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 "vtkDataSetAlgorithm.h"
53 
55 {
56 public:
58  void PrintSelf(ostream& os, vtkIndent indent);
59 
62  static vtkTextureMapToSphere *New();
63 
65 
66  vtkSetVector3Macro(Center,double);
67  vtkGetVectorMacro(Center,double,3);
69 
71 
73  vtkSetMacro(AutomaticSphereGeneration,int);
74  vtkGetMacro(AutomaticSphereGeneration,int);
75  vtkBooleanMacro(AutomaticSphereGeneration,int);
77 
79 
83  vtkSetMacro(PreventSeam,int);
84  vtkGetMacro(PreventSeam,int);
85  vtkBooleanMacro(PreventSeam,int);
87 
88 protected:
91 
93 
94  double Center[3];
97 
98 private:
99  vtkTextureMapToSphere(const vtkTextureMapToSphere&); // Not implemented.
100  void operator=(const vtkTextureMapToSphere&); // Not implemented.
101 };
102 
103 #endif
104 
105 
#define VTK_GRAPHICS_EXPORT
Store vtkAlgorithm input/output information.
a simple class to control print indentation
Definition: vtkIndent.h:37
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
generate texture coordinates by mapping points to sphere
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce output of the same type as input.
static vtkDataSetAlgorithm * New()