6 #ifndef LIB_ALMATH_SCENEGRAPH_COLLADABUILDER_H
7 #define LIB_ALMATH_SCENEGRAPH_COLLADABUILDER_H
9 #include <Eigen/Geometry>
12 #include <boost/property_tree/ptree_fwd.hpp>
31 float green,
float blue,
float alpha);
33 const std::string &effect_id);
35 const ::std::string &
id);
38 const Eigen::Affine3f &tf);
42 const std::string &
id);
45 const std::string &source_id,
int offset);
51 const std::string &material_id);
boost::property_tree::ptree ptree
ptree & addEffectColor(ptree &parent, const std::string &id, float red, float green, float blue, float alpha)
ptree & addSourceXYZ(ptree &parent, const std::vector< float > &data, const std::string &id)
ptree createNode(const std::string &id, const Eigen::Affine3f &tf)
ptree & addNode(ptree &parent, const std::string &id, const Eigen::Affine3f &tf)
ptree & addInput(ptree &parent, const std::string &semantic, const std::string &source_id, int offset)
void addMaterialEffectColor(ptree &root, float r, float g, float b, float a, const ::std::string &id)
ptree & addInstanceGeometry(ptree &parent, const std::string &geometry_id, const std::string &material_id)
ptree & addMaterial(ptree &parent, const std::string &id, const std::string &effect_id)
boost::property_tree::ptree ptree
ptree & addInstanceVisualScene(ptree &parent, const std::string &scene_id)
ptree & addVisualScene(ptree &parent, const std::string &id)
ptree & addGeometryMesh(ptree &parent, const std::string &id, const Mesh &mesh)