VTK
dox/Filters/General/vtkWarpTo.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkWarpTo.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 =========================================================================*/
00025 #ifndef __vtkWarpTo_h
00026 #define __vtkWarpTo_h
00027 
00028 #include "vtkFiltersGeneralModule.h" // For export macro
00029 #include "vtkPointSetAlgorithm.h"
00030 
00031 class VTKFILTERSGENERAL_EXPORT vtkWarpTo : public vtkPointSetAlgorithm
00032 {
00033 public:
00034   static vtkWarpTo *New();
00035   vtkTypeMacro(vtkWarpTo,vtkPointSetAlgorithm);
00036   void PrintSelf(ostream& os, vtkIndent indent);
00037 
00039 
00040   vtkSetMacro(ScaleFactor,double);
00041   vtkGetMacro(ScaleFactor,double);
00043 
00045 
00046   vtkGetVectorMacro(Position,double,3);
00047   vtkSetVector3Macro(Position,double);
00049 
00051 
00053   vtkSetMacro(Absolute,int);
00054   vtkGetMacro(Absolute,int);
00055   vtkBooleanMacro(Absolute,int);
00057 
00058   int FillInputPortInformation(int port, vtkInformation *info);
00059 
00060 protected:
00061   vtkWarpTo();
00062   ~vtkWarpTo() {}
00063 
00064   int RequestDataObject(vtkInformation *request,
00065                         vtkInformationVector **inputVector,
00066                         vtkInformationVector *outputVector);
00067   int RequestData(vtkInformation *,
00068                   vtkInformationVector **,
00069                   vtkInformationVector *);
00070   double ScaleFactor;
00071   double Position[3];
00072   int   Absolute;
00073 private:
00074   vtkWarpTo(const vtkWarpTo&);  // Not implemented.
00075   void operator=(const vtkWarpTo&);  // Not implemented.
00076 };
00077 
00078 #endif