VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 =========================================================================*/
31 #ifndef __vtkWarpVector_h
32 #define __vtkWarpVector_h
33 
34 #include "vtkFiltersGeneralModule.h" // For export macro
35 #include "vtkPointSetAlgorithm.h"
36 
37 class VTKFILTERSGENERAL_EXPORT vtkWarpVector : public vtkPointSetAlgorithm
38 {
39 public:
40  static vtkWarpVector *New();
42  void PrintSelf(ostream& os, vtkIndent indent);
43 
45 
46  vtkSetMacro(ScaleFactor,double);
47  vtkGetMacro(ScaleFactor,double);
49 
50  int FillInputPortInformation(int port, vtkInformation *info);
51 
52 protected:
53  vtkWarpVector();
54  ~vtkWarpVector();
55 
56  int RequestDataObject(vtkInformation *request,
57  vtkInformationVector **inputVector,
58  vtkInformationVector *outputVector);
59  int RequestData(vtkInformation *,
60  vtkInformationVector **,
61  vtkInformationVector *);
62  double ScaleFactor;
63 
64 private:
65  vtkWarpVector(const vtkWarpVector&); // Not implemented.
66  void operator=(const vtkWarpVector&); // Not implemented.
67 };
68 
69 #endif
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Superclass for algorithms that produce output of the same type as input.
deform geometry with vector data
Definition: vtkWarpVector.h:37
static vtkPointSetAlgorithm * New()
double ScaleFactor
Definition: vtkWarpVector.h:62
void PrintSelf(ostream &os, vtkIndent indent)
virtual int FillInputPortInformation(int port, vtkInformation *info)