Public Member Functions | Public Attributes
Homography Class Reference

Represents a homography. More...

#include <Homography.h>

List of all members.

Public Member Functions

bool checkValidity (std::vector< Point2D > &points2)
 Homography ()
 Homography (double homMat[9])
 Homography (const Homography &other)
Homographyoperator= (const Homography &other)
std::string toString ()
Point2D transform (Point2D point2)
void transform (std::vector< Point2D > &points2, std::vector< Point2D > &projPoints)

Public Attributes

double m_HomMat [9]

Detailed Description

Represents a homography.

Author:
David Gossow

Definition at line 19 of file Homography.h.


Constructor & Destructor Documentation

Homography::Homography ( ) [inline]

Definition at line 23 of file Homography.h.

Homography::Homography ( double  homMat[9])
Homography::Homography ( const Homography other)

Member Function Documentation

bool Homography::checkValidity ( std::vector< Point2D > &  points2)
Returns:
true if all the given points lie in front of the camera (z>0)
Homography& Homography::operator= ( const Homography other)
std::string Homography::toString ( )
Point2D Homography::transform ( Point2D  point2)

Transform point2 using the homography

void Homography::transform ( std::vector< Point2D > &  points2,
std::vector< Point2D > &  projPoints 
)

Transform keyPoints2 using the homography and store them in projPoints

Returns:
if one of the resulting points has z<0, that means it would lie behind the camera, return false

Member Data Documentation

Definition at line 46 of file Homography.h.


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


robbie_architecture
Author(s): Viktor Seib
autogenerated on Mon Oct 6 2014 02:53:09