VTK  9.1.0
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 =========================================================================*/
95 #ifndef vtkWarpVector_h
96 #define vtkWarpVector_h
97 
98 #include "vtkFiltersGeneralModule.h" // For export macro
99 #include "vtkPointSetAlgorithm.h"
100 
101 class VTKFILTERSGENERAL_EXPORT vtkWarpVector : public vtkPointSetAlgorithm
102 {
103 public:
105 
109  static vtkWarpVector* New();
111  void PrintSelf(ostream& os, vtkIndent indent) override;
113 
115 
118  vtkSetMacro(ScaleFactor, double);
119  vtkGetMacro(ScaleFactor, double);
121 
123 
129  vtkSetMacro(OutputPointsPrecision, int);
130  vtkGetMacro(OutputPointsPrecision, int);
132 
134 
135 protected:
137  ~vtkWarpVector() override;
138 
140  vtkInformationVector* outputVector) override;
142  double ScaleFactor;
144 
145 private:
146  vtkWarpVector(const vtkWarpVector&) = delete;
147  void operator=(const vtkWarpVector&) = delete;
148 };
149 
150 #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 with vector data
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
double ScaleFactor
~vtkWarpVector() override
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453