source: nanovis/trunk/imgLoaders/ImageLoader.h @ 5143

Last change on this file since 5143 was 3470, checked in by ldelgass, 11 years ago

Cleanups for nanovis utility libs

  • Property svn:eol-style set to native
File size: 510 bytes
Line 
1/* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
2#ifndef IMAGE_LOADER_H
3#define IMAGE_LOADER_H
4
5#include <map>
6
7#include <Image.h>
8
9class ImageLoaderImpl;
10
11class ImageLoader
12{
13public:
14    friend class ImageLoaderFactory;
15
16    ImageLoader();
17
18    Image *load(const char *fileName, const Image::ImageFormat targetFormat = Image::IMG_RGB);
19
20private:
21    void setLoaderImpl(ImageLoaderImpl *loaderImpl)
22    {
23        _loaderImpl = loaderImpl;
24    }
25
26    ImageLoaderImpl * _loaderImpl;
27};
28
29#endif
30
Note: See TracBrowser for help on using the repository browser.