VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkWarpVector.h 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 =========================================================================*/ 00031 #ifndef __vtkWarpVector_h 00032 #define __vtkWarpVector_h 00033 00034 #include "vtkFiltersGeneralModule.h" // For export macro 00035 #include "vtkPointSetAlgorithm.h" 00036 00037 class VTKFILTERSGENERAL_EXPORT vtkWarpVector : public vtkPointSetAlgorithm 00038 { 00039 public: 00040 static vtkWarpVector *New(); 00041 vtkTypeMacro(vtkWarpVector,vtkPointSetAlgorithm); 00042 void PrintSelf(ostream& os, vtkIndent indent); 00043 00045 00046 vtkSetMacro(ScaleFactor,double); 00047 vtkGetMacro(ScaleFactor,double); 00049 00050 int FillInputPortInformation(int port, vtkInformation *info); 00051 00052 protected: 00053 vtkWarpVector(); 00054 ~vtkWarpVector(); 00055 00056 int RequestDataObject(vtkInformation *request, 00057 vtkInformationVector **inputVector, 00058 vtkInformationVector *outputVector); 00059 int RequestData(vtkInformation *, 00060 vtkInformationVector **, 00061 vtkInformationVector *); 00062 double ScaleFactor; 00063 00064 private: 00065 vtkWarpVector(const vtkWarpVector&); // Not implemented. 00066 void operator=(const vtkWarpVector&); // Not implemented. 00067 }; 00068 00069 #endif