Public Member Functions | Public Attributes
ArmModel Class Reference

List of all members.

Public Member Functions

 ArmModel ()
float distanceToArm (cv::Point2f p, cv::Mat &depth_frame)
float distanceToArm (cv::Point2f p, std::vector< cv::Point > &chain, cv::Mat &depth_frame)
std::vector< cv::Pointoperator[] (unsigned int i)
float pointLineDistance (cv::Point2f p, cv::Point2f l0, cv::Point2f l1, cv::Mat &depth_frame)
float pointPointDistance (cv::Point2f &p, cv::Point2f &q, cv::Mat &depth_frame)
unsigned int size ()

Public Attributes

std::vector< cv::Pointarms
std::vector< cv::Pointhands
bool l_arm_on
std::vector< cv::Pointl_chain
bool l_hand_on
bool r_arm_on
std::vector< cv::Pointr_chain
bool r_hand_on

Detailed Description

Definition at line 19 of file motion_graphcut.cpp.


Constructor & Destructor Documentation

ArmModel::ArmModel ( ) [inline]

Definition at line 22 of file motion_graphcut.cpp.


Member Function Documentation

float ArmModel::distanceToArm ( cv::Point2f  p,
cv::Mat &  depth_frame 
) [inline]

Return the distance to the closest point on the arm from an image point p

Parameters:
pThe point in the image
Returns:
The distance to the closest point on any in-image arm

Definition at line 53 of file motion_graphcut.cpp.

float ArmModel::distanceToArm ( cv::Point2f  p,
std::vector< cv::Point > &  chain,
cv::Mat &  depth_frame 
) [inline]

Definition at line 69 of file motion_graphcut.cpp.

std::vector<cv::Point> ArmModel::operator[] ( unsigned int  i) [inline]

Definition at line 33 of file motion_graphcut.cpp.

float ArmModel::pointLineDistance ( cv::Point2f  p,
cv::Point2f  l0,
cv::Point2f  l1,
cv::Mat &  depth_frame 
) [inline]

Definition at line 86 of file motion_graphcut.cpp.

float ArmModel::pointPointDistance ( cv::Point2f &  p,
cv::Point2f &  q,
cv::Mat &  depth_frame 
) [inline]

Definition at line 138 of file motion_graphcut.cpp.

unsigned int ArmModel::size ( ) [inline]

Definition at line 28 of file motion_graphcut.cpp.


Member Data Documentation

Definition at line 151 of file motion_graphcut.cpp.

Definition at line 150 of file motion_graphcut.cpp.

Definition at line 156 of file motion_graphcut.cpp.

Definition at line 152 of file motion_graphcut.cpp.

Definition at line 154 of file motion_graphcut.cpp.

Definition at line 157 of file motion_graphcut.cpp.

Definition at line 153 of file motion_graphcut.cpp.

Definition at line 155 of file motion_graphcut.cpp.


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


tabletop_pushing
Author(s): Tucker Hermans
autogenerated on Wed Nov 27 2013 11:59:44