VTK  9.3.0
vtkWarpTo.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
23 #ifndef vtkWarpTo_h
24 #define vtkWarpTo_h
25 
26 #include "vtkFiltersGeneralModule.h" // For export macro
27 #include "vtkPointSetAlgorithm.h"
28 
29 VTK_ABI_NAMESPACE_BEGIN
30 class VTKFILTERSGENERAL_EXPORT vtkWarpTo : public vtkPointSetAlgorithm
31 {
32 public:
33  static vtkWarpTo* New();
35  void PrintSelf(ostream& os, vtkIndent indent) override;
36 
38 
41  vtkSetMacro(ScaleFactor, double);
42  vtkGetMacro(ScaleFactor, double);
44 
46 
49  vtkGetVectorMacro(Position, double, 3);
50  vtkSetVector3Macro(Position, double);
52 
54 
58  vtkSetMacro(Absolute, vtkTypeBool);
59  vtkGetMacro(Absolute, vtkTypeBool);
60  vtkBooleanMacro(Absolute, vtkTypeBool);
62 
64 
65 protected:
67  ~vtkWarpTo() override = default;
68 
70  vtkInformationVector* outputVector) override;
72  double ScaleFactor;
73  double Position[3];
75 
76 private:
77  vtkWarpTo(const vtkWarpTo&) = delete;
78  void operator=(const vtkWarpTo&) = delete;
79 };
80 
81 VTK_ABI_NAMESPACE_END
82 #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 by warping towards a point
Definition: vtkWarpTo.h:31
~vtkWarpTo() override=default
vtkTypeBool Absolute
Definition: vtkWarpTo.h:74
double ScaleFactor
Definition: vtkWarpTo.h:72
static vtkWarpTo * New()
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.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447
int vtkTypeBool
Definition: vtkABI.h:64