Defines pose and shape (box/ellipse etc) of a region. More...
#include <mfpf_region_form.h>
Public Member Functions | |
mfpf_region_form (const mfpf_pose &p, vcl_string form, double wi, double wj) | |
Constructor. | |
mfpf_region_form () | |
Default constructor. | |
mfpf_pose & | pose () |
Pose (position + scale/orientation). | |
double & | wi () |
Width of shape along pose().u(). | |
double & | wj () |
Width of shape along pose().v(). | |
vcl_string & | form () |
Name of form of shape ("box","ellipse"). | |
const mfpf_pose & | pose () const |
Pose (position + scale/orientation). | |
double | wi () const |
Width of shape along pose().u(). | |
double | wj () const |
Width of shape along pose().v(). | |
const vcl_string & | form () const |
Name of form of shape ("box","ellipse"). | |
Public Attributes | |
mfpf_pose | pose_ |
Pose (position + scale/orientation). | |
double | wi_ |
Width of shape along pose().u(). | |
double | wj_ |
Width of shape along pose().v(). | |
vcl_string | form_ |
Name of form of shape ("box","ellipse"). |
Defines pose and shape (box/ellipse etc) of a region.
General purpose object. form() gives shape (eg "box", "ellipse") pose gives position, orientation and scale. wi() and wj() give width and height in a reference frame, which is mapped to the world frame by pose.
Definition at line 17 of file mfpf_region_form.h.
mfpf_region_form::mfpf_region_form | ( | const mfpf_pose & | p, |
vcl_string | form, | ||
double | wi, | ||
double | wj | ||
) | [inline] |
Constructor.
Definition at line 33 of file mfpf_region_form.h.
mfpf_region_form::mfpf_region_form | ( | ) | [inline] |
Default constructor.
Definition at line 38 of file mfpf_region_form.h.
vcl_string& mfpf_region_form::form | ( | ) | [inline] |
Name of form of shape ("box","ellipse").
Definition at line 49 of file mfpf_region_form.h.
const vcl_string& mfpf_region_form::form | ( | ) | const [inline] |
Name of form of shape ("box","ellipse").
Definition at line 60 of file mfpf_region_form.h.
mfpf_pose& mfpf_region_form::pose | ( | ) | [inline] |
Pose (position + scale/orientation).
Definition at line 41 of file mfpf_region_form.h.
const mfpf_pose& mfpf_region_form::pose | ( | ) | const [inline] |
Pose (position + scale/orientation).
Definition at line 52 of file mfpf_region_form.h.
double& mfpf_region_form::wi | ( | ) | [inline] |
Width of shape along pose().u().
Definition at line 44 of file mfpf_region_form.h.
double mfpf_region_form::wi | ( | ) | const [inline] |
Width of shape along pose().u().
Definition at line 55 of file mfpf_region_form.h.
double& mfpf_region_form::wj | ( | ) | [inline] |
Width of shape along pose().v().
Definition at line 46 of file mfpf_region_form.h.
double mfpf_region_form::wj | ( | ) | const [inline] |
Width of shape along pose().v().
Definition at line 57 of file mfpf_region_form.h.
vcl_string mfpf_region_form::form_ |
Name of form of shape ("box","ellipse").
Definition at line 28 of file mfpf_region_form.h.
Pose (position + scale/orientation).
Definition at line 20 of file mfpf_region_form.h.
double mfpf_region_form::wi_ |
Width of shape along pose().u().
Definition at line 23 of file mfpf_region_form.h.
double mfpf_region_form::wj_ |
Width of shape along pose().v().
Definition at line 25 of file mfpf_region_form.h.