NullEmitter.cpp
Go to the documentation of this file.00001 /**<!--------------------------------------------------------------------> 00002 @file NullEmitter.cpp 00003 @author Travis Fischer (fisch0920@gmail.com) 00004 @author Matthew Jacobs (jacobs.mh@gmail.com) 00005 @date Fall 2008 00006 00007 @brief 00008 Null emitter which doesn't emit any light, defined at a single point 00009 in 3-space 00010 <!-------------------------------------------------------------------->**/ 00011 00012 #include "NullEmitter.h" 00013 00014 void NullEmitter::init() { 00015 m_power = SpectralSampleSet::black(); 00016 m_radiantExitance = SpectralSampleSet::black(); 00017 } 00018 00019 SpectralSampleSet NullEmitter::getLe(const Vector3 &) { 00020 return SpectralSampleSet::black(); 00021 } 00022 00023 void NullEmitter::preview(Shape *) { 00024 // intentionally empty 00025 } 00026
Generated on 28 Feb 2009 for Milton by
1.5.6