Class SceneLoaderJson
Contents
Class SceneLoaderJson#
Defined in File SceneLoaderJson.h
Class Documentation#
-
class SceneLoaderJson : public sofa::simulation::SceneLoader#
SOFA scene loader able to load *.json and *.jscn files, written in the JSON format
Public Functions
-
bool canLoadFileExtension(const char *extension) override#
-
bool canWriteFileExtension(const char *extension) override#
-
sofa::simulation::NodeSPtr doLoad(const std::string &filename, const std::vector<std::string> &sceneArgs) override#
-
std::string getFileTypeDesc() override#
-
void getExtensionList(ExtensionList *list) override#
Public Static Functions
-
static sofa::simulation::NodeSPtr loadFromMemory(const char *filename, const char *data)#
Public Static Attributes
-
static bool loadSucceed = true#
-
bool canLoadFileExtension(const char *extension) override#