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
19
20VTK_ABI_NAMESPACE_BEGIN
21class VTKFILTERSGENERAL_EXPORT vtkWarpTo : public vtkPointSetAlgorithm
22{
23public:
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
54 int FillInputPortInformation(int port, vtkInformation* info) override;
55
56protected:
58 ~vtkWarpTo() override = default;
59
61 vtkInformationVector* outputVector) override;
64 double Position[3];
66
67private:
68 vtkWarpTo(const vtkWarpTo&) = delete;
69 void operator=(const vtkWarpTo&) = delete;
70};
71
72VTK_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
static vtkWarpTo * New()
~vtkWarpTo() override=default
vtkTypeBool Absolute
Definition vtkWarpTo.h:65
double ScaleFactor
Definition vtkWarpTo.h:63
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