- void RequestReading(tree::Node* n, int prio, int selection_index);
-
- ///Returns true if the ImageEventQueue is empty
- bool IsQueueEmpty(){return mImageEventQueue.empty();}
- ///Clears the queue
- void ClearQueue(){mImageEventQueue.clear();}
- ///Returns the next in line EventType's image
- vtkImageData* GetNextImageQueued(){return mImageEventQueue.front().image;}
- ///Returns the next in line EventType's node
- tree::Node* GetNextNodeQueued(){return mImageEventQueue.front().node;}
- ///Returns the next in line EventType's index in selection
- int GetNextSelectionIndexQueued(){return mImageEventQueue.front().index;}
- ///Unqueus the next in line EventType
- void UnqueueNext(){mImageEventQueue.pop_front();}
-
+ void RequestReading(tree::Node* n, int prio, int selection_index , ImagePointerHolder *p);
+