25 #ifndef __vtkWarpLens_h
26 #define __vtkWarpLens_h
28 #include "vtkFiltersGeneralModule.h"
29 #include "vtkPointSetAlgorithm.h"
31 class VTKFILTERSGENERAL_EXPORT
vtkWarpLens :
public vtkPointSetAlgorithm
36 void PrintSelf(ostream& os, vtkIndent indent);
41 void SetKappa(
double kappa);
48 void SetCenter(
double centerX,
double centerY);
54 vtkSetVector2Macro(PrincipalPoint,
double);
55 vtkGetVectorMacro(PrincipalPoint,
double,2);
60 vtkSetMacro(K1,
double);
61 vtkGetMacro(K1,
double);
62 vtkSetMacro(K2,
double);
63 vtkGetMacro(K2,
double);
68 vtkSetMacro(
P1,
double);
69 vtkGetMacro(
P1,
double);
70 vtkSetMacro(
P2,
double);
71 vtkGetMacro(
P2,
double);
76 vtkSetMacro(FormatWidth,
double);
77 vtkGetMacro(FormatWidth,
double);
78 vtkSetMacro(FormatHeight,
double);
79 vtkGetMacro(FormatHeight,
double);
84 vtkSetMacro(ImageWidth,
int);
85 vtkGetMacro(ImageWidth,
int);
86 vtkSetMacro(ImageHeight,
int);
87 vtkGetMacro(ImageHeight,
int);
90 int FillInputPortInformation(
int port, vtkInformation *info);
96 int RequestDataObject(vtkInformation *request,
97 vtkInformationVector **inputVector,
98 vtkInformationVector *outputVector);
99 int RequestData(vtkInformation *,
100 vtkInformationVector **,
101 vtkInformationVector *);
103 double PrincipalPoint[2];
deform geometry by applying lens distortion