|
Open PaperOpt
|
#include <LightSourceParser.h>
Public Member Functions | |
| LightSourceParser (void) | |
| ~LightSourceParser (void) | |
| LightSource * | parse (XMLParser &rParser, std::string type, float xmax, float ymax) |
This class is responsible for parsing lightsource elements.
| LightSourceParser::LightSourceParser | ( | void | ) |
| LightSourceParser::~LightSourceParser | ( | void | ) |
| LightSource * LightSourceParser::parse | ( | XMLParser & | rParser, |
| std::string | type, | ||
| float | xmax, | ||
| float | ymax | ||
| ) |
Parse the light source the XMLParser is currently at, having type 'type'. Note: p must be at the start tag of the lightSource element.
| p | the XMLParser object to read from. |
| type | the type of the light source. |
| xmax | size of simulation volume in x dir. |
| ymax | size of simulation volume in y dir. |
