Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages
Graphics/vtkWarpLens.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00040 #ifndef __vtkWarpLens_h
00041 #define __vtkWarpLens_h
00042
00043 #include "vtkPointSetToPointSetFilter.h"
00044
00045 class VTK_GRAPHICS_EXPORT vtkWarpLens : public vtkPointSetToPointSetFilter
00046 {
00047 public:
00048 static vtkWarpLens *New();
00049 vtkTypeRevisionMacro(vtkWarpLens,vtkPointSetToPointSetFilter);
00050 void PrintSelf(ostream& os, vtkIndent indent);
00051
00053
00055 void SetKappa(float kappa);
00056 float GetKappa();
00058
00060
00062 void SetCenter(float centerX, float centerY);
00063 float *GetCenter();
00065
00067
00068 vtkSetVector2Macro(PrincipalPoint,float);
00069 vtkGetVectorMacro(PrincipalPoint,float,2);
00071
00073
00074 vtkSetMacro(K1,float);
00075 vtkGetMacro(K1,float);
00076 vtkSetMacro(K2,float);
00077 vtkGetMacro(K2,float);
00079
00081
00082 vtkSetMacro(P1,float);
00083 vtkGetMacro(P1,float);
00084 vtkSetMacro(P2,float);
00085 vtkGetMacro(P2,float);
00087
00089
00090 vtkSetMacro(FormatWidth,float);
00091 vtkGetMacro(FormatWidth,float);
00092 vtkSetMacro(FormatHeight,float);
00093 vtkGetMacro(FormatHeight,float);
00095
00097
00098 vtkSetMacro(ImageWidth,int);
00099 vtkGetMacro(ImageWidth,int);
00100 vtkSetMacro(ImageHeight,int);
00101 vtkGetMacro(ImageHeight,int);
00103
00104
00105 protected:
00106 vtkWarpLens();
00107 ~vtkWarpLens() {};
00108
00109 void Execute();
00110
00111 float PrincipalPoint[2];
00112 float K1;
00113 float K2;
00114 float P1;
00115 float P2;
00116 float FormatWidth;
00117 float FormatHeight;
00118 int ImageWidth;
00119 int ImageHeight;
00120 private:
00121 vtkWarpLens(const vtkWarpLens&);
00122 void operator=(const vtkWarpLens&);
00123 };
00124
00125 #endif