source: trunk/vizservers/nanovis/imgLoaders/ImageLoader.h @ 915

Last change on this file since 915 was 915, checked in by gah, 15 years ago

more clean up

File size: 555 bytes
Line 
1#ifndef __IMAGE_LOADER_H__
2#define __IMAGE_LOADER_H__
3
4#include <map>
5#include <Image.h>
6
7class ImageLoaderImpl;
8class Image;
9
10class ImageLoader {
11    friend class ImageLoaderFactory;
12
13    ImageLoaderImpl* _loaderImpl;
14public :
15    ImageLoader();
16
17public :
18    Image* load(const char* fileName);
19    Image* load(const char* fileName, const Image::ImageFormat targetFormat);
20
21private :
22    void setLoaderImpl(ImageLoaderImpl* loaderImpl);
23};
24
25inline void ImageLoader::setLoaderImpl(ImageLoaderImpl* loaderImpl)
26{
27    _loaderImpl= loaderImpl;
28}
29
30#endif //
31
Note: See TracBrowser for help on using the repository browser.