VTK  9.2.6
vtkTextureMapToPlane.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkTextureMapToPlane.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 vtkTextureMapToPlane_h
53#define vtkTextureMapToPlane_h
54
55#include "vtkDataSetAlgorithm.h"
56#include "vtkFiltersTextureModule.h" // For export macro
57
58class VTKFILTERSTEXTURE_EXPORT vtkTextureMapToPlane : public vtkDataSetAlgorithm
59{
60public:
62 void PrintSelf(ostream& os, vtkIndent indent) override;
63
68
70
74 vtkSetVector3Macro(Origin, double);
75 vtkGetVectorMacro(Origin, double, 3);
77
79
82 vtkSetVector3Macro(Point1, double);
83 vtkGetVectorMacro(Point1, double, 3);
85
87
90 vtkSetVector3Macro(Point2, double);
91 vtkGetVectorMacro(Point2, double, 3);
93
95
100 vtkSetVector3Macro(Normal, double);
101 vtkGetVectorMacro(Normal, double, 3);
103
105
108 vtkSetVector2Macro(SRange, double);
109 vtkGetVectorMacro(SRange, double, 2);
111
113
116 vtkSetVector2Macro(TRange, double);
117 vtkGetVectorMacro(TRange, double, 2);
119
121
124 vtkSetMacro(AutomaticPlaneGeneration, vtkTypeBool);
125 vtkGetMacro(AutomaticPlaneGeneration, vtkTypeBool);
126 vtkBooleanMacro(AutomaticPlaneGeneration, vtkTypeBool);
128
129protected:
131 ~vtkTextureMapToPlane() override = default;
132
135
136 double Origin[3];
137 double Point1[3];
138 double Point2[3];
139 double Normal[3];
140 double SRange[2];
141 double TRange[2];
143
144private:
146 void operator=(const vtkTextureMapToPlane&) = delete;
147};
148
149#endif
Superclass for algorithms that produce output of the same type as input.
abstract class to specify dataset behavior
Definition vtkDataSet.h:72
a simple class to control print indentation
Definition vtkIndent.h:49
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:69