All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
gu_sdf_queue Class Reference

#include <GU_SDF.h>

+ Inheritance diagram for gu_sdf_queue:

Public Member Functions

virtual void changedPosition (gu_sdf_qelem *e, unsigned int idx) const
- Public Member Functions inherited from UT_PriorityQueue< gu_sdf_qelem *, gu_sdf_comp, true >
 UT_PriorityQueue (unsigned int sz=0, const gu_sdf_comp &compare=gu_sdf_comp())
 Trivial constructor and destructor: More...
 UT_PriorityQueue (const UT_PriorityQueue< gu_sdf_qelem *, gu_sdf_comp, need_changed_position > &a)
virtual ~UT_PriorityQueue ()
unsigned int insert (gu_sdf_qelem *t)
unsigned int append (gu_sdf_qelem *t)
void destroy (unsigned int entry)
 calls remove before destroying More...
void remove (unsigned int entry)
void clear ()
exint size () const
exint entries () const
int64 getMemoryUsage (bool inclusive) const
bool isEmpty () const
const gu_sdf_qelem *& head () const
const gu_sdf_qelem *& getEntry (int idx) const
unsigned int bubbleDown (unsigned int entry)
unsigned int bubbleUp (unsigned int entry)

Additional Inherited Members

- Protected Attributes inherited from UT_PriorityQueue< gu_sdf_qelem *, gu_sdf_comp, true >
UT_Array< gu_sdf_qelem * > myArray
const gu_sdf_comp comparator

Detailed Description

gu_sdf_queue This is a queue of voxels sorted by minimum distance. We want to subclass to be able to track where we are in the queue. This lets us update the queue when we change our elements distance.

Definition at line 93 of file GU_SDF.h.

Member Function Documentation

virtual void gu_sdf_queue::changedPosition ( gu_sdf_qelem e,
unsigned int  idx 
) const

Reimplemented from UT_PriorityQueue< gu_sdf_qelem *, gu_sdf_comp, true >.

Definition at line 97 of file GU_SDF.h.

The documentation for this class was generated from the following file: