- ///Shows the image in the vector as a movie
- void ShowImages();
- ///Shows the image passed as parameter
- void ShowImage(vtkImageData* im);
- ///Adds an image to the selection
- void AddImage(vtkImageData* im);
- ///Clears the selection of images
- void ClearImages();
- ///Returns true if the image vector is empty
- bool ImagesEmpty();
+ /// Shows the next image in the image vector
+ void ShowNextImage();
+ ///Starts the image player
+ void StartPlayer();
+ ///Stops the image player
+ void StopPlayer();
+ ///Refreshes the interface if the current image shown has changed
+ bool RefreshIfNecessary();
+ ///Sets a new image vector to be read
+
+ void SetImageVector(std::vector<boost::shared_ptr<ImagePointerHolder> > &pointers);
+