VTK
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=========================================================================*/
26#ifndef vtkWarpTo_h
27#define vtkWarpTo_h
28
29#include "vtkFiltersGeneralModule.h" // For export macro
31
32class VTKFILTERSGENERAL_EXPORT vtkWarpTo : public vtkPointSetAlgorithm
33{
34public:
35 static vtkWarpTo *New();
37 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
38
40
43 vtkSetMacro(ScaleFactor,double);
44 vtkGetMacro(ScaleFactor,double);
46
48
51 vtkGetVectorMacro(Position,double,3);
52 vtkSetVector3Macro(Position,double);
54
56
60 vtkSetMacro(Absolute,int);
61 vtkGetMacro(Absolute,int);
62 vtkBooleanMacro(Absolute,int);
64
66
67protected:
69 ~vtkWarpTo() VTK_OVERRIDE {}
70
72 vtkInformationVector **inputVector,
73 vtkInformationVector *outputVector) VTK_OVERRIDE;
76 vtkInformationVector *) VTK_OVERRIDE;
78 double Position[3];
80private:
81 vtkWarpTo(const vtkWarpTo&) VTK_DELETE_FUNCTION;
82 void operator=(const vtkWarpTo&) VTK_DELETE_FUNCTION;
83};
84
85#endif
a simple class to control print indentation
Definition: vtkIndent.h:40
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:33
static vtkWarpTo * New()
int Absolute
Definition: vtkWarpTo.h:79
~vtkWarpTo() override
Definition: vtkWarpTo.h:69
double ScaleFactor
Definition: vtkWarpTo.h:77
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:376
@ port
Definition: vtkX3D.h:447
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.