A manhattan segment defined by a line segment and the vanishing point it converges to.
More...
|
| Manhattan_segment (const Edge_segment &isegment, Vanishing_point *ivp=0) |
|
| Manhattan_segment (const Manhattan_segment &src) |
|
const Edge_segment & | get_edge_segment () const |
| returns the edge segment defining this manhattan segment More...
|
|
const Vanishing_point * | get_vanishing_point () const |
| Returns the vanishing point this Manhattan segment converges to. More...
|
|
void | set_vanishing_point (Vanishing_point *ivp) |
|
void | mark_as_outlier () |
| Marks this segment as an outlier. More...
|
|
bool | is_outlier () const |
| Returns true if this segment is an outlier, ie it is not aligned with one of the three orthogonal directions defining Manhattan world. More...
|
|
double | get_alpha () const |
| returns alpha More...
|
|
| ~Manhattan_segment () |
|
void | draw (kjb::Image &img, double ir, double ig, double ib, double width=1.0) const |
| Draws this Manhattan segment. More...
|
|
void | randomly_color (kjb::Image &img, double width=1.0) const |
| Randomly colors this Manhattan segment on an image. More...
|
|
void | draw_mid_point_to_vanishing_point (kjb::Image &img, double ir, double ig, double ib, double width=1.0) const |
| Draws a line between the line segment mid point and the vanishing point it converges to Mostly for debug purposes. More...
|
|
A manhattan segment defined by a line segment and the vanishing point it converges to.