Public Member Functions | Static Public Member Functions | Static Public Attributes
Homg2D Class Reference

#include <Homg2D.h>

Inheritance diagram for Homg2D:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 Homg2D ()
 Default constructor.
 Homg2D (const Homg2D &that)
 Copy constructor.
 Homg2D (double px, double py, double pw)
 Construct a Homg2D from three doubles.
 Homg2D (const vnl_vector< double > &v)
 Construct from 3-vector.
 Homg2D (const vnl_vector_fixed< double, 3 > &v)
 Construct from 3-vector.
 ~Homg2D ()
 Destructor.
Homg2Doperator= (const Homg2D &that)
 Assignment.
vnl_double_3 get_vector () const
vnl_double_3 & asVector ()
void get (double *x_ptr, double *y_ptr, double *w_ptr) const
 Retrieve components. Do not attempt to write into null pointers.

Static Public Member Functions

static void set_infinitesimal_tol (double tol)
 Static method to set the default tolerance used for infinitesimal checks.

Static Public Attributes

static double infinity = 1.7976931348623157E+308
 Standard placeholder for methods that wish to return infinity.
static double infinitesimal_tol = 1e-12
 The tolerance used in "near zero" tests in the Homg subclasses.
double x () const
 Return x.
double & x ()
 Return reference to x.
double y () const
 Return y.
double & y ()
 Return reference to y.
double w () const
 Return w.
double & w ()
 Return reference to w.
void set (double px, double py, double pw)
 Set x,y,w.
void set (const vnl_vector_fixed< double, 3 > &v)
 Set from vector.
void set (const vnl_vector< double > &v)
 Set from vector.
void set (unsigned int index, double v)
 Set element.
double get_x () const
 deprecated.
double get_y () const
 deprecated.
double get_w () const
 deprecated.

Detailed Description

Definition at line 26 of file Homg2D.h.


Constructor & Destructor Documentation

Homg2D::Homg2D ( ) [inline]

Default constructor.

Definition at line 33 of file Homg2D.h.

Homg2D::Homg2D ( const Homg2D that) [inline]

Copy constructor.

Definition at line 36 of file Homg2D.h.

Homg2D::Homg2D ( double  px,
double  py,
double  pw 
) [inline]

Construct a Homg2D from three doubles.

Definition at line 39 of file Homg2D.h.

Homg2D::Homg2D ( const vnl_vector< double > &  v) [inline]

Construct from 3-vector.

Definition at line 42 of file Homg2D.h.

Homg2D::Homg2D ( const vnl_vector_fixed< double, 3 > &  v) [inline]

Construct from 3-vector.

Definition at line 45 of file Homg2D.h.

Homg2D::~Homg2D ( ) [inline]

Destructor.

Definition at line 48 of file Homg2D.h.


Member Function Documentation

vnl_double_3& Homg2D::asVector ( ) [inline]

Definition at line 59 of file Homg2D.h.

void Homg2D::get ( double *  x_ptr,
double *  y_ptr,
double *  w_ptr 
) const [inline]

Retrieve components. Do not attempt to write into null pointers.

Definition at line 62 of file Homg2D.h.

vnl_double_3 Homg2D::get_vector ( ) const [inline]

Definition at line 58 of file Homg2D.h.

double Homg2D::get_w ( ) const [inline, private]

deprecated.

Definition at line 92 of file Homg2D.h.

double Homg2D::get_x ( ) const [inline, private]

deprecated.

Definition at line 88 of file Homg2D.h.

double Homg2D::get_y ( ) const [inline, private]

deprecated.

Definition at line 90 of file Homg2D.h.

Homg2D& Homg2D::operator= ( const Homg2D that) [inline]

Assignment.

Definition at line 51 of file Homg2D.h.

void Homg2D::set ( double  px,
double  py,
double  pw 
) [inline]

Set x,y,w.

Definition at line 96 of file Homg2D.h.

void Homg2D::set ( const vnl_vector_fixed< double, 3 > &  v) [inline]

Set from vector.

Definition at line 104 of file Homg2D.h.

void Homg2D::set ( const vnl_vector< double > &  v) [inline]

Set from vector.

Definition at line 107 of file Homg2D.h.

void Homg2D::set ( unsigned int  index,
double  v 
) [inline]

Set element.

Definition at line 110 of file Homg2D.h.

static void Homg::set_infinitesimal_tol ( double  tol) [static, inherited]

Static method to set the default tolerance used for infinitesimal checks.

The default is 1e-12.

double Homg2D::w ( ) const [inline]

Return w.

Definition at line 82 of file Homg2D.h.

double& Homg2D::w ( ) [inline]

Return reference to w.

Definition at line 84 of file Homg2D.h.

double Homg2D::x ( ) const [inline]

Return x.

Definition at line 72 of file Homg2D.h.

double& Homg2D::x ( ) [inline]

Return reference to x.

Definition at line 74 of file Homg2D.h.

double Homg2D::y ( ) const [inline]

Return y.

Definition at line 77 of file Homg2D.h.

double& Homg2D::y ( ) [inline]

Return reference to y.

Definition at line 79 of file Homg2D.h.


Member Data Documentation

double Homg::infinitesimal_tol = 1e-12 [static, inherited]

The tolerance used in "near zero" tests in the Homg subclasses.

Definition at line 32 of file Homg.h.

double Homg::infinity = 1.7976931348623157E+308 [static, inherited]

Standard placeholder for methods that wish to return infinity.

Definition at line 29 of file Homg.h.


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