4#include "tinyxml/tinyxml2.h"
19 std::shared_ptr<SceneGraph>
load(
const std::string filename)
override;
21 bool save(std::shared_ptr<SceneGraph> scn,
const std::string filename)
override;
24 std::shared_ptr<Node>
processNode(tinyxml2::XMLElement* nodeXML);
25 std::shared_ptr<Module>
processModule(tinyxml2::XMLElement* moduleXML);
26 bool addModule(std::shared_ptr<Node> node, std::shared_ptr<Module> module);
28 std::vector<std::string>
split(std::string str, std::string pattern);
Vec3f decodeVec3f(const std::string str)
std::string encodeVec2f(const Vec2f v)
virtual bool canLoadFileByExtension(const std::string extension)
bool addModule(std::shared_ptr< Node > node, std::shared_ptr< Module > module)
std::vector< std::string > split(std::string str, std::string pattern)
std::shared_ptr< Node > processNode(tinyxml2::XMLElement *nodeXML)
std::shared_ptr< SceneGraph > load(const std::string filename) override
std::shared_ptr< Module > processModule(tinyxml2::XMLElement *moduleXML)
Vec2f decodeVec2f(const std::string str)
std::string encodeVec3f(const Vec3f v)
bool save(std::shared_ptr< SceneGraph > scn, const std::string filename) override
std::vector< std::vector< ConnectionInfo > > mConnectionInfo
This is an implementation of AdditiveCCD based on peridyno.