VTK  9.3.0
vtkTextureMapToPlane.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
31#ifndef vtkTextureMapToPlane_h
32#define vtkTextureMapToPlane_h
33
34#include "vtkDataSetAlgorithm.h"
35#include "vtkFiltersTextureModule.h" // For export macro
36
37VTK_ABI_NAMESPACE_BEGIN
38class VTKFILTERSTEXTURE_EXPORT vtkTextureMapToPlane : public vtkDataSetAlgorithm
39{
40public:
42 void PrintSelf(ostream& os, vtkIndent indent) override;
43
48
50
54 vtkSetVector3Macro(Origin, double);
55 vtkGetVectorMacro(Origin, double, 3);
57
59
62 vtkSetVector3Macro(Point1, double);
63 vtkGetVectorMacro(Point1, double, 3);
65
67
70 vtkSetVector3Macro(Point2, double);
71 vtkGetVectorMacro(Point2, double, 3);
73
75
80 vtkSetVector3Macro(Normal, double);
81 vtkGetVectorMacro(Normal, double, 3);
83
85
88 vtkSetVector2Macro(SRange, double);
89 vtkGetVectorMacro(SRange, double, 2);
91
93
96 vtkSetVector2Macro(TRange, double);
97 vtkGetVectorMacro(TRange, double, 2);
99
101
104 vtkSetMacro(AutomaticPlaneGeneration, vtkTypeBool);
105 vtkGetMacro(AutomaticPlaneGeneration, vtkTypeBool);
106 vtkBooleanMacro(AutomaticPlaneGeneration, vtkTypeBool);
108
109protected:
111 ~vtkTextureMapToPlane() override = default;
112
115
116 double Origin[3];
117 double Point1[3];
118 double Point2[3];
119 double Normal[3];
120 double SRange[2];
121 double TRange[2];
123
124private:
126 void operator=(const vtkTextureMapToPlane&) = delete;
127};
128
129VTK_ABI_NAMESPACE_END
130#endif
Superclass for algorithms that produce output of the same type as input.
abstract class to specify dataset behavior
Definition vtkDataSet.h:53
a simple class to control print indentation
Definition vtkIndent.h:29
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
generate texture coordinates by mapping points to plane
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
static vtkTextureMapToPlane * New()
Construct with s,t range=(0,1) and automatic plane generation turned on.
void ComputeNormal(vtkDataSet *output)
~vtkTextureMapToPlane() override=default
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int vtkTypeBool
Definition vtkABI.h:64