00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkWarpVector.h,v $ 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00028 #ifndef __vtkWarpVector_h 00029 #define __vtkWarpVector_h 00030 00031 #include "vtkPointSetAlgorithm.h" 00032 00033 class VTK_GRAPHICS_EXPORT vtkWarpVector : public vtkPointSetAlgorithm 00034 { 00035 public: 00036 static vtkWarpVector *New(); 00037 vtkTypeRevisionMacro(vtkWarpVector,vtkPointSetAlgorithm); 00038 void PrintSelf(ostream& os, vtkIndent indent); 00039 00041 00042 vtkSetMacro(ScaleFactor,double); 00043 vtkGetMacro(ScaleFactor,double); 00045 00046 protected: 00047 vtkWarpVector(); 00048 ~vtkWarpVector(); 00049 00050 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00051 double ScaleFactor; 00052 00053 private: 00054 vtkWarpVector(const vtkWarpVector&); // Not implemented. 00055 void operator=(const vtkWarpVector&); // Not implemented. 00056 }; 00057 00058 #endif