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 "vtkPointSetAlgorithm.h"
29 
31 {
32 public:
33  static vtkWarpTo *New();
35  void PrintSelf(ostream& os, vtkIndent indent);
36 
38 
39  vtkSetMacro(ScaleFactor,double);
40  vtkGetMacro(ScaleFactor,double);
42 
44 
45  vtkGetVectorMacro(Position,double,3);
46  vtkSetVector3Macro(Position,double);
48 
50 
52  vtkSetMacro(Absolute,int);
53  vtkGetMacro(Absolute,int);
54  vtkBooleanMacro(Absolute,int);
56 
57 protected:
58  vtkWarpTo();
59  ~vtkWarpTo() {};
60 
62  double ScaleFactor;
63  double Position[3];
64  int Absolute;
65 private:
66  vtkWarpTo(const vtkWarpTo&); // Not implemented.
67  void operator=(const vtkWarpTo&); // Not implemented.
68 };
69 
70 #endif
#define VTK_GRAPHICS_EXPORT
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Store vtkAlgorithm input/output information.
double ScaleFactor
Definition: vtkWarpTo.h:62
~vtkWarpTo()
Definition: vtkWarpTo.h:59
a simple class to control print indentation
Definition: vtkIndent.h:37
Superclass for algorithms that produce output of the same type as input.
deform geometry by warping towards a point
Definition: vtkWarpTo.h:30
static vtkPointSetAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Store zero or more vtkInformation instances.
int Absolute
Definition: vtkWarpTo.h:64