31 const std::vector<Plug>& plugs,
32 const std::wstring& filepath
40 const std::vector<Plug>& plugs,
41 const std::wstring& filepath,
42 bool single_layer=
false,
43 const std::function<
bool(
float,
const char*)>& progress=
nullptr 49 const std::wstring& filepath
55 const std::wstring& filename
66 const std::wstring& filename
75 const std::vector<Plug>& plugs,
76 const std::wstring& filename
89 const std::vector<Plug>& plugs,
90 const std::wstring& filename
96 const std::wstring& filepath
101 const std::vector<Node>& nodes,
102 bool serialize_external_input_connections =
false 109 Node* parent=
nullptr,
110 const std::string& valid_types=
"" 116 const std::wstring& file,
MAQUINA_EXPORT void import_settings(const std::wstring &filepath)
Import workspace settings from a file.
MAQUINA_EXPORT bool import_plug_animation(const std::vector< Plug > &plugs, const std::wstring &filename)
Import an animation from a file.
MAQUINA_EXPORT void apply_pose(const Dict &pose, float frame)
Apply a pose.
MAQUINA_EXPORT std::string serialize_pose(const Dict &pose)
Serialize the pose in a string.
MAQUINA_EXPORT void export_plug_animation(const std::vector< Plug > &plugs, const std::wstring &filepath, bool single_layer=false, const std::function< bool(float, const char *)> &progress=nullptr)
Save the layer setup and plugs animation in a file.
This version of the SDK is unstable, i-e, it may change with no warning.
Definition: AddCurveAction.h:20
MAQUINA_EXPORT Dict load_pose(const std::wstring &filename)
Import the plugs values from a file.
MAQUINA_EXPORT void import_plug_values(const std::vector< Plug > &plugs, const std::wstring &filename)
Import the plugs values from a file and apply them.
#define MAQUINA_EXPORT
Definition: Export.h:31
MAQUINA_EXPORT Dict deserialize_pose(std::string buffer)
Deserialize the pose from a string.
MAQUINA_EXPORT std::vector< Node > deserialize_nodes(std::string buffer, Node *parent=nullptr, const std::string &valid_types="")
Deserialize the nodes from a string.
MAQUINA_EXPORT std::string serialize_nodes(const std::vector< Node > &nodes, bool serialize_external_input_connections=false)
Serialize the nodes in a string.
MAQUINA_EXPORT void export_settings(const std::wstring &filepath)
Save workspace settings to a file.
MAQUINA_EXPORT Dict load_animation_pose(const std::wstring &filename)
Import the animation pose from a file, in this case the value of the pose is not relevant.
MAQUINA_EXPORT void export_plug_values(const std::vector< Plug > &plugs, const std::wstring &filepath)
Save the plugs values in a file.
MAQUINA_EXPORT Value read_value(const std::wstring &file, const Dict &options)
Load an object value from a file.