Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

FlatShade.h

00001 /*
00002   File: FlatShade.h
00003 
00004   Copyright(C) C. Kotterink, Computed Graphics
00005 */
00006 #ifndef FLATSHADE_H
00007 #define FLATSHADE_H
00008 
00009 #include<Shade.h>
00010 #include<Color4.h>
00011 
00014 class FlatShade : public Shade
00015 {
00016     DYNAMIC_OBJECT;
00017 public:
00018     // Inherited from Shade
00019     Color4 calculateColor(const SurfaceInfo &s, Scene &scene);
00020 
00021     // Inherited from DynamicObject
00022     void parseSymbol(Token &t, ObjectFile &file);
00023     void writeParams(ostream &stream);
00024 
00025 protected:
00026     // Inherited from DynamicObject
00027     void createSymbols();
00028 
00029     Color4 color;
00030 
00031 private:
00032     typedef Shade super;
00033 };
00034 #endif

This documentation was generated using doxygen. If you have any comments or additions please mail me.