$extrastylesheet
Functions | |
template<typename I , typename L > | |
void | bounding_box_links (Image< I > &input, const object_links< L > &link, const typename I::value &value, anchor::Type anchor) |
template<typename I , typename L > | |
void | bounding_box_links (Image< I > &input, const object_links< L > &link, const typename I::value &value) |
template<typename I , typename L > | |
void | bounding_box_links (Image< I > &input, const object_links< L > &left_link, const object_links< L > &right_link, const typename I::value &left_link_value, const typename I::value &right_link_value, const typename I::value &validated_link_value, anchor::Type anchor) |
template<typename I , typename G > | |
void | bounding_box_links (Image< I > &input, const Graph< G > &g, const typename I::value &link_value) |
template<typename I > | |
void | bounding_boxes (Image< I > &input_, const mln::util::array< box< typename I::site > > &boxes, const typename I::value &value) |
template<typename I , typename L > | |
void | bounding_boxes (Image< I > &input_, const component_set< L > &components, const typename I::value &value) |
template<typename I , typename L > | |
void | groups_bboxes (Image< I > &input_, const object_groups< L > &groups, const typename I::value &value) |
template<typename L , typename I > | |
void | line_components (Image< I > &input_, const line_set< L > &lines, const line_info< L > &line, const typename I::value &value) |
Namespace of drawing routines.
void scribo::draw::bounding_box_links | ( | Image< I > & | input, |
const object_links< L > & | link, | ||
const typename I::value & | value, | ||
anchor::Type | anchor | ||
) |
Draw a list of bounding box links.
[in,out] | input | An image where to draw. |
[in] | link | component links. |
[in] | value | Value used to draw links. |
[in] | anchor | Anchor from where the links are drawn. |
void scribo::draw::bounding_box_links | ( | Image< I > & | input, |
const object_links< L > & | link, | ||
const typename I::value & | value | ||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.The default anchor type is set to anchor::Center.
|
inline |
Draw left, right and validated lists of bounding box links.
[in,out] | input | An image where to draw. |
[in] | left_link | Component's left links. |
[in] | right_link | Component's right links. |
[in] | left_link_value | Value used to draw left links. |
[in] | right_link_value | Value used to draw right links. |
[in] | validated_link_value | Value used to draw validated links. |
[in] | anchor | Anchor from where the links are drawn. |
|
inline |
Draw a graph of bounding box links.
Draw from bounding box centers.
[in,out] | input | An image where to draw. |
[in] | g | The link graph. |
[in] | link_value | The value used to draw the links. |
void scribo::draw::bounding_boxes | ( | Image< I > & | input_, |
const mln::util::array< box< typename I::site > > & | boxes, | ||
const typename I::value & | value | ||
) |
Draw a list of bounding boxes.
void scribo::draw::bounding_boxes | ( | Image< I > & | input_, |
const component_set< L > & | components, | ||
const typename I::value & | value | ||
) |
Draw object bounding boxes.