VTK  9.2.6
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 =========================================================================*/
50 #ifndef vtkWarpScalar_h
51 #define vtkWarpScalar_h
52 
53 #include "vtkFiltersGeneralModule.h" // For export macro
54 #include "vtkPointSetAlgorithm.h"
55 
56 class vtkDataArray;
57 
58 class VTKFILTERSGENERAL_EXPORT vtkWarpScalar : public vtkPointSetAlgorithm
59 {
60 public:
62 
66  static vtkWarpScalar* New();
68  void PrintSelf(ostream& os, vtkIndent indent) override;
70 
72 
75  vtkSetMacro(ScaleFactor, double);
76  vtkGetMacro(ScaleFactor, double);
78 
80 
84  vtkSetMacro(UseNormal, vtkTypeBool);
85  vtkGetMacro(UseNormal, vtkTypeBool);
86  vtkBooleanMacro(UseNormal, vtkTypeBool);
88 
90 
94  vtkSetVector3Macro(Normal, double);
95  vtkGetVectorMacro(Normal, double, 3);
97 
99 
104  vtkSetMacro(XYPlane, vtkTypeBool);
105  vtkGetMacro(XYPlane, vtkTypeBool);
106  vtkBooleanMacro(XYPlane, vtkTypeBool);
108 
110 
115  vtkSetMacro(OutputPointsPrecision, int);
116  vtkGetMacro(OutputPointsPrecision, int);
118 
120 
121 protected:
123  ~vtkWarpScalar() override;
124 
126  vtkInformationVector* outputVector) override;
128 
129  double ScaleFactor;
131  double Normal[3];
134 
135 private:
136  vtkWarpScalar(const vtkWarpScalar&) = delete;
137  void operator=(const vtkWarpScalar&) = delete;
138 };
139 
140 #endif
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:65
a simple class to control print indentation
Definition: vtkIndent.h:49
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:59
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