VTK  9.1.0
vtkWarpTo.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkWarpTo.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
32#ifndef vtkWarpTo_h
33#define vtkWarpTo_h
34
35#include "vtkFiltersGeneralModule.h" // For export macro
37
38class VTKFILTERSGENERAL_EXPORT vtkWarpTo : public vtkPointSetAlgorithm
39{
40public:
41 static vtkWarpTo* New();
43 void PrintSelf(ostream& os, vtkIndent indent) override;
44
46
49 vtkSetMacro(ScaleFactor, double);
50 vtkGetMacro(ScaleFactor, double);
52
54
57 vtkGetVectorMacro(Position, double, 3);
58 vtkSetVector3Macro(Position, double);
60
62
66 vtkSetMacro(Absolute, vtkTypeBool);
67 vtkGetMacro(Absolute, vtkTypeBool);
68 vtkBooleanMacro(Absolute, vtkTypeBool);
70
72
73protected:
75 ~vtkWarpTo() override = default;
76
78 vtkInformationVector* outputVector) override;
81 double Position[3];
83
84private:
85 vtkWarpTo(const vtkWarpTo&) = delete;
86 void operator=(const vtkWarpTo&) = delete;
87};
88
89#endif
a simple class to control print indentation
Definition: vtkIndent.h:43
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:39
static vtkWarpTo * New()
~vtkWarpTo() override=default
vtkTypeBool Absolute
Definition: vtkWarpTo.h:82
double ScaleFactor
Definition: vtkWarpTo.h:80
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:382
@ port
Definition: vtkX3D.h:453
int vtkTypeBool
Definition: vtkABI.h:69