00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkWarpVector.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 =========================================================================*/ 00047 #ifndef __vtkWarpVector_h 00048 #define __vtkWarpVector_h 00049 00050 #include "vtkPointSetToPointSetFilter.h" 00051 00052 class VTK_GRAPHICS_EXPORT vtkWarpVector : public vtkPointSetToPointSetFilter 00053 { 00054 public: 00055 static vtkWarpVector *New(); 00056 vtkTypeRevisionMacro(vtkWarpVector,vtkPointSetToPointSetFilter); 00057 void PrintSelf(ostream& os, vtkIndent indent); 00058 00060 00061 vtkSetMacro(ScaleFactor,float); 00062 vtkGetMacro(ScaleFactor,float); 00064 00065 protected: 00066 vtkWarpVector(); 00067 ~vtkWarpVector(); 00068 00069 void Execute(); 00070 float ScaleFactor; 00071 00072 char *InputVectorsSelection; 00073 vtkSetStringMacro(InputVectorsSelection); 00074 00075 private: 00076 vtkWarpVector(const vtkWarpVector&); // Not implemented. 00077 void operator=(const vtkWarpVector&); // Not implemented. 00078 }; 00079 00080 #endif