opentl::core::cvdata::Pose3dTranslation Class Reference

Implemented class for storing 3D pose parameters (only translation). More...

Inherits opentl::core::cvdata::Pose.

List of all members.

Public Member Functions

virtual Pose3dTranslationclone () const
virtual double getX ()
virtual double getY ()
virtual double getZ ()
virtual int initFromPoints (const math::Matrix &bodyPoints, const math::Matrix &screenPoints, const math::SquareMatrix &intrinsicMat, const math::Vector *linkIdx=NULL)
 Compute LSE pose (world T matrix) from N object-screen point correspondences (also called "PnP problem").
virtual int initFromPointsAndLines (const math::Matrix &bodyPoints, const math::Matrix &screenPoints, const math::Matrix &bodyLines, const math::Matrix &screenLines, const math::SquareMatrix &intrinsicMat, const math::Vector *linkIdxForPoint=NULL, const math::Vector *linkIdxForLine=NULL)
 Compute LSE pose (world T matrix) from N1 object-screen point correspondences and N2 line correspondences.
virtual void initLieAlgGen ()
 Function to init Lie algebra generator for this pose type.
virtual Pose3dTranslationoperator= (const Pose3dTranslation &value)
 Pose3dTranslation (const Pose3dTranslation &value)
 Constructor. Initialize object with existing value object.
 Pose3dTranslation (opentl::core::cvdata::Pose::T_UPDATEMODE updateMode, std::vector< math::Vector2 > *poseLimits=NULL)
 Default constructor.
void setDataFromVal (double x, double y, double z)
virtual void setX (double val)
virtual void setY (double val)
virtual void setZ (double val)
virtual void updateDataFromLocalT ()
 Set pose by homog. transformation matrix.
virtual void updateWorldTFromData ()
 Function to get the pose as homog. transformation matrix T.
virtual ~Pose3dTranslation ()
 Destructor.


Detailed Description

Implemented class for storing 3D pose parameters (only translation).

Vector[0] = x translation Vector[1] = y translation Vector[2] = z translation


Constructor & Destructor Documentation

opentl::core::cvdata::Pose3dTranslation::Pose3dTranslation ( opentl::core::cvdata::Pose::T_UPDATEMODE  updateMode,
std::vector< math::Vector2 > *  poseLimits = NULL 
)

Default constructor.

opentl::core::cvdata::Pose3dTranslation::Pose3dTranslation ( const Pose3dTranslation value  ) 

Constructor. Initialize object with existing value object.

virtual opentl::core::cvdata::Pose3dTranslation::~Pose3dTranslation (  )  [inline, virtual]

Destructor.


Member Function Documentation

virtual Pose3dTranslation* opentl::core::cvdata::Pose3dTranslation::clone (  )  const [virtual]

virtual double opentl::core::cvdata::Pose3dTranslation::getX (  )  [inline, virtual]

Reimplemented from opentl::core::cvdata::Pose.

virtual double opentl::core::cvdata::Pose3dTranslation::getY (  )  [inline, virtual]

Reimplemented from opentl::core::cvdata::Pose.

virtual double opentl::core::cvdata::Pose3dTranslation::getZ (  )  [inline, virtual]

Reimplemented from opentl::core::cvdata::Pose.

virtual int opentl::core::cvdata::Pose3dTranslation::initFromPoints ( const math::Matrix bodyPoints,
const math::Matrix screenPoints,
const math::SquareMatrix intrinsicMat,
const math::Vector linkIdx = NULL 
) [inline, virtual]

Compute LSE pose (world T matrix) from N object-screen point correspondences (also called "PnP problem").

Parameters:
bodyPoints Input points in object space (3xN) or (2xN)
screenPoints Input corresponding points in image space (2xN)
intrinsicMat Input camera calibration matrix (3x3)
linkIdx Input Link ID of each point (for articulated Poses only)
Returns:
Error condition (0 = OK)

Implements opentl::core::cvdata::Pose.

virtual int opentl::core::cvdata::Pose3dTranslation::initFromPointsAndLines ( const math::Matrix bodyPoints,
const math::Matrix screenPoints,
const math::Matrix bodyLines,
const math::Matrix screenLines,
const math::SquareMatrix intrinsicMat,
const math::Vector linkIdxForPoint = NULL,
const math::Vector linkIdxForLine = NULL 
) [inline, virtual]

Compute LSE pose (world T matrix) from N1 object-screen point correspondences and N2 line correspondences.

Parameters:
bodyPoints Input points in object space (3xN1) or (2xN1)
screenPoints Input corresponding points in image space (2xN1)
bodyLines Input line segments in object space (3x2*N2)
screenLines Input corresponding lines in image space (3xN2 for 2D represantation)
intrinsicMat Input camera calibration matrix (3x3)
linkIdxForPoint Input Link ID of each point (for articulated Poses only)
linkIdxForLine Input Link ID of each line (for articulated Poses only)
Returns:
Error condition (0 = OK)

Implements opentl::core::cvdata::Pose.

virtual void opentl::core::cvdata::Pose3dTranslation::initLieAlgGen (  )  [virtual]

Function to init Lie algebra generator for this pose type.

Implements opentl::core::cvdata::Pose.

virtual Pose3dTranslation& opentl::core::cvdata::Pose3dTranslation::operator= ( const Pose3dTranslation value  )  [inline, virtual]

void opentl::core::cvdata::Pose3dTranslation::setDataFromVal ( double  x,
double  y,
double  z 
)

virtual void opentl::core::cvdata::Pose3dTranslation::setX ( double  val  )  [inline, virtual]

Reimplemented from opentl::core::cvdata::Pose.

virtual void opentl::core::cvdata::Pose3dTranslation::setY ( double  val  )  [inline, virtual]

Reimplemented from opentl::core::cvdata::Pose.

virtual void opentl::core::cvdata::Pose3dTranslation::setZ ( double  val  )  [inline, virtual]

Reimplemented from opentl::core::cvdata::Pose.

virtual void opentl::core::cvdata::Pose3dTranslation::updateDataFromLocalT (  )  [virtual]

Set pose by homog. transformation matrix.

Parameters:
matT 

Implements opentl::core::cvdata::Pose.

virtual void opentl::core::cvdata::Pose3dTranslation::updateWorldTFromData (  )  [virtual]

Function to get the pose as homog. transformation matrix T.

Returns:
transformation matrix T

Implements opentl::core::cvdata::Pose.


Generated on Fri Jul 31 17:38:38 2009 for OpenTL by  doxygen 1.5.8