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:
63 
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
vtkWarpTo::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info)
vtkPointSetAlgorithm
Superclass for algorithms that produce output of the same type as input.
Definition: vtkPointSetAlgorithm.h:43
vtkSetVector3Macro
#define vtkSetVector3Macro(name, type)
Definition: vtkSetGet.h:287
vtkWarpTo::ScaleFactor
double ScaleFactor
Definition: vtkWarpTo.h:70
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkPointSetAlgorithm.h
vtkWarpTo::RequestDataObject
int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkGetVectorMacro
#define vtkGetVectorMacro(name, type, count)
Definition: vtkSetGet.h:424
vtkWarpTo::vtkWarpTo
vtkWarpTo()
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkFiltersGeneralModule.h
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkWarpTo::New
static vtkWarpTo * New()
VTKFILTERSGENERAL_EXPORT
#define VTKFILTERSGENERAL_EXPORT
Definition: vtkFiltersGeneralModule.h:15
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkWarpTo::~vtkWarpTo
~vtkWarpTo()
Definition: vtkWarpTo.h:62
vtkWarpTo::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkWarpTo::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkWarpTo::Absolute
int Absolute
Definition: vtkWarpTo.h:72
vtkWarpTo
deform geometry by warping towards a point
Definition: vtkWarpTo.h:32