VTK  9.2.6
vtkWarpVector.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkWarpVector.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 =========================================================================*/
38 #ifndef vtkWarpVector_h
39 #define vtkWarpVector_h
40 
41 #include "vtkFiltersGeneralModule.h" // For export macro
42 #include "vtkPointSetAlgorithm.h"
43 
44 class VTKFILTERSGENERAL_EXPORT vtkWarpVector : public vtkPointSetAlgorithm
45 {
46 public:
48 
52  static vtkWarpVector* New();
54  void PrintSelf(ostream& os, vtkIndent indent) override;
56 
58 
61  vtkSetMacro(ScaleFactor, double);
62  vtkGetMacro(ScaleFactor, double);
64 
66 
72  vtkSetMacro(OutputPointsPrecision, int);
73  vtkGetMacro(OutputPointsPrecision, int);
75 
77 
78 protected:
80  ~vtkWarpVector() override;
81 
83  vtkInformationVector* outputVector) override;
85  double ScaleFactor;
87 
88 private:
89  vtkWarpVector(const vtkWarpVector&) = delete;
90  void operator=(const vtkWarpVector&) = delete;
91 };
92 
93 #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 with vector data
Definition: vtkWarpVector.h:45
static vtkWarpVector * New()
Standard methods for instantiation, obtaining type information, and printing.
int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiation, obtaining type information, and printing.
int OutputPointsPrecision
Definition: vtkWarpVector.h:86
double ScaleFactor
Definition: vtkWarpVector.h:85
~vtkWarpVector() override
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453