VTK: Filters/General/vtkWarpTo.h Source File

| VTK 9.3.1

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();
34 vtkTypeMacro(vtkWarpTo, vtkPointSetAlgorithm);
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
65 protected:
66 vtkWarpTo();
67 ~vtkWarpTo() override = default;
68
69 int RequestDataObject(vtkInformation* request, vtkInformationVector** inputVector,
70 vtkInformationVector* outputVector) override;
71 int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) override;
72 double ScaleFactor;
73 double Position[3];
74 vtkTypeBool Absolute;
75
76 private:
77 vtkWarpTo(const vtkWarpTo&) = delete;
78 void operator=(const vtkWarpTo&) = delete;
79 };
80
81 VTK_ABI_NAMESPACE_END
82 #endif
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:40
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:72
vtkPointSetAlgorithm
Superclass for algorithms that produce output of the same type as input.
Definition: vtkPointSetAlgorithm.h:33
vtkWarpTo
deform geometry by warping towards a point
Definition: vtkWarpTo.h:31
vtkWarpTo::~vtkWarpTo
~vtkWarpTo() override=default
vtkWarpTo::Absolute
vtkTypeBool Absolute
Definition: vtkWarpTo.h:74
vtkWarpTo::vtkWarpTo
vtkWarpTo()
vtkWarpTo::ScaleFactor
double ScaleFactor
Definition: vtkWarpTo.h:72
vtkWarpTo::New
static vtkWarpTo * New()
vtkWarpTo::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkWarpTo::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkWarpTo::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkWarpTo::RequestDataObject
int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
vtkParticleTracerBaseNamespace::Position
struct Position_t Position
Definition: vtkParticleTracerBase.h:55
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkTypeBool
int vtkTypeBool
Definition: vtkABI.h:64
vtkPointSetAlgorithm.h