21 #ifndef LIB_LIGHTMETRICA_EMITTER_SHAPE
22 #define LIB_LIGHTMETRICA_EMITTER_SHAPE
24 #include "component.h"
25 #include "math.types.h"
29 #include <boost/any.hpp>
45 LM_COMPONENT_INTERFACE_DEF(
"emittershape");
58 virtual bool Configure(std::map<std::string, boost::any>& params) = 0;
59 virtual bool Intersect(
Ray& ray, Math::Float& t)
const = 0;
60 virtual void StoreIntersection(
const Ray& ray,
Intersection& isect)
const = 0;
61 virtual AABB GetAABB()
const = 0;
67 #endif // LIB_LIGHTMETRICA_EMITTER_SHAPE
Definition: component.h:45
Definition: emittershape.h:41
Definition: intersection.h:39