27 #include <Inventor/SbBasic.h> 28 #include <Inventor/lists/SbList.h> 33 float (*eval_func)(
void*);
34 int (*get_index_func)(
void*);
35 void (*set_index_func)(
void*, int);
41 const int initsize = 1024);
47 void remove(
const int pos);
48 void remove(
void *obj);
51 void *operator[](
const int idx);
53 void newWeight(
void *obj,
int hpos = -1);
54 SbBool buildHeap(SbBool (*progresscb)(
float percentage,
void *data) = NULL,
56 SbBool traverseHeap(SbBool (*func)(
void *,
void *),
void *userdata)
const;
62 int heapInsert(
void *obj);
63 void *heapExtractMin(
void);
64 void heapReserve(
const int newsize);
65 void heapify(
const int idx);
68 #endif // !COIN_SBHEAP_H The SbHeapFuncs struct is used to specify functions on heap elements.
Definition: SbHeap.h:31
The SbList class is a template container class for lists.SbList is an extension of the Coin library v...
Definition: SoType.h:46
The SbHeap class is a generic heap class.FIXME: write doc.
Definition: SbHeap.h:38