VTK  9.2.5
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 =========================================================================*/
110 #ifndef vtkWarpScalar_h
111 #define vtkWarpScalar_h
112 
113 #include "vtkFiltersGeneralModule.h" // For export macro
114 #include "vtkPointSetAlgorithm.h"
115 
116 class vtkDataArray;
117 
118 class VTKFILTERSGENERAL_EXPORT vtkWarpScalar : public vtkPointSetAlgorithm
119 {
120 public:
122 
126  static vtkWarpScalar* New();
128  void PrintSelf(ostream& os, vtkIndent indent) override;
130 
132 
135  vtkSetMacro(ScaleFactor, double);
136  vtkGetMacro(ScaleFactor, double);
138 
140 
144  vtkSetMacro(UseNormal, vtkTypeBool);
145  vtkGetMacro(UseNormal, vtkTypeBool);
146  vtkBooleanMacro(UseNormal, vtkTypeBool);
148 
150 
154  vtkSetVector3Macro(Normal, double);
155  vtkGetVectorMacro(Normal, double, 3);
157 
159 
164  vtkSetMacro(XYPlane, vtkTypeBool);
165  vtkGetMacro(XYPlane, vtkTypeBool);
166  vtkBooleanMacro(XYPlane, vtkTypeBool);
168 
170 
175  vtkSetMacro(OutputPointsPrecision, int);
176  vtkGetMacro(OutputPointsPrecision, int);
178 
180 
181 protected:
183  ~vtkWarpScalar() override;
184 
186  vtkInformationVector* outputVector) override;
188 
189  double ScaleFactor;
191  double Normal[3];
194 
195 private:
196  vtkWarpScalar(const vtkWarpScalar&) = delete;
197  void operator=(const vtkWarpScalar&) = delete;
198 };
199 
200 #endif
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:165
a simple class to control print indentation
Definition: vtkIndent.h:119
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
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.
int OutputPointsPrecision
static vtkWarpScalar * New()
Standard methods for instantiation, obtaining type information, and printing.
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