Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

dox/Graphics/vtkWarpTo.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkWarpTo.h,v $
00005   Language:  C++
00006 
00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
00008   All rights reserved.
00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00010 
00011      This software is distributed WITHOUT ANY WARRANTY; without even 
00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00013      PURPOSE.  See the above copyright notice for more information.
00014 
00015 =========================================================================*/
00029 #ifndef __vtkWarpTo_h
00030 #define __vtkWarpTo_h
00031 
00032 #include "vtkPointSetToPointSetFilter.h"
00033 
00034 class VTK_GRAPHICS_EXPORT vtkWarpTo : public vtkPointSetToPointSetFilter
00035 {
00036 public:
00037   static vtkWarpTo *New();
00038   vtkTypeRevisionMacro(vtkWarpTo,vtkPointSetToPointSetFilter);
00039   void PrintSelf(ostream& os, vtkIndent indent);
00040 
00042 
00043   vtkSetMacro(ScaleFactor,float);
00044   vtkGetMacro(ScaleFactor,float);
00046 
00048 
00049   vtkGetVectorMacro(Position,float,3);
00050   vtkSetVector3Macro(Position,float);
00052 
00054 
00056   vtkSetMacro(Absolute,int);
00057   vtkGetMacro(Absolute,int);
00058   vtkBooleanMacro(Absolute,int);
00060   
00061 protected:
00062   vtkWarpTo(); 
00063   ~vtkWarpTo() {};
00064 
00065   void Execute();
00066   float ScaleFactor;
00067   float Position[3];
00068   int   Absolute;
00069 private:
00070   vtkWarpTo(const vtkWarpTo&);  // Not implemented.
00071   void operator=(const vtkWarpTo&);  // Not implemented.
00072 };
00073 
00074 #endif