Go to the documentation of this file.
37 #ifndef vtkPriorityQueue_h
38 #define vtkPriorityQueue_h
134 (loc=this->ItemLocation->GetValue(
id)) != -1 )
146 (loc=this->ItemLocation->GetValue(
id)) != -1 )
155 if ( this->
MaxId < 0 )
168 if ( this->
MaxId < 0 )
double GetPriority(vtkIdType id)
#define VTKCOMMONCORE_EXPORT
vtkIdType GetNumberOfItems()
void Allocate(const vtkIdType sz, const vtkIdType ext=1000)
#define vtkTypeMacro(thisClass, superclass)
a list of ids arranged in priority order
abstract base class for most VTK objects
double DeleteId(vtkIdType id)
Item * Resize(const vtkIdType sz)
a simple class to control print indentation
void Insert(double priority, vtkIdType id)
vtkIdType Pop(vtkIdType location=0)
vtkIdTypeArray * ItemLocation
dynamic, self-adjusting array of vtkIdType
vtkIdType Peek(vtkIdType location, double &priority)
void PrintSelf(ostream &os, vtkIndent indent)
vtkIdType Pop(vtkIdType location, double &priority)
static vtkPriorityQueue * New()