VTK  9.3.0
vtkWarpVector.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
17 #ifndef vtkWarpVector_h
18 #define vtkWarpVector_h
19 
20 #include "vtkFiltersGeneralModule.h" // For export macro
21 #include "vtkPointSetAlgorithm.h"
22 
23 VTK_ABI_NAMESPACE_BEGIN
24 class VTKFILTERSGENERAL_EXPORT vtkWarpVector : public vtkPointSetAlgorithm
25 {
26 public:
28 
32  static vtkWarpVector* New();
34  void PrintSelf(ostream& os, vtkIndent indent) override;
36 
38 
41  vtkSetMacro(ScaleFactor, double);
42  vtkGetMacro(ScaleFactor, double);
44 
46 
52  vtkSetMacro(OutputPointsPrecision, int);
53  vtkGetMacro(OutputPointsPrecision, int);
55 
57 
58 protected:
60  ~vtkWarpVector() override;
61 
63  vtkInformationVector* outputVector) override;
65  double ScaleFactor;
67 
68 private:
69  vtkWarpVector(const vtkWarpVector&) = delete;
70  void operator=(const vtkWarpVector&) = delete;
71 };
72 
73 VTK_ABI_NAMESPACE_END
74 #endif
a simple class to control print indentation
Definition: vtkIndent.h:29
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 vector data
Definition: vtkWarpVector.h:25
static vtkWarpVector * New()
Standard methods for instantiation, obtaining type information, and printing.
int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiation, obtaining type information, and printing.
int OutputPointsPrecision
Definition: vtkWarpVector.h:66
double ScaleFactor
Definition: vtkWarpVector.h:65
~vtkWarpVector() override
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447