VTK  9.3.20240418
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
86 #ifndef vtkWarpVector_h
87 #define vtkWarpVector_h
88 
89 #include "vtkFiltersGeneralModule.h" // For export macro
90 #include "vtkPointSetAlgorithm.h"
91 
92 VTK_ABI_NAMESPACE_BEGIN
93 class VTKFILTERSGENERAL_EXPORT vtkWarpVector : public vtkPointSetAlgorithm
94 {
95 public:
97 
101  static vtkWarpVector* New();
103  void PrintSelf(ostream& os, vtkIndent indent) override;
105 
107 
110  vtkSetMacro(ScaleFactor, double);
111  vtkGetMacro(ScaleFactor, double);
113 
115 
121  vtkSetMacro(OutputPointsPrecision, int);
122  vtkGetMacro(OutputPointsPrecision, int);
124 
126 
127 protected:
129  ~vtkWarpVector() override;
130 
132  vtkInformationVector* outputVector) override;
134  double ScaleFactor;
136 
137 private:
138  vtkWarpVector(const vtkWarpVector&) = delete;
139  void operator=(const vtkWarpVector&) = delete;
140 };
141 
142 VTK_ABI_NAMESPACE_END
143 #endif
a simple class to control print indentation
Definition: vtkIndent.h:108
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:94
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
double ScaleFactor
~vtkWarpVector() override
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447