Public Member Functions | Private Types
HMatrix3D Class Reference

#include <HMatrix3D.h>

List of all members.

Public Member Functions

 HMatrix3D ()
 Default constructor.
 HMatrix3D (const HMatrix3D &M)
 Copy constructor.
 HMatrix3D (vnl_double_4x4 const &M)
 Constructor.
 HMatrix3D (vnl_double_3x3 const &M, vnl_double_3 const &m)
 Construct an affine HMatrix3D from 3x3 M and 3x1 m.
 HMatrix3D (const double *t_matrix)
 Construct from a 16-element row-storage array of double.
 HMatrix3D (vcl_istream &)
 Load H from ASCII vcl_istream.
 ~HMatrix3D ()
 Destructor.
HomgPoint3D transform (const HomgPoint3D &x1) const
vgl_homg_point_3d< double > transform (const vgl_homg_point_3d< double > &x1) const
HomgLine3D transform (const HomgLine3D &l1) const
 Return the transformed line given by $ l_2 = T l_1 $.
bool load (vcl_istream &)
 Load H from ASCII file.
double get (unsigned int row_index, unsigned int col_index) const
 Get matrix element at (row_index, col_index).
void get (double *t_matrix) const
 Fill t_matrix with contents of H.
void get (vnl_matrix< double > *t_matrix) const
 Fill t_matrix with contents of H.
HMatrix3D get_inverse () const
 Return the inverse of this HMatrix3D. *Not* using vnl_svd.

Private Types

typedef vnl_double_4x4 Base

Detailed Description

Definition at line 30 of file HMatrix3D.h.


Member Typedef Documentation

typedef vnl_double_4x4 HMatrix3D::Base [private]

Definition at line 32 of file HMatrix3D.h.


Constructor & Destructor Documentation

HMatrix3D::HMatrix3D ( )

Default constructor.

Definition at line 25 of file HMatrix3D.cxx.

HMatrix3D::HMatrix3D ( const HMatrix3D M)

Copy constructor.

Definition at line 30 of file HMatrix3D.cxx.

HMatrix3D::HMatrix3D ( vnl_double_4x4 const &  M)

Constructor.

Definition at line 38 of file HMatrix3D.cxx.

HMatrix3D::HMatrix3D ( vnl_double_3x3 const &  M,
vnl_double_3 const &  m 
)

Construct an affine HMatrix3D from 3x3 M and 3x1 m.

\[ H = \begin{array}{cc} M & m\\ 0 & 1 \end{array} \]

Definition at line 56 of file HMatrix3D.cxx.

HMatrix3D::HMatrix3D ( const double *  t_matrix)

Construct from a 16-element row-storage array of double.

Definition at line 75 of file HMatrix3D.cxx.

HMatrix3D::HMatrix3D ( vcl_istream &  s)

Load H from ASCII vcl_istream.

Definition at line 46 of file HMatrix3D.cxx.

HMatrix3D::~HMatrix3D ( )

Destructor.

Definition at line 81 of file HMatrix3D.cxx.


Member Function Documentation

double HMatrix3D::get ( unsigned int  row_index,
unsigned int  col_index 
) const

Get matrix element at (row_index, col_index).

Definition at line 138 of file HMatrix3D.cxx.

void HMatrix3D::get ( double *  t_matrix) const

Fill t_matrix with contents of H.

Definition at line 145 of file HMatrix3D.cxx.

void HMatrix3D::get ( vnl_matrix< double > *  t_matrix) const

Fill t_matrix with contents of H.

Definition at line 154 of file HMatrix3D.cxx.

HMatrix3D HMatrix3D::get_inverse ( ) const

Return the inverse of this HMatrix3D. *Not* using vnl_svd.

Definition at line 161 of file HMatrix3D.cxx.

bool HMatrix3D::load ( vcl_istream &  s)

Load H from ASCII file.

Definition at line 121 of file HMatrix3D.cxx.

HomgPoint3D HMatrix3D::transform ( const HomgPoint3D x1) const

Definition at line 91 of file HMatrix3D.cxx.

vgl_homg_point_3d<double> HMatrix3D::transform ( const vgl_homg_point_3d< double > &  x1) const [inline]

Definition at line 45 of file HMatrix3D.h.

HomgLine3D HMatrix3D::transform ( const HomgLine3D l1) const

Return the transformed line given by $ l_2 = T l_1 $.

Definition at line 100 of file HMatrix3D.cxx.


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