#include <HierarchicalQueue.h>
Inheritance diagram for CHierarchicalQueue
Public Methods | |
CHierarchicalQueue (int sizeQueue=256) | |
~CHierarchicalQueue () | |
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 | |
int | size |
deque<LPPIXEL>* | hQueue |
deque<short>* | hQparity |
deque<LPPIXEL> | priorityQueue |
deque<short> | priorityQueueParity |
PIXEL | currentLevel |