Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

vtkWarpLens Class Reference

#include <vtkWarpLens.h>

Inheritance diagram for vtkWarpLens:

Inheritance graph
[legend]
Collaboration diagram for vtkWarpLens:

Collaboration graph
[legend]
List of all members.

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 30 of file vtkWarpLens.h.

Public Types

typedef vtkPointSetToPointSetFilter Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
void SetKappa (double kappa)
double GetKappa ()
void SetCenter (double centerX, double centerY)
double * GetCenter ()
virtual void SetPrincipalPoint (double, double)
void SetPrincipalPoint (double[2])
virtual double * GetPrincipalPoint ()
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 (vtkObject *o)

Protected Member Functions

 vtkWarpLens ()
 ~vtkWarpLens ()
void Execute ()

Protected Attributes

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


Member Typedef Documentation

typedef vtkPointSetToPointSetFilter vtkWarpLens::Superclass
 

Reimplemented from vtkPointSetToPointSetFilter.

Definition at line 34 of file vtkWarpLens.h.


Constructor & Destructor Documentation

vtkWarpLens::vtkWarpLens  )  [protected]
 

vtkWarpLens::~vtkWarpLens  )  [inline, protected]
 

Definition at line 92 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 vtkObject.

virtual const char* vtkWarpLens::GetClassName  )  [virtual]
 

Reimplemented from vtkPointSetToPointSetFilter.

static int vtkWarpLens::IsTypeOf const char *  type  )  [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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkPointSetToPointSetFilter.

virtual int vtkWarpLens::IsA const char *  type  )  [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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkPointSetToPointSetFilter.

static vtkWarpLens* vtkWarpLens::SafeDownCast vtkObject o  )  [static]
 

Reimplemented from vtkPointSetToPointSetFilter.

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 vtkPointSetToPointSetFilter.

void vtkWarpLens::SetKappa double  kappa  ) 
 

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

double vtkWarpLens::GetKappa  ) 
 

void vtkWarpLens::SetCenter double  centerX,
double  centerY
 

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

double* vtkWarpLens::GetCenter  ) 
 

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

Specify the calibrated principal point of the camera/lens

void vtkWarpLens::SetPrincipalPoint double  [2]  ) 
 

virtual double* vtkWarpLens::GetPrincipalPoint  )  [virtual]
 

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

virtual void vtkWarpLens::SetK1 double   )  [virtual]
 

Specify the symmetric radial distortion parameters for the lens

virtual double vtkWarpLens::GetK1  )  [virtual]
 

virtual void vtkWarpLens::SetK2 double   )  [virtual]
 

virtual double vtkWarpLens::GetK2  )  [virtual]
 

virtual void vtkWarpLens::SetP1 double   )  [virtual]
 

Specify the decentering distortion parameters for the lens

virtual double vtkWarpLens::GetP1  )  [virtual]
 

virtual void vtkWarpLens::SetP2 double   )  [virtual]
 

virtual double vtkWarpLens::GetP2  )  [virtual]
 

virtual void vtkWarpLens::SetFormatWidth double   )  [virtual]
 

Specify the imager format width / height in mm

virtual double vtkWarpLens::GetFormatWidth  )  [virtual]
 

virtual void vtkWarpLens::SetFormatHeight double   )  [virtual]
 

virtual double vtkWarpLens::GetFormatHeight  )  [virtual]
 

virtual void vtkWarpLens::SetImageWidth int   )  [virtual]
 

Specify the image width / height in pixels

virtual int vtkWarpLens::GetImageWidth  )  [virtual]
 

virtual void vtkWarpLens::SetImageHeight int   )  [virtual]
 

virtual int vtkWarpLens::GetImageHeight  )  [virtual]
 

void vtkWarpLens::Execute  )  [protected, virtual]
 

This method is the old style execute method

Reimplemented from vtkSource.


Member Data Documentation

double vtkWarpLens::PrincipalPoint[2] [protected]
 

Definition at line 96 of file vtkWarpLens.h.

double vtkWarpLens::K1 [protected]
 

Definition at line 97 of file vtkWarpLens.h.

double vtkWarpLens::K2 [protected]
 

Definition at line 98 of file vtkWarpLens.h.

double vtkWarpLens::P1 [protected]
 

Definition at line 99 of file vtkWarpLens.h.

double vtkWarpLens::P2 [protected]
 

Definition at line 100 of file vtkWarpLens.h.

double vtkWarpLens::FormatWidth [protected]
 

Definition at line 101 of file vtkWarpLens.h.

double vtkWarpLens::FormatHeight [protected]
 

Definition at line 102 of file vtkWarpLens.h.

int vtkWarpLens::ImageWidth [protected]
 

Definition at line 103 of file vtkWarpLens.h.

int vtkWarpLens::ImageHeight [protected]
 

Definition at line 104 of file vtkWarpLens.h.


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