PDBLK Class Reference

#include <pdblock.h>

Inheritance diagram for PDBLK:
BLOCK

List of all members.

Public Member Functions

 PDBLK ()
 PDBLK (inT16 xmin, inT16 ymin, inT16 xmax, inT16 ymax)
void set_sides (ICOORDELT_LIST *left, ICOORDELT_LIST *right)
 ~PDBLK ()
POLY_BLOCKpoly_block ()
void set_poly_block (POLY_BLOCK *blk)
void bounding_box (ICOORD &bottom_left, ICOORD &top_right) const
const TBOXbounding_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)
PDBLKoperator= (const PDBLK &source)

Protected Attributes

POLY_BLOCKhand_poly
ICOORDELT_LIST leftside
ICOORDELT_LIST rightside
TBOX box
int index_

Friends

class BLOCK_RECT_IT

Constructor & Destructor Documentation

PDBLK::PDBLK (  )  [inline]
PDBLK::PDBLK ( inT16  xmin,
inT16  ymin,
inT16  xmax,
inT16  ymax 
)
PDBLK::~PDBLK (  )  [inline]

Member Function Documentation

const TBOX& PDBLK::bounding_box (  )  const [inline]
void PDBLK::bounding_box ( ICOORD bottom_left,
ICOORD top_right 
) const [inline]
BOOL8 PDBLK::contains ( ICOORD  pt  ) 
int PDBLK::index (  )  const [inline]
void PDBLK::move ( const ICOORD  vec  ) 
PDBLK & PDBLK::operator= ( const PDBLK source  ) 
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 
)

Friends And Related Function Documentation

friend class BLOCK_RECT_IT [friend]

Reimplemented in BLOCK.


Member Data Documentation

TBOX PDBLK::box [protected]
int PDBLK::index_ [protected]
ICOORDELT_LIST PDBLK::leftside [protected]
ICOORDELT_LIST PDBLK::rightside [protected]

The documentation for this class was generated from the following files:
Generated on Sun Jul 18 17:11:11 2010 for Tesseract by  doxygen 1.6.3