#include <SceneBuilderFactories.h>
Inherits LightFactory.
Inheritance diagram for QuadAreaLightFactory:
Public Member Functions | |
QuadAreaLightFactory () | |
virtual Light * | create (const std::string &type, std::stringstream &line) |
Definition at line 160 of file SceneBuilderFactories.h.
QuadAreaLightFactory::QuadAreaLightFactory | ( | ) | [inline] |
Constructor
Definition at line 165 of file SceneBuilderFactories.h.
Light * QuadAreaLightFactory::create | ( | const std::string & | type, | |
std::stringstream & | line | |||
) | [virtual] |
Create a new light based on type and data in the stream
type | Statement type | |
line | Line with data |
Implements LightFactory.
Definition at line 116 of file SceneBuilderFactories.cpp.
References QuadAreaLight::setNumberOfRays().