36 #include <Inventor/SbBasic.h> 37 #include <Inventor/lists/SbList.h> 42 float (*eval_func)(
void*);
43 int (*get_index_func)(
void*);
44 void (*set_index_func)(
void*,
int);
50 const int initsize = 1024);
56 void remove(
const int pos);
57 void remove(
void *obj);
60 void *operator[](
const int idx);
62 void newWeight(
void *obj,
int hpos = -1);
63 SbBool buildHeap(SbBool (*progresscb)(
float percentage,
void *data) = NULL,
65 SbBool traverseHeap(SbBool (*func)(
void *,
void *),
void *userdata)
const;
71 int heapInsert(
void *obj);
72 void *heapExtractMin(
void);
73 void heapReserve(
const int newsize);
74 void heapify(
const int idx);
77 #endif // !COIN_SBHEAP_H The SbHeapFuncs struct is used to specify functions on heap elements.
Definition: SbHeap.h:40
The SbList class is a template container class for lists.
Definition: SoType.h:55
The SbHeap class is a generic heap class.
Definition: SbHeap.h:47