#include <PriorityQueue.h>
Inheritance diagram for CPriorityQueue
Public Methods | |
CPriorityQueue () | |
virtual | ~CPriorityQueue () |
bool | empty () |
Check if the queue is empty. | |
void | first (LPPIXEL *p) |
Get the first pixel of the queue in 4 or 8 connectivity. | |
void | first (LPPIXEL *p, short *parity) |
Get the first pixel of the queue in 6 connectivity. | |
void | add (LPPIXEL p) |
Adding a pixel to the queue in 4 or 8 connectivity. | |
void | add (LPPIXEL p, short parity) |
Adding a pixel to the queue in 6 connectivity. | |
void | invert () |
invert the queue (not always possible). | |
Private Attributes | |
priority_queue<PriorPix, vector< PriorPix>, PixGreater > | pqueue |