#include <pdblock.h>
Public Member Functions | |
| PDBLK () | |
| PDBLK (inT16 xmin, inT16 ymin, inT16 xmax, inT16 ymax) | |
| void | set_sides (ICOORDELT_LIST *left, ICOORDELT_LIST *right) |
| ~PDBLK () | |
| POLY_BLOCK * | poly_block () |
| void | set_poly_block (POLY_BLOCK *blk) |
| void | bounding_box (ICOORD &bottom_left, ICOORD &top_right) const |
| const TBOX & | bounding_box () const |
| int | index () const |
| void | set_index (int value) |
| BOOL8 | contains (ICOORD pt) |
| void | move (const ICOORD vec) |
| void | plot (ScrollView *window, inT32 serial, ScrollView::Color colour) |
| void | show (IMAGE *image, ScrollView *window) |
| PDBLK & | operator= (const PDBLK &source) |
Protected Attributes | |
| POLY_BLOCK * | hand_poly |
| ICOORDELT_LIST | leftside |
| ICOORDELT_LIST | rightside |
| TBOX | box |
| int | index_ |
Friends | |
| class | BLOCK_RECT_IT |
| PDBLK::PDBLK | ( | ) | [inline] |
| PDBLK::~PDBLK | ( | ) | [inline] |
| const TBOX& PDBLK::bounding_box | ( | ) | const [inline] |
| int PDBLK::index | ( | ) | const [inline] |
| void PDBLK::move | ( | const ICOORD | vec | ) |
| void PDBLK::plot | ( | ScrollView * | window, | |
| inT32 | serial, | |||
| ScrollView::Color | colour | |||
| ) |
| POLY_BLOCK* PDBLK::poly_block | ( | ) | [inline] |
| void PDBLK::set_index | ( | int | value | ) | [inline] |
| void PDBLK::set_poly_block | ( | POLY_BLOCK * | blk | ) | [inline] |
| void PDBLK::set_sides | ( | ICOORDELT_LIST * | left, | |
| ICOORDELT_LIST * | right | |||
| ) |
| void PDBLK::show | ( | IMAGE * | image, | |
| ScrollView * | window | |||
| ) |
friend class BLOCK_RECT_IT [friend] |
Reimplemented in BLOCK.
TBOX PDBLK::box [protected] |
POLY_BLOCK* PDBLK::hand_poly [protected] |
int PDBLK::index_ [protected] |
ICOORDELT_LIST PDBLK::leftside [protected] |
ICOORDELT_LIST PDBLK::rightside [protected] |
1.6.3