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
28
29VTK_ABI_NAMESPACE_BEGIN
30class VTKFILTERSGENERAL_EXPORT vtkWarpTo : public vtkPointSetAlgorithm
31{
32public:
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
63 int FillInputPortInformation(int port, vtkInformation* info) override;
64
65protected:
67 ~vtkWarpTo() override = default;
68
70 vtkInformationVector* outputVector) override;
73 double Position[3];
75
76private:
77 vtkWarpTo(const vtkWarpTo&) = delete;
78 void operator=(const vtkWarpTo&) = delete;
79};
80
81VTK_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
static vtkWarpTo * New()
~vtkWarpTo() override=default
vtkTypeBool Absolute
Definition vtkWarpTo.h:74
double ScaleFactor
Definition vtkWarpTo.h:72
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