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
26 #ifndef vtkWarpVector_h
27 #define vtkWarpVector_h
28 
29 #include "vtkFiltersGeneralModule.h" // For export macro
30 #include "vtkPointSetAlgorithm.h"
31 
32 VTK_ABI_NAMESPACE_BEGIN
33 class VTKFILTERSGENERAL_EXPORT vtkWarpVector : public vtkPointSetAlgorithm
34 {
35 public:
37 
41  static vtkWarpVector* New();
43  void PrintSelf(ostream& os, vtkIndent indent) override;
45 
47 
50  vtkSetMacro(ScaleFactor, double);
51  vtkGetMacro(ScaleFactor, double);
53 
55 
61  vtkSetMacro(OutputPointsPrecision, int);
62  vtkGetMacro(OutputPointsPrecision, int);
64 
66 
67 protected:
69  ~vtkWarpVector() override;
70 
72  vtkInformationVector* outputVector) override;
74  double ScaleFactor;
76 
77 private:
78  vtkWarpVector(const vtkWarpVector&) = delete;
79  void operator=(const vtkWarpVector&) = delete;
80 };
81 
82 VTK_ABI_NAMESPACE_END
83 #endif
a simple class to control print indentation
Definition: vtkIndent.h:38
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:34
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:75
double ScaleFactor
Definition: vtkWarpVector.h:74
~vtkWarpVector() override
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447