- virtual void AddImageToUndoContainer(VTKImageDataPointerType img,
- ImageMManager* imMManager);
- virtual void AddImageToRedoContainer(VTKImageDataPointerType img,
- ImageMManager* imMManager);
- virtual void CleanUndoContainerFromIndex(const int& index);
- virtual void CleanRedoContainerFromIndex(const int& index);
- virtual void CleanContainers();
+ // ----------------------------------------------------------------------------------
+ /*! @fn virtual void AddImagesToURContainer(VTKImageDataPointerType imgUndo,
+ VTKImageDataPointerType imgRedo, ImageMManager* imMManager);
+ * @brief This method adds the images for undo and redo in a container
+ * @param imgUndo The undoImage cropped.
+ * @param imgRedo The redoImage cropped.
+ * @param imManager The image manager.
+ */
+ virtual void AddImagesToURContainer(VTKImageDataPointerType imgUndo,
+ VTKImageDataPointerType imgRedo, ImageMManager* imMManager);
+ // ----------------------------------------------------------------------------------
+ /*! @fn virtual void CleanURContainerFromIndex(const int& index);
+ * @brief This method allows to clean the container from a given index.
+ * @param index The index.
+ */
+ virtual void CleanURContainerFromIndex(const int& index);
+ // ----------------------------------------------------------------------------------
+ /*! @fn virtual void ManageMemory();
+ * @brief This method cleans the memory.
+ * @details This method cleans the principal memory when the images are not in use.
+ */