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);
59 void remove(
const int pos);
65 void newWeight(
void *
obj,
int hpos = -1);
68 SbBool traverseHeap(SbBool (*func)(
void *,
void *),
void *userdata)
const;
74 int heapInsert(
void *
obj);
75 void *heapExtractMin(
void);
76 void heapReserve(
const int newsize);
77 void heapify(
const int idx);
78 void newWeightAt(
void *
obj,
const int hpos);
The SbHeap class is a generic heap class.
Definition SbHeap.h:47
The SbList class is a template container class for lists.
Definition SbList.h:74
SbList< Type > & operator=(const SbList< Type > &l)
Definition SbList.h:112
void remove(const int index)
Definition SbList.h:172
Type operator[](const int index) const
Definition SbList.h:223
The SbHeapFuncs struct is used to specify functions on heap elements.
Definition SbHeap.h:41