VTK
dox
Filters
Texture
vtkTextureMapToCylinder.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkTextureMapToCylinder.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
=========================================================================*/
52
#ifndef vtkTextureMapToCylinder_h
53
#define vtkTextureMapToCylinder_h
54
55
#include "vtkFiltersTextureModule.h"
// For export macro
56
#include "
vtkDataSetAlgorithm.h
"
57
58
class
VTKFILTERSTEXTURE_EXPORT
vtkTextureMapToCylinder
:
public
vtkDataSetAlgorithm
59
{
60
public
:
61
vtkTypeMacro(
vtkTextureMapToCylinder
,
vtkDataSetAlgorithm
);
62
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
63
69
static
vtkTextureMapToCylinder
*
New
();
70
72
75
vtkSetVector3Macro(Point1,
double
);
76
vtkGetVectorMacro(Point1,
double
,3);
78
80
83
vtkSetVector3Macro(Point2,
double
);
84
vtkGetVectorMacro(Point2,
double
,3);
86
88
92
vtkSetMacro(AutomaticCylinderGeneration,
vtkTypeBool
);
93
vtkGetMacro(AutomaticCylinderGeneration,
vtkTypeBool
);
94
vtkBooleanMacro(AutomaticCylinderGeneration,
vtkTypeBool
);
96
98
104
vtkSetMacro(PreventSeam,
vtkTypeBool
);
105
vtkGetMacro(PreventSeam,
vtkTypeBool
);
106
vtkBooleanMacro(PreventSeam,
vtkTypeBool
);
108
109
protected
:
110
vtkTextureMapToCylinder
();
111
~vtkTextureMapToCylinder
()
override
{}
112
113
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
114
115
double
Point1[3];
116
double
Point2[3];
117
vtkTypeBool
AutomaticCylinderGeneration
;
118
vtkTypeBool
PreventSeam
;
119
120
private
:
121
vtkTextureMapToCylinder
(
const
vtkTextureMapToCylinder
&) =
delete
;
122
void
operator=(
const
vtkTextureMapToCylinder
&) =
delete
;
123
};
124
125
#endif
126
127
vtkTextureMapToCylinder::AutomaticCylinderGeneration
vtkTypeBool AutomaticCylinderGeneration
Definition:
vtkTextureMapToCylinder.h:117
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()
vtkTextureMapToCylinder
generate texture coordinates by mapping points to cylinder
Definition:
vtkTextureMapToCylinder.h:58
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.
vtkTextureMapToCylinder::~vtkTextureMapToCylinder
~vtkTextureMapToCylinder() override
Definition:
vtkTextureMapToCylinder.h:111
vtkTypeBool
int vtkTypeBool
Definition:
vtkABI.h:69
vtkTextureMapToCylinder::PreventSeam
vtkTypeBool PreventSeam
Definition:
vtkTextureMapToCylinder.h:118
Generated by
1.8.16