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);
47 void remove(
const int pos);
53 void newWeight(
void *
obj,
int hpos = -1);
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);
The SbHeap class is a generic heap class.
Definition SbHeap.h:38
The SbList class is a template container class for lists.
Definition SbList.h:61
void remove(const int index)
Definition SbList.h:143
Type operator[](const int index) const
Definition SbList.h:186
The SbHeapFuncs struct is used to specify functions on heap elements.
Definition SbHeap.h:32