/[cvs]/api/Classes/ImageFormat/SGI.h
ViewVC logotype

Annotation of /api/Classes/ImageFormat/SGI.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (hide annotations) (vendor branch)
Sun Jul 1 20:47:58 2001 UTC (23 years, 4 months ago) by bearsoft
Branch: lazy, MAIN
CVS Tags: start, HEAD
Changes since 1.1: +0 -0 lines
File MIME type: text/plain
First import

1 bearsoft 1.1 #ifndef __SGI_H__
2     #define __SGI_H__
3    
4     #include "../String/String.h"
5     #include "../Binary/BinaryInput.h"
6    
7     class SGI
8     {
9    
10     public:
11    
12     SGI(char *fileName);
13     SGI(String &fileName);
14     ~SGI();
15    
16     void resize32(int *buffer, int resizeWidth, int resizeHeight);
17     void readHeader(BinaryInput *binaryInput);
18     int readFileAndConvertToRaw32(char *fileName);
19     int getWidth();
20     int getHeight();
21     void setup(char *fileName);
22     int *getBuffer();
23    
24     private:
25    
26     void convertSgiToRaw32(BinaryInput *binaryInput);
27     void convertSgiToRaw32(BinaryInput *binaryInput,char *rawBuffer);
28     int *buffer;
29     int width;
30     int height;
31     BinaryInput *binaryInput;
32    
33     };
34    
35     #endif

root@recompile.se
ViewVC Help
Powered by ViewVC 1.1.26