VTK
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:
35  static vtkWarpVector *New();
37  void PrintSelf(ostream& os, vtkIndent indent) override;
38 
40 
43  vtkSetMacro(ScaleFactor,double);
44  vtkGetMacro(ScaleFactor,double);
46 
48 
49 protected:
50  vtkWarpVector();
51  ~vtkWarpVector() override;
52 
53  int RequestDataObject(vtkInformation *request,
54  vtkInformationVector **inputVector,
55  vtkInformationVector *outputVector) override;
58  vtkInformationVector *) override;
59  double ScaleFactor;
60 
61 private:
62  vtkWarpVector(const vtkWarpVector&) = delete;
63  void operator=(const vtkWarpVector&) = delete;
64 };
65 
66 #endif
vtkWarpVector::ScaleFactor
double ScaleFactor
Definition: vtkWarpVector.h:59
vtkPointSetAlgorithm
Superclass for algorithms that produce output of the same type as input.
Definition: vtkPointSetAlgorithm.h:43
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkPointSetAlgorithm.h
vtkX3D::port
Definition: vtkX3D.h:447
vtkPointSetAlgorithm::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Definition: vtkPointSetAlgorithm.h:132
vtkPointSetAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:80
vtkPointSetAlgorithm::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkX3D::info
Definition: vtkX3D.h:376
vtkWarpVector
deform geometry with vector data
Definition: vtkWarpVector.h:32
vtkPointSetAlgorithm::New
static vtkPointSetAlgorithm * New()
vtkPointSetAlgorithm::RequestDataObject
virtual int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.