VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkWarpLens Class Reference

deform geometry by applying lens distortion More...

#include <vtkWarpLens.h>

Inheritance diagram for vtkWarpLens:
Inheritance graph
[legend]
Collaboration diagram for vtkWarpLens:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkPointSetAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkWarpLensNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
int FillInputPortInformation (int port, vtkInformation *info)
void SetKappa (double kappa)
double GetKappa ()
void SetCenter (double centerX, double centerY)
doubleGetCenter ()
virtual void SetPrincipalPoint (double, double)
void SetPrincipalPoint (double[2])
virtual doubleGetPrincipalPoint ()
virtual void GetPrincipalPoint (double data[2])
virtual void SetK1 (double)
virtual double GetK1 ()
virtual void SetK2 (double)
virtual double GetK2 ()
virtual void SetP1 (double)
virtual double GetP1 ()
virtual void SetP2 (double)
virtual double GetP2 ()
virtual void SetFormatWidth (double)
virtual double GetFormatWidth ()
virtual void SetFormatHeight (double)
virtual double GetFormatHeight ()
virtual void SetImageWidth (int)
virtual int GetImageWidth ()
virtual void SetImageHeight (int)
virtual int GetImageHeight ()

Static Public Member Functions

static vtkWarpLensNew ()
static int IsTypeOf (const char *type)
static vtkWarpLensSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkWarpLens ()
 ~vtkWarpLens ()
int RequestDataObject (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Protected Attributes

double PrincipalPoint [2]
double K1
double K2
double P1
double P2
double FormatWidth
double FormatHeight
int ImageWidth
int ImageHeight

Detailed Description

deform geometry by applying lens distortion

vtkWarpLens is a filter that modifies point coordinates by moving in accord with a lens distortion model.

Tests:
vtkWarpLens (Tests)

Definition at line 31 of file vtkWarpLens.h.


Member Typedef Documentation

Reimplemented from vtkPointSetAlgorithm.

Definition at line 35 of file vtkWarpLens.h.


Constructor & Destructor Documentation

vtkWarpLens::vtkWarpLens ( ) [protected]
vtkWarpLens::~vtkWarpLens ( ) [inline, protected]

Definition at line 94 of file vtkWarpLens.h.


Member Function Documentation

static vtkWarpLens* vtkWarpLens::New ( ) [static]

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkPointSetAlgorithm.

static int vtkWarpLens::IsTypeOf ( const char *  name) [static]

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkPointSetAlgorithm.

virtual int vtkWarpLens::IsA ( const char *  name) [virtual]

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkPointSetAlgorithm.

Reimplemented from vtkPointSetAlgorithm.

virtual vtkObjectBase* vtkWarpLens::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkPointSetAlgorithm.

Reimplemented from vtkPointSetAlgorithm.

void vtkWarpLens::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkPointSetAlgorithm.

void vtkWarpLens::SetKappa ( double  kappa)

Specify second order symmetric radial lens distortion parameter. This is obsoleted by newer instance variables.

Specify second order symmetric radial lens distortion parameter. This is obsoleted by newer instance variables.

void vtkWarpLens::SetCenter ( double  centerX,
double  centerY 
)

Specify the center of radial distortion in pixels. This is obsoleted by newer instance variables.

Specify the center of radial distortion in pixels. This is obsoleted by newer instance variables.

virtual void vtkWarpLens::SetPrincipalPoint ( double  ,
double   
) [virtual]

Specify the calibrated principal point of the camera/lens

Specify the calibrated principal point of the camera/lens

virtual double* vtkWarpLens::GetPrincipalPoint ( ) [virtual]

Specify the calibrated principal point of the camera/lens

virtual void vtkWarpLens::GetPrincipalPoint ( double  data[2]) [virtual]

Specify the calibrated principal point of the camera/lens

virtual void vtkWarpLens::SetK1 ( double  ) [virtual]

Specify the symmetric radial distortion parameters for the lens

virtual double vtkWarpLens::GetK1 ( ) [virtual]

Specify the symmetric radial distortion parameters for the lens

virtual void vtkWarpLens::SetK2 ( double  ) [virtual]

Specify the symmetric radial distortion parameters for the lens

virtual double vtkWarpLens::GetK2 ( ) [virtual]

Specify the symmetric radial distortion parameters for the lens

virtual void vtkWarpLens::SetP1 ( double  ) [virtual]

Specify the decentering distortion parameters for the lens

virtual double vtkWarpLens::GetP1 ( ) [virtual]

Specify the decentering distortion parameters for the lens

virtual void vtkWarpLens::SetP2 ( double  ) [virtual]

Specify the decentering distortion parameters for the lens

virtual double vtkWarpLens::GetP2 ( ) [virtual]

Specify the decentering distortion parameters for the lens

virtual void vtkWarpLens::SetFormatWidth ( double  ) [virtual]

Specify the imager format width / height in mm

virtual double vtkWarpLens::GetFormatWidth ( ) [virtual]

Specify the imager format width / height in mm

virtual void vtkWarpLens::SetFormatHeight ( double  ) [virtual]

Specify the imager format width / height in mm

virtual double vtkWarpLens::GetFormatHeight ( ) [virtual]

Specify the imager format width / height in mm

virtual void vtkWarpLens::SetImageWidth ( int  ) [virtual]

Specify the image width / height in pixels

virtual int vtkWarpLens::GetImageWidth ( ) [virtual]

Specify the image width / height in pixels

virtual void vtkWarpLens::SetImageHeight ( int  ) [virtual]

Specify the image width / height in pixels

virtual int vtkWarpLens::GetImageHeight ( ) [virtual]

Specify the image width / height in pixels

int vtkWarpLens::FillInputPortInformation ( int  port,
vtkInformation info 
) [virtual]

Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.

Reimplemented from vtkPointSetAlgorithm.

int vtkWarpLens::RequestDataObject ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

This is called by the superclass. This is the method you should override.

Reimplemented from vtkPointSetAlgorithm.

This is called by the superclass. This is the method you should override.

Reimplemented from vtkPointSetAlgorithm.


Member Data Documentation

Definition at line 103 of file vtkWarpLens.h.

double vtkWarpLens::K1 [protected]

Definition at line 104 of file vtkWarpLens.h.

double vtkWarpLens::K2 [protected]

Definition at line 105 of file vtkWarpLens.h.

double vtkWarpLens::P1 [protected]

Definition at line 106 of file vtkWarpLens.h.

double vtkWarpLens::P2 [protected]

Definition at line 107 of file vtkWarpLens.h.

Definition at line 108 of file vtkWarpLens.h.

Definition at line 109 of file vtkWarpLens.h.

Definition at line 110 of file vtkWarpLens.h.

Definition at line 111 of file vtkWarpLens.h.


The documentation for this class was generated from the following file: