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=========================================================================*/
107#ifndef vtkWarpScalar_h
108#define vtkWarpScalar_h
109
110#include "vtkFiltersGeneralModule.h" // For export macro
111#include "vtkPointSetAlgorithm.h"
112
113class vtkDataArray;
114
115class VTKFILTERSGENERAL_EXPORT vtkWarpScalar : public vtkPointSetAlgorithm
116{
117public:
119
125 void PrintSelf(ostream& os, vtkIndent indent) override;
127
129
132 vtkSetMacro(ScaleFactor, double);
133 vtkGetMacro(ScaleFactor, double);
135
137
141 vtkSetMacro(UseNormal, vtkTypeBool);
142 vtkGetMacro(UseNormal, vtkTypeBool);
143 vtkBooleanMacro(UseNormal, vtkTypeBool);
145
147
151 vtkSetVector3Macro(Normal, double);
152 vtkGetVectorMacro(Normal, double, 3);
154
156
161 vtkSetMacro(XYPlane, vtkTypeBool);
162 vtkGetMacro(XYPlane, vtkTypeBool);
163 vtkBooleanMacro(XYPlane, vtkTypeBool);
165
167
172 vtkSetMacro(OutputPointsPrecision, int);
173 vtkGetMacro(OutputPointsPrecision, int);
175
177
178protected:
180 ~vtkWarpScalar() override;
181
183 vtkInformationVector* outputVector) override;
185
188 double Normal[3];
191
192private:
193 vtkWarpScalar(const vtkWarpScalar&) = delete;
194 void operator=(const vtkWarpScalar&) = delete;
195};
196
197#endif
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:159
a simple class to control print indentation
Definition: vtkIndent.h:113
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.
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