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 =========================================================================*/
47 #ifndef vtkTextureMapToSphere_h
48 #define vtkTextureMapToSphere_h
49 
50 #include "vtkFiltersTextureModule.h" // For export macro
51 #include "vtkDataSetAlgorithm.h"
52 
53 class VTKFILTERSTEXTURE_EXPORT vtkTextureMapToSphere : public vtkDataSetAlgorithm
54 {
55 public:
57  void PrintSelf(ostream& os, vtkIndent indent) override;
58 
63  static vtkTextureMapToSphere *New();
64 
66 
69  vtkSetVector3Macro(Center,double);
70  vtkGetVectorMacro(Center,double,3);
72 
74 
78  vtkSetMacro(AutomaticSphereGeneration,vtkTypeBool);
79  vtkGetMacro(AutomaticSphereGeneration,vtkTypeBool);
80  vtkBooleanMacro(AutomaticSphereGeneration,vtkTypeBool);
82 
84 
90  vtkSetMacro(PreventSeam,vtkTypeBool);
91  vtkGetMacro(PreventSeam,vtkTypeBool);
92  vtkBooleanMacro(PreventSeam,vtkTypeBool);
94 
95 protected:
97  ~vtkTextureMapToSphere() override {}
98 
100 
101  double Center[3];
104 
105 private:
107  void operator=(const vtkTextureMapToSphere&) = delete;
108 };
109 
110 #endif
111 
112 
vtkTextureMapToSphere::PreventSeam
vtkTypeBool PreventSeam
Definition: vtkTextureMapToSphere.h:103
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkDataSetAlgorithm::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
Definition: vtkDataSetAlgorithm.h:180
vtkDataSetAlgorithm
Superclass for algorithms that produce output of the same type as input.
Definition: vtkDataSetAlgorithm.h:48
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkDataSetAlgorithm::New
static vtkDataSetAlgorithm * New()
vtkTextureMapToSphere::AutomaticSphereGeneration
vtkTypeBool AutomaticSphereGeneration
Definition: vtkTextureMapToSphere.h:102
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkDataSetAlgorithm.h
vtkDataSetAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTextureMapToSphere::~vtkTextureMapToSphere
~vtkTextureMapToSphere() override
Definition: vtkTextureMapToSphere.h:97
vtkTextureMapToSphere
generate texture coordinates by mapping points to sphere
Definition: vtkTextureMapToSphere.h:53
vtkTypeBool
int vtkTypeBool
Definition: vtkABI.h:69