VTK
dox
Filters
Texture
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
=========================================================================*/
50
#ifndef vtkTextureMapToSphere_h
51
#define vtkTextureMapToSphere_h
52
53
#include "vtkFiltersTextureModule.h"
// For export macro
54
#include "
vtkDataSetAlgorithm.h
"
55
56
class
VTKFILTERSTEXTURE_EXPORT
vtkTextureMapToSphere
:
public
vtkDataSetAlgorithm
57
{
58
public
:
59
vtkTypeMacro(
vtkTextureMapToSphere
,
vtkDataSetAlgorithm
);
60
void
PrintSelf
(ostream& os,
vtkIndent
indent);
61
66
static
vtkTextureMapToSphere
*
New
();
67
69
72
vtkSetVector3Macro(Center,
double
);
73
vtkGetVectorMacro(Center,
double
,3);
75
77
81
vtkSetMacro
(AutomaticSphereGeneration,
int
);
82
vtkGetMacro(AutomaticSphereGeneration,
int
);
83
vtkBooleanMacro
(AutomaticSphereGeneration,
int
);
85
87
93
vtkSetMacro
(PreventSeam,
int
);
94
vtkGetMacro(PreventSeam,
int
);
95
vtkBooleanMacro
(PreventSeam,
int
);
97
98
protected
:
99
vtkTextureMapToSphere
();
100
~vtkTextureMapToSphere
() {}
101
102
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
103
104
double
Center[3];
105
int
AutomaticSphereGeneration
;
106
int
PreventSeam
;
107
108
private
:
109
vtkTextureMapToSphere
(
const
vtkTextureMapToSphere
&) VTK_DELETE_FUNCTION;
110
void
operator=(
const
vtkTextureMapToSphere
&) VTK_DELETE_FUNCTION;
111
};
112
113
#endif
114
115
vtkTextureMapToSphere::PreventSeam
int PreventSeam
Definition:
vtkTextureMapToSphere.h:106
vtkTextureMapToSphere::~vtkTextureMapToSphere
~vtkTextureMapToSphere()
Definition:
vtkTextureMapToSphere.h:100
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:183
vtkDataSetAlgorithm
Superclass for algorithms that produce output of the same type as input.
Definition:
vtkDataSetAlgorithm.h:51
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkDataSetAlgorithm::New
static vtkDataSetAlgorithm * New()
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkDataSetAlgorithm.h
vtkDataSetAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTextureMapToSphere::AutomaticSphereGeneration
int AutomaticSphereGeneration
Definition:
vtkTextureMapToSphere.h:105
vtkTextureMapToSphere
generate texture coordinates by mapping points to sphere
Definition:
vtkTextureMapToSphere.h:56
Generated by
1.8.16