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=========================================================================*/
35#ifndef vtkWarpTo_h
36#define vtkWarpTo_h
37
38#include "vtkFiltersGeneralModule.h" // For export macro
40
41class VTKFILTERSGENERAL_EXPORT vtkWarpTo : public vtkPointSetAlgorithm
42{
43public:
44 static vtkWarpTo* New();
46 void PrintSelf(ostream& os, vtkIndent indent) override;
47
49
52 vtkSetMacro(ScaleFactor, double);
53 vtkGetMacro(ScaleFactor, double);
55
57
60 vtkGetVectorMacro(Position, double, 3);
61 vtkSetVector3Macro(Position, double);
63
65
69 vtkSetMacro(Absolute, vtkTypeBool);
70 vtkGetMacro(Absolute, vtkTypeBool);
71 vtkBooleanMacro(Absolute, vtkTypeBool);
73
74 int FillInputPortInformation(int port, vtkInformation* info) override;
75
76protected:
78 ~vtkWarpTo() override = default;
79
81 vtkInformationVector* outputVector) override;
84 double Position[3];
86
87private:
88 vtkWarpTo(const vtkWarpTo&) = delete;
89 void operator=(const vtkWarpTo&) = delete;
90};
91
92#endif
a simple class to control print indentation
Definition vtkIndent.h:49
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:42
static vtkWarpTo * New()
~vtkWarpTo() override=default
vtkTypeBool Absolute
Definition vtkWarpTo.h:85
double ScaleFactor
Definition vtkWarpTo.h:83
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