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=========================================================================*/
47#ifndef vtkWarpScalar_h
48#define vtkWarpScalar_h
49
50#include "vtkFiltersGeneralModule.h" // For export macro
52
53class vtkDataArray;
54
55class VTKFILTERSGENERAL_EXPORT vtkWarpScalar : public vtkPointSetAlgorithm
56{
57public:
59
63 static vtkWarpScalar* New();
65 void PrintSelf(ostream& os, vtkIndent indent) override;
67
69
72 vtkSetMacro(ScaleFactor, double);
73 vtkGetMacro(ScaleFactor, double);
75
77
81 vtkSetMacro(UseNormal, vtkTypeBool);
82 vtkGetMacro(UseNormal, vtkTypeBool);
83 vtkBooleanMacro(UseNormal, vtkTypeBool);
85
87
91 vtkSetVector3Macro(Normal, double);
92 vtkGetVectorMacro(Normal, double, 3);
94
96
101 vtkSetMacro(XYPlane, vtkTypeBool);
102 vtkGetMacro(XYPlane, vtkTypeBool);
103 vtkBooleanMacro(XYPlane, vtkTypeBool);
105
107
112 vtkSetMacro(OutputPointsPrecision, int);
113 vtkGetMacro(OutputPointsPrecision, int);
115
117
118protected:
120 ~vtkWarpScalar() override;
121
123 vtkInformationVector* outputVector) override;
125
128 double Normal[3];
131
132private:
133 vtkWarpScalar(const vtkWarpScalar&) = delete;
134 void operator=(const vtkWarpScalar&) = delete;
135};
136
137#endif
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:59
a simple class to control print indentation
Definition: vtkIndent.h:43
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:56
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