libeblearn
ebl::bbox_parts Class Reference

A bounding box that can be composed from multiple bounding boxes. More...

#include <bbox.h>

Inheritance diagram for ebl::bbox_parts:
ebl::bbox

List of all members.

Public Member Functions

 bbox_parts ()
 Empty constructor (assign a new unique instance_id).
 bbox_parts (const bbox &other)
 Copy constructor from another bbox.
 bbox_parts (const bbox_parts &other)
 Copy constructor.
virtual ~bbox_parts ()
 Destructor.
void add_part (const bbox &p)
 Declare another bbox to be part of this bbox.
void add_part (const bbox_parts &p)
 Declare another bbox to be part of this bbox.
bool share_parts (bbox_parts &bbp)
vector< bbox_parts > & get_parts ()
 Return a reference to the parts vector.

Protected Attributes

vector< bbox_partsparts

Detailed Description

A bounding box that can be composed from multiple bounding boxes.


Member Function Documentation

bool ebl::bbox_parts::share_parts ( bbox_parts bbp)

Returns true if this and bbp share at least 1 part, using instance_id to identify parts uniquely.


The documentation for this class was generated from the following files: