VTK  9.3.20240424
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
53#ifndef vtkWarpTo_h
54#define vtkWarpTo_h
55
56#include "vtkFiltersGeneralModule.h" // For export macro
58
59VTK_ABI_NAMESPACE_BEGIN
60class VTKFILTERSGENERAL_EXPORT vtkWarpTo : public vtkPointSetAlgorithm
61{
62public:
63 static vtkWarpTo* New();
65 void PrintSelf(ostream& os, vtkIndent indent) override;
66
68
71 vtkSetMacro(ScaleFactor, double);
72 vtkGetMacro(ScaleFactor, double);
74
76
79 vtkGetVectorMacro(Position, double, 3);
80 vtkSetVector3Macro(Position, double);
82
84
88 vtkSetMacro(Absolute, vtkTypeBool);
89 vtkGetMacro(Absolute, vtkTypeBool);
90 vtkBooleanMacro(Absolute, vtkTypeBool);
92
93 int FillInputPortInformation(int port, vtkInformation* info) override;
94
95protected:
97 ~vtkWarpTo() override = default;
98
100 vtkInformationVector* outputVector) override;
103 double Position[3];
105
106private:
107 vtkWarpTo(const vtkWarpTo&) = delete;
108 void operator=(const vtkWarpTo&) = delete;
109};
110
111VTK_ABI_NAMESPACE_END
112#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 by warping towards a point
Definition vtkWarpTo.h:61
static vtkWarpTo * New()
~vtkWarpTo() override=default
vtkTypeBool Absolute
Definition vtkWarpTo.h:104
double ScaleFactor
Definition vtkWarpTo.h:102
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.
int vtkTypeBool
Definition vtkABI.h:64