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=========================================================================*/
41#ifndef vtkWarpScalar_h
42#define vtkWarpScalar_h
43
44#include "vtkFiltersGeneralModule.h" // For export macro
46
47class vtkDataArray;
48
49class VTKFILTERSGENERAL_EXPORT vtkWarpScalar : public vtkPointSetAlgorithm
50{
51public:
53
57 static vtkWarpScalar* New();
59 void PrintSelf(ostream& os, vtkIndent indent) override;
61
63
66 vtkSetMacro(ScaleFactor, double);
67 vtkGetMacro(ScaleFactor, double);
69
71
75 vtkSetMacro(UseNormal, vtkTypeBool);
76 vtkGetMacro(UseNormal, vtkTypeBool);
77 vtkBooleanMacro(UseNormal, vtkTypeBool);
79
81
85 vtkSetVector3Macro(Normal, double);
86 vtkGetVectorMacro(Normal, double, 3);
88
90
95 vtkSetMacro(XYPlane, vtkTypeBool);
96 vtkGetMacro(XYPlane, vtkTypeBool);
97 vtkBooleanMacro(XYPlane, vtkTypeBool);
99
101
106 vtkSetMacro(OutputPointsPrecision, int);
107 vtkGetMacro(OutputPointsPrecision, int);
109
110 int FillInputPortInformation(int port, vtkInformation* info) override;
111
112protected:
114 ~vtkWarpScalar() override;
115
117 vtkInformationVector* outputVector) override;
119
122 double Normal[3];
125
126private:
127 vtkWarpScalar(const vtkWarpScalar&) = delete;
128 void operator=(const vtkWarpScalar&) = delete;
129};
130
131#endif
abstract superclass for arrays of numeric data
a simple class to control print indentation
Definition vtkIndent.h:40
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.
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 FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
int vtkTypeBool
Definition vtkABI.h:69