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
14 #ifndef vtkWarpTo_h
15 #define vtkWarpTo_h
16 
17 #include "vtkFiltersGeneralModule.h" // For export macro
18 #include "vtkPointSetAlgorithm.h"
19 
20 VTK_ABI_NAMESPACE_BEGIN
21 class VTKFILTERSGENERAL_EXPORT vtkWarpTo : public vtkPointSetAlgorithm
22 {
23 public:
24  static vtkWarpTo* New();
26  void PrintSelf(ostream& os, vtkIndent indent) override;
27 
29 
32  vtkSetMacro(ScaleFactor, double);
33  vtkGetMacro(ScaleFactor, double);
35 
37 
40  vtkGetVectorMacro(Position, double, 3);
41  vtkSetVector3Macro(Position, double);
43 
45 
49  vtkSetMacro(Absolute, vtkTypeBool);
50  vtkGetMacro(Absolute, vtkTypeBool);
51  vtkBooleanMacro(Absolute, vtkTypeBool);
53 
55 
56 protected:
58  ~vtkWarpTo() override = default;
59 
61  vtkInformationVector* outputVector) override;
63  double ScaleFactor;
64  double Position[3];
66 
67 private:
68  vtkWarpTo(const vtkWarpTo&) = delete;
69  void operator=(const vtkWarpTo&) = delete;
70 };
71 
72 VTK_ABI_NAMESPACE_END
73 #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 by warping towards a point
Definition: vtkWarpTo.h:22
~vtkWarpTo() override=default
vtkTypeBool Absolute
Definition: vtkWarpTo.h:65
double ScaleFactor
Definition: vtkWarpTo.h:63
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