5 #ifndef _SPICA_SCENE_PARSER_
6 #define _SPICA_SCENE_PARSER_
11 #include "core/cobject.h"
12 #include "core/renderparams.h"
13 #include "core/scene.h"
25 void parseChildren(
const tinyxml2::XMLElement *node);
26 Transform parseTransform(
const tinyxml2::XMLElement *node);
28 std::shared_ptr<Primitive> createPrimitive(
const std::shared_ptr<Shape> &shape,
30 const std::shared_ptr<Material> &material,
31 const std::shared_ptr<Medium> &medium);
33 void storeToParam(
const tinyxml2::XMLElement *node);
39 std::shared_ptr<Camera> camera_ =
nullptr;
40 std::vector<std::shared_ptr<Primitive>> primitives_;
41 std::vector<std::shared_ptr<Light>> lights_;
42 std::vector<std::shared_ptr<Medium>> mediums_;
43 bool waitAreaLight_ =
false;
48 #endif // _SPICA_SCENE_PARSER_
Definition: renderparams.h:27
Definition: sceneparser.h:17