VTK
dox/Graphics/vtkWarpVector.h
Go to the documentation of this file.
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 "vtkPointSetAlgorithm.h"
00035 
00036 class VTK_GRAPHICS_EXPORT vtkWarpVector : public vtkPointSetAlgorithm
00037 {
00038 public:
00039   static vtkWarpVector *New();
00040   vtkTypeMacro(vtkWarpVector,vtkPointSetAlgorithm);
00041   void PrintSelf(ostream& os, vtkIndent indent);
00042 
00044 
00045   vtkSetMacro(ScaleFactor,double);
00046   vtkGetMacro(ScaleFactor,double);
00048 
00049   int FillInputPortInformation(int port, vtkInformation *info);
00050 
00051 protected:
00052   vtkWarpVector();
00053   ~vtkWarpVector();
00054 
00055   int RequestDataObject(vtkInformation *request,
00056                         vtkInformationVector **inputVector,
00057                         vtkInformationVector *outputVector);
00058   int RequestData(vtkInformation *,
00059                   vtkInformationVector **,
00060                   vtkInformationVector *);
00061   double ScaleFactor;
00062 
00063 private:
00064   vtkWarpVector(const vtkWarpVector&);  // Not implemented.
00065   void operator=(const vtkWarpVector&);  // Not implemented.
00066 };
00067 
00068 #endif