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 =========================================================================*/
32 #ifndef vtkWarpVector_h
33 #define vtkWarpVector_h
34 
35 #include "vtkFiltersGeneralModule.h" // For export macro
36 #include "vtkPointSetAlgorithm.h"
37 
38 class VTKFILTERSGENERAL_EXPORT vtkWarpVector : public vtkPointSetAlgorithm
39 {
40 public:
41  static vtkWarpVector *New();
43  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
44 
46 
49  vtkSetMacro(ScaleFactor,double);
50  vtkGetMacro(ScaleFactor,double);
52 
53  int FillInputPortInformation(int port, vtkInformation *info) VTK_OVERRIDE;
54 
55 protected:
56  vtkWarpVector();
57  ~vtkWarpVector() VTK_OVERRIDE;
58 
59  int RequestDataObject(vtkInformation *request,
60  vtkInformationVector **inputVector,
61  vtkInformationVector *outputVector) VTK_OVERRIDE;
62  int RequestData(vtkInformation *,
64  vtkInformationVector *) VTK_OVERRIDE;
65  double ScaleFactor;
66 
67 private:
68  vtkWarpVector(const vtkWarpVector&) VTK_DELETE_FUNCTION;
69  void operator=(const vtkWarpVector&) VTK_DELETE_FUNCTION;
70 };
71 
72 #endif
Store vtkAlgorithm input/output information.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
a simple class to control print indentation
Definition: vtkIndent.h:39
Superclass for algorithms that produce output of the same type as input.
deform geometry with vector data
Definition: vtkWarpVector.h:38
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
static vtkPointSetAlgorithm * New()
Store zero or more vtkInformation instances.