Feature point, scale and orientation. More...
#include <mfpf_pose.h>
| Public Member Functions | |
| const vgl_point_2d< double > & | p () const | 
| Position. | |
| vgl_point_2d< double > & | p () | 
| Position. | |
| const vgl_vector_2d< double > & | u () const | 
| Scale and orientation defined by basis vector. | |
| vgl_vector_2d< double > | v () const | 
| Vector of same size, orthogonal to u(). | |
| vgl_vector_2d< double > & | u () | 
| Scale and orientation defined by basis vector. | |
| mfpf_pose (const vgl_point_2d< double > &p, const vgl_vector_2d< double > &u) | |
| Constructor. | |
| mfpf_pose (double px, double py, double ux, double uy) | |
| Constructor. Defines translation (px,py), basis vector (ux,uy). | |
| mfpf_pose () | |
| Default constructor. | |
| double | sqr_scale () const | 
| Square of scaling factor applied by this pose. | |
| double | scale () const | 
| Scaling applied by this pose. | |
| vgl_point_2d< double > | operator() (double x, double y) const | 
| Apply pose transformation (map from ref frame to pose). | |
| vgl_point_2d< double > | operator() (const vgl_point_2d< double > &q) const | 
| Apply pose transformation (map from ref frame to pose). | |
| vgl_point_2d< double > | apply_inverse (double x, double y) const | 
| Apply inverse of pose transformation (map from pose frame -> ref). | |
| vgl_point_2d< double > | apply_inverse (const vgl_point_2d< double > &q) const | 
| Apply inverse of pose transformation (map from pose frame -> ref). | |
| mfpf_pose | rel_pose (const mfpf_pose &pose) const | 
| Return pose in co-ordinates defined by this pose. | |
| mfpf_pose | inverse () const | 
| Return pose applying inverse of this pose. | |
| Private Attributes | |
| vgl_point_2d< double > | p_ | 
| Position. | |
| vgl_vector_2d< double > | u_ | 
| Scale and orientation defined by basis vector. | |
Feature point, scale and orientation.
Basis for object given by u(),v(). Thus point (i,j) in model given by p()+i*u() + j*v() in world;
Definition at line 20 of file mfpf_pose.h.
| mfpf_pose::mfpf_pose | ( | const vgl_point_2d< double > & | p, | 
| const vgl_vector_2d< double > & | u | ||
| ) |  [inline] | 
Constructor.
Definition at line 45 of file mfpf_pose.h.
| mfpf_pose::mfpf_pose | ( | double | px, | 
| double | py, | ||
| double | ux, | ||
| double | uy | ||
| ) |  [inline] | 
Constructor. Defines translation (px,py), basis vector (ux,uy).
Definition at line 49 of file mfpf_pose.h.
| mfpf_pose::mfpf_pose | ( | ) |  [inline] | 
Default constructor.
Definition at line 53 of file mfpf_pose.h.
| vgl_point_2d<double> mfpf_pose::apply_inverse | ( | double | x, | 
| double | y | ||
| ) | const  [inline] | 
Apply inverse of pose transformation (map from pose frame -> ref).
Definition at line 75 of file mfpf_pose.h.
| vgl_point_2d<double> mfpf_pose::apply_inverse | ( | const vgl_point_2d< double > & | q | ) | const  [inline] | 
Apply inverse of pose transformation (map from pose frame -> ref).
Definition at line 83 of file mfpf_pose.h.
| mfpf_pose mfpf_pose::inverse | ( | ) | const  [inline] | 
Return pose applying inverse of this pose.
Definition at line 100 of file mfpf_pose.h.
| vgl_point_2d<double> mfpf_pose::operator() | ( | double | x, | 
| double | y | ||
| ) | const  [inline] | 
Apply pose transformation (map from ref frame to pose).
Definition at line 65 of file mfpf_pose.h.
| vgl_point_2d<double> mfpf_pose::operator() | ( | const vgl_point_2d< double > & | q | ) | const  [inline] | 
Apply pose transformation (map from ref frame to pose).
Definition at line 70 of file mfpf_pose.h.
| const vgl_point_2d<double>& mfpf_pose::p | ( | ) | const  [inline] | 
Position.
Definition at line 29 of file mfpf_pose.h.
| vgl_point_2d<double>& mfpf_pose::p | ( | ) |  [inline] | 
Position.
Definition at line 32 of file mfpf_pose.h.
Return pose in co-ordinates defined by this pose.
I.e., pose(p) == *this(rel_pose(pose)(p))
Definition at line 92 of file mfpf_pose.h.
| double mfpf_pose::scale | ( | ) | const  [inline] | 
Scaling applied by this pose.
Definition at line 59 of file mfpf_pose.h.
| double mfpf_pose::sqr_scale | ( | ) | const  [inline] | 
Square of scaling factor applied by this pose.
Definition at line 56 of file mfpf_pose.h.
| const vgl_vector_2d<double>& mfpf_pose::u | ( | ) | const  [inline] | 
Scale and orientation defined by basis vector.
Definition at line 35 of file mfpf_pose.h.
| vgl_vector_2d<double>& mfpf_pose::u | ( | ) |  [inline] | 
Scale and orientation defined by basis vector.
Definition at line 42 of file mfpf_pose.h.
| vgl_vector_2d<double> mfpf_pose::v | ( | ) | const  [inline] | 
Vector of same size, orthogonal to u().
Definition at line 38 of file mfpf_pose.h.
| vgl_point_2d<double> mfpf_pose::p_  [private] | 
Position.
Definition at line 23 of file mfpf_pose.h.
| vgl_vector_2d<double> mfpf_pose::u_  [private] | 
Scale and orientation defined by basis vector.
Definition at line 26 of file mfpf_pose.h.
 1.7.5.1
 1.7.5.1