first commit
This commit is contained in:
25
CS4451/proj3/PPM.h
Normal file
25
CS4451/proj3/PPM.h
Normal file
@@ -0,0 +1,25 @@
|
||||
#ifndef _PPMPARSER_H_
|
||||
#define _PPMPARSER_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
|
||||
|
||||
class PPM {
|
||||
private:
|
||||
void init(std::string fileName);
|
||||
|
||||
RGB** matrix;
|
||||
|
||||
public:
|
||||
PPM();
|
||||
PPM(char* fileName);
|
||||
|
||||
void readIn(char* fileName);
|
||||
|
||||
RGB getAt(int x, int y);
|
||||
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user