VTK  9.1.0
vtkWarpScalar.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkWarpScalar.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=========================================================================*/
38#ifndef vtkWarpScalar_h
39#define vtkWarpScalar_h
40
41#include "vtkFiltersGeneralModule.h" // For export macro
43
44class vtkDataArray;
45
46class VTKFILTERSGENERAL_EXPORT vtkWarpScalar : public vtkPointSetAlgorithm
47{
48public:
50
54 static vtkWarpScalar* New();
56 void PrintSelf(ostream& os, vtkIndent indent) override;
58
60
63 vtkSetMacro(ScaleFactor, double);
64 vtkGetMacro(ScaleFactor, double);
66
68
72 vtkSetMacro(UseNormal, vtkTypeBool);
73 vtkGetMacro(UseNormal, vtkTypeBool);
74 vtkBooleanMacro(UseNormal, vtkTypeBool);
76
78
82 vtkSetVector3Macro(Normal, double);
83 vtkGetVectorMacro(Normal, double, 3);
85
87
92 vtkSetMacro(XYPlane, vtkTypeBool);
93 vtkGetMacro(XYPlane, vtkTypeBool);
94 vtkBooleanMacro(XYPlane, vtkTypeBool);
96
98
103 vtkSetMacro(OutputPointsPrecision, int);
104 vtkGetMacro(OutputPointsPrecision, int);
106
108
109protected:
111 ~vtkWarpScalar() override;
112
114 vtkInformationVector* outputVector) override;
116
119 double Normal[3];
122
123private:
124 vtkWarpScalar(const vtkWarpScalar&) = delete;
125 void operator=(const vtkWarpScalar&) = delete;
126};
127
128#endif
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:50
a simple class to control print indentation
Definition: vtkIndent.h:34
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce output of the same type as input.
deform geometry with scalar data
Definition: vtkWarpScalar.h:47
vtkTypeBool UseNormal
~vtkWarpScalar() override
int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiation, obtaining type information, and printing.
double ScaleFactor
vtkTypeBool XYPlane
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static vtkWarpScalar * New()
Standard methods for instantiation, obtaining type information, and printing.
int OutputPointsPrecision
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
@ Normal
Definition: vtkX3D.h:51
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453
int vtkTypeBool
Definition: vtkABI.h:69