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=========================================================================*/
62#ifndef vtkWarpTo_h
63#define vtkWarpTo_h
64
65#include "vtkFiltersGeneralModule.h" // For export macro
67
68class VTKFILTERSGENERAL_EXPORT vtkWarpTo : public vtkPointSetAlgorithm
69{
70public:
71 static vtkWarpTo* New();
73 void PrintSelf(ostream& os, vtkIndent indent) override;
74
76
79 vtkSetMacro(ScaleFactor, double);
80 vtkGetMacro(ScaleFactor, double);
82
84
87 vtkGetVectorMacro(Position, double, 3);
88 vtkSetVector3Macro(Position, double);
90
92
96 vtkSetMacro(Absolute, vtkTypeBool);
97 vtkGetMacro(Absolute, vtkTypeBool);
98 vtkBooleanMacro(Absolute, vtkTypeBool);
100
101 int FillInputPortInformation(int port, vtkInformation* info) override;
102
103protected:
105 ~vtkWarpTo() override = default;
106
108 vtkInformationVector* outputVector) override;
111 double Position[3];
113
114private:
115 vtkWarpTo(const vtkWarpTo&) = delete;
116 void operator=(const vtkWarpTo&) = delete;
117};
118
119#endif
a simple class to control print indentation
Definition: vtkIndent.h:113
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:69
static vtkWarpTo * New()
~vtkWarpTo() override=default
vtkTypeBool Absolute
Definition: vtkWarpTo.h:112
double ScaleFactor
Definition: vtkWarpTo.h:110
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:69