pop_homography_2d Class Reference

#include <pop_homography_2d.h>

Inheritance diagram for pop_homography_2d:

pop_transform pop_object List of all members.

Detailed Description

A parameter that can be optimized.

Definition at line 25 of file pop_homography_2d.h.


Public Member Functions

 pop_homography_2d (vcl_vector< pop_parameter * > params, pop_vertex *cs1, pop_vertex *cs2)
 constructor.
 ~pop_homography_2d ()
 destructor.
virtual pop_geometric_objecttransform (pop_geometric_object *obj)
 transform a geometric object.
virtual void update ()
 update the transform based on the parameters.
vcl_vector< pop_parameter * > get_parameters ()
 get the parameters.
void set (vcl_vector< pop_parameter * > &params)
 set the parameters.

Protected Attributes

pop_vertexcs1_
pop_vertexcs2_
vcl_vector< pop_parameter * > params_
 the basic parameters.

Private Attributes

vgl_h_matrix_2d< double > trans_

Constructor & Destructor Documentation

pop_homography_2d::pop_homography_2d ( vcl_vector< pop_parameter * >  params,
pop_vertex cs1,
pop_vertex cs2 
)

constructor.

We have an arbitrary 3 by 3 matrix |p1 p2 p3| |p3 p4 p5| |p6 p7 p8|

Definition at line 13 of file pop_homography_2d.cxx.

pop_homography_2d::~pop_homography_2d (  ) 

destructor.

Definition at line 21 of file pop_homography_2d.cxx.


Member Function Documentation

pop_geometric_object * pop_homography_2d::transform ( pop_geometric_object obj  )  [virtual]

transform a geometric object.

Implements pop_transform.

Definition at line 26 of file pop_homography_2d.cxx.

void pop_homography_2d::update (  )  [virtual]

update the transform based on the parameters.

Implements pop_transform.

Definition at line 61 of file pop_homography_2d.cxx.

vcl_vector<pop_parameter*> pop_object::get_parameters (  )  [inline, inherited]

get the parameters.

Definition at line 36 of file pop_object.h.

void pop_object::set ( vcl_vector< pop_parameter * > &  params  )  [inline, inherited]

set the parameters.

Definition at line 39 of file pop_object.h.


Member Data Documentation

vgl_h_matrix_2d<double> pop_homography_2d::trans_ [private]

Definition at line 47 of file pop_homography_2d.h.

pop_vertex* pop_transform::cs1_ [protected, inherited]

Definition at line 40 of file pop_transform.h.

pop_vertex* pop_transform::cs2_ [protected, inherited]

Definition at line 43 of file pop_transform.h.

vcl_vector<pop_parameter*> pop_object::params_ [protected, inherited]

the basic parameters.

Definition at line 47 of file pop_object.h.


The documentation for this class was generated from the following files:
Generated on Thu Jan 8 05:14:42 2009 for contrib/gel/pop by  doxygen 1.5.1