00001 /* 00002 File: AnaRad.h 00003 00004 Function: Calculates direct illumination using analytic 00005 area-to-point form factors. Also calculates scene 00006 statistics such as Discrete scene visibility mutual 00007 information (DSVMI). 00008 00009 Author(s): Andrew Willmott 00010 00011 Copyright: (c) 1999-2000, Andrew Willmott 00012 */ 00013 00014 #ifndef __AnaRad__ 00015 #define __AnaRad__ 00016 00017 #include "RadMethod.h" 00018 00019 class AnaRad : public RadMethod 00020 { 00021 public: 00022 00023 Bool Render(); // override 00024 Int Stage(Int stage); // override 00025 Void DumpStats(); 00026 00027 RadElem *NewMesh(); 00028 00029 static Void *New() { return(new AnaRad); }; 00030 00031 PatchList lights; 00032 GCLReal theMI; 00033 }; 00034 00035 #endif