VTK  9.3.1
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:
59  vtkWarpVector();
60  ~vtkWarpVector() override;
61 
62  int RequestDataObject(vtkInformation* request, vtkInformationVector** inputVector,
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
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Store vtkAlgorithm input/output information.
virtual int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
a simple class to control print indentation
Definition: vtkIndent.h:28
Superclass for algorithms that produce output of the same type as input.
deform geometry with vector data
Definition: vtkWarpVector.h:24
static vtkPointSetAlgorithm * New()
double ScaleFactor
Definition: vtkWarpVector.h:65
Store zero or more vtkInformation instances.
int OutputPointsPrecision
Definition: vtkWarpVector.h:66