VTK  9.0.20210616
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 =========================================================================*/
26 #ifndef vtkWarpVector_h
27 #define vtkWarpVector_h
28 
29 #include "vtkFiltersGeneralModule.h" // For export macro
30 #include "vtkPointSetAlgorithm.h"
31 
32 class VTKFILTERSGENERAL_EXPORT vtkWarpVector : public vtkPointSetAlgorithm
33 {
34 public:
36 
40  static vtkWarpVector* New();
42  void PrintSelf(ostream& os, vtkIndent indent) override;
44 
46 
49  vtkSetMacro(ScaleFactor, double);
50  vtkGetMacro(ScaleFactor, double);
52 
54 
60  vtkSetMacro(OutputPointsPrecision, int);
61  vtkGetMacro(OutputPointsPrecision, int);
63 
65 
66 protected:
68  ~vtkWarpVector() override;
69 
71  vtkInformationVector* outputVector) override;
73  double ScaleFactor;
75 
76 private:
77  vtkWarpVector(const vtkWarpVector&) = delete;
78  void operator=(const vtkWarpVector&) = delete;
79 };
80 
81 #endif
vtkWarpVector::ScaleFactor
double ScaleFactor
Definition: vtkWarpVector.h:73
vtkPointSetAlgorithm
Superclass for algorithms that produce output of the same type as input.
Definition: vtkPointSetAlgorithm.h:44
vtkWarpVector::~vtkWarpVector
~vtkWarpVector() override
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:36
vtkWarpVector::New
static vtkWarpVector * New()
Standard methods for instantiation, obtaining type information, and printing.
vtkPointSetAlgorithm.h
vtkWarpVector::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkWarpVector::vtkWarpVector
vtkWarpVector()
vtkX3D::port
@ port
Definition: vtkX3D.h:453
vtkWarpVector::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkWarpVector::RequestDataObject
int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:34
vtkWarpVector::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiation, obtaining type information, and printing.
vtkWarpVector::OutputPointsPrecision
int OutputPointsPrecision
Definition: vtkWarpVector.h:74
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:74
vtkX3D::info
@ info
Definition: vtkX3D.h:382
vtkWarpVector
deform geometry with vector data
Definition: vtkWarpVector.h:33