VTK  9.2.5
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=========================================================================*/
29#ifndef vtkWarpVector_h
30#define vtkWarpVector_h
31
32#include "vtkFiltersGeneralModule.h" // For export macro
34
35class VTKFILTERSGENERAL_EXPORT vtkWarpVector : public vtkPointSetAlgorithm
36{
37public:
39
43 static vtkWarpVector* New();
45 void PrintSelf(ostream& os, vtkIndent indent) override;
47
49
52 vtkSetMacro(ScaleFactor, double);
53 vtkGetMacro(ScaleFactor, double);
55
57
63 vtkSetMacro(OutputPointsPrecision, int);
64 vtkGetMacro(OutputPointsPrecision, int);
66
67 int FillInputPortInformation(int port, vtkInformation* info) override;
68
69protected:
71 ~vtkWarpVector() override;
72
74 vtkInformationVector* outputVector) override;
78
79private:
80 vtkWarpVector(const vtkWarpVector&) = delete;
81 void operator=(const vtkWarpVector&) = delete;
82};
83
84#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 with vector data
Definition: vtkWarpVector.h:36
int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
static vtkWarpVector * New()
Standard methods for instantiation, obtaining type information, and printing.
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:77
double ScaleFactor
Definition: vtkWarpVector.h:76
~vtkWarpVector() override
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.