|  | Inviwo 0.9.12-pre
    Inviwo documentation | 
| Public Member Functions | |
| ImageCache (std::shared_ptr< const Image > master=std::shared_ptr< const Image >()) | |
| ImageCache (const ImageCache &)=delete | |
| ImageCache & | operator= (const ImageCache &that)=delete | 
| void | setMaster (std::shared_ptr< const Image > master) | 
| std::shared_ptr< const Image > | getImage (const size2_t dimensions) const | 
| void | prune (const std::vector< size2_t > &dimensions) const | 
| void | update (std::vector< size2_t > dimensions) | 
| void | setInvalid () const | 
| bool | hasImage (const size2_t dimensions) | 
| void | addImage (std::shared_ptr< Image > image) | 
| std::shared_ptr< Image > | releaseImage (const size2_t dimensions) | 
| std::shared_ptr< Image > | getUnusedImage (const std::vector< size2_t > &dimensions) | 
| size_t | size () const | 
| void inviwo::ImageCache::prune | ( | const std::vector< size2_t > & | dimensions | ) | const | 
Remove all cached images except those in dimensions
| void inviwo::ImageCache::update | ( | std::vector< size2_t > | dimensions | ) | 
Make sure there is a cached version for all images sizes in dimensions