VTK
vtkWarpTo.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkWarpTo.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 =========================================================================*/
25 #ifndef vtkWarpTo_h
26 #define vtkWarpTo_h
27 
28 #include "vtkFiltersGeneralModule.h" // For export macro
29 #include "vtkPointSetAlgorithm.h"
30 
32 {
33 public:
34  static vtkWarpTo *New();
36  void PrintSelf(ostream& os, vtkIndent indent);
37 
39 
40  vtkSetMacro(ScaleFactor,double);
41  vtkGetMacro(ScaleFactor,double);
43 
45 
46  vtkGetVectorMacro(Position,double,3);
47  vtkSetVector3Macro(Position,double);
49 
51 
53  vtkSetMacro(Absolute,int);
54  vtkGetMacro(Absolute,int);
55  vtkBooleanMacro(Absolute,int);
57 
59 
60 protected:
61  vtkWarpTo();
63 
64  int RequestDataObject(vtkInformation *request,
65  vtkInformationVector **inputVector,
66  vtkInformationVector *outputVector);
70  double ScaleFactor;
71  double Position[3];
72  int Absolute;
73 private:
74  vtkWarpTo(const vtkWarpTo&); // Not implemented.
75  void operator=(const vtkWarpTo&); // Not implemented.
76 };
77 
78 #endif
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Store vtkAlgorithm input/output information.
virtual int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
double ScaleFactor
Definition: vtkWarpTo.h:70
~vtkWarpTo()
Definition: vtkWarpTo.h:62
a simple class to control print indentation
Definition: vtkIndent.h:38
Superclass for algorithms that produce output of the same type as input.
#define VTKFILTERSGENERAL_EXPORT
deform geometry by warping towards a point
Definition: vtkWarpTo.h:31
static vtkPointSetAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Store zero or more vtkInformation instances.
int Absolute
Definition: vtkWarpTo.h:72
virtual int FillInputPortInformation(int port, vtkInformation *info)