VTK  9.2.6
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=========================================================================*/
23#ifndef vtkWarpTo_h
24#define vtkWarpTo_h
25
26#include "vtkFiltersGeneralModule.h" // For export macro
28
29class VTKFILTERSGENERAL_EXPORT vtkWarpTo : public vtkPointSetAlgorithm
30{
31public:
32 static vtkWarpTo* New();
34 void PrintSelf(ostream& os, vtkIndent indent) override;
35
37
40 vtkSetMacro(ScaleFactor, double);
41 vtkGetMacro(ScaleFactor, double);
43
45
48 vtkGetVectorMacro(Position, double, 3);
49 vtkSetVector3Macro(Position, double);
51
53
57 vtkSetMacro(Absolute, vtkTypeBool);
58 vtkGetMacro(Absolute, vtkTypeBool);
59 vtkBooleanMacro(Absolute, vtkTypeBool);
61
62 int FillInputPortInformation(int port, vtkInformation* info) override;
63
64protected:
66 ~vtkWarpTo() override = default;
67
69 vtkInformationVector* outputVector) override;
72 double Position[3];
74
75private:
76 vtkWarpTo(const vtkWarpTo&) = delete;
77 void operator=(const vtkWarpTo&) = delete;
78};
79
80#endif
a simple class to control print indentation
Definition vtkIndent.h:34
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:30
static vtkWarpTo * New()
~vtkWarpTo() override=default
vtkTypeBool Absolute
Definition vtkWarpTo.h:73
double ScaleFactor
Definition vtkWarpTo.h:71
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