AbsorbentBSDF.h
Go to the documentation of this file.00001 /**<!--------------------------------------------------------------------> 00002 @class AbsorbentBSDF 00003 @author Travis Fischer (fisch0920@gmail.com) 00004 @author Matthew Jacobs (jacobs.mh@gmail.com) 00005 @date Fall 2008 00006 00007 @brief 00008 Ideal, cool, black-body absorbent material (absorbs all incoming light) 00009 <!-------------------------------------------------------------------->**/ 00010 00011 #ifndef ABSORBENT_BSDF_H_ 00012 #define ABSORBENT_BSDF_H_ 00013 00014 #include <materials/BSDF.h> 00015 00016 class AbsorbentBSDF : public BSDF { 00017 public: 00018 ///@name Constructors 00019 //@{----------------------------------------------------------------- 00020 00021 inline explicit AbsorbentBSDF(SurfacePoint &pt, Material *parent = NULL) 00022 : BSDF(pt, parent) 00023 { } 00024 00025 virtual ~AbsorbentBSDF() 00026 { } 00027 00028 00029 //@}----------------------------------------------------------------- 00030 ///@name Main usage interface 00031 //@{----------------------------------------------------------------- 00032 00033 virtual Event sample(); 00034 00035 virtual real_t getPdf(const Event &event); 00036 00037 virtual SpectralSampleSet getBSDF(const Vector3 &wi, const Vector3 &wo); 00038 00039 00040 //@}----------------------------------------------------------------- 00041 }; 00042 00043 #endif // ABSORBENT_BSDF_H_ 00044
Generated on 28 Feb 2009 for Milton by
1.5.6