source: trunk/packages/vizservers/nanovis/imgLoaders/ImageLoader.h @ 3470

Last change on this file since 3470 was 3470, checked in by ldelgass, 12 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.