Rumba C++ SDK
IO.h File Reference
#include "Export.h"
#include "Value.h"

Go to the source code of this file.

Namespaces

 maquina
 This version of the SDK is unstable, i-e, it may change with no warning.
 

Functions

MAQUINA_EXPORT void maquina::export_plug_values (const std::vector< Plug > &plugs, const std::wstring &filepath)
 Save the plugs values in a file. More...
 
MAQUINA_EXPORT void maquina::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. More...
 
MAQUINA_EXPORT void maquina::export_settings (const std::wstring &filepath)
 Save workspace settings to a file. More...
 
MAQUINA_EXPORT Dict maquina::load_pose (const std::wstring &filename)
 Import the plugs values from a file. More...
 
MAQUINA_EXPORT void maquina::apply_pose (const Dict &pose, float frame)
 Apply a pose. More...
 
MAQUINA_EXPORT Dict maquina::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. More...
 
MAQUINA_EXPORT void maquina::import_plug_values (const std::vector< Plug > &plugs, const std::wstring &filename)
 Import the plugs values from a file and apply them. More...
 
MAQUINA_EXPORT bool maquina::import_plug_animation (const std::vector< Plug > &plugs, const std::wstring &filename)
 Import an animation from a file. More...
 
MAQUINA_EXPORT void maquina::import_settings (const std::wstring &filepath)
 Import workspace settings from a file. More...
 
MAQUINA_EXPORT std::string maquina::serialize_nodes (const std::vector< Node > &nodes, bool serialize_external_input_connections=false)
 Serialize the nodes in a string. More...
 
MAQUINA_EXPORT std::vector< Node > maquina::deserialize_nodes (std::string buffer, Node *parent=nullptr, const std::string &valid_types="")
 Deserialize the nodes from a string. More...
 
MAQUINA_EXPORT Value maquina::read_value (const std::wstring &file, const Dict &options)
 Load an object value from a file. More...
 
MAQUINA_EXPORT std::string maquina::serialize_pose (const Dict &pose)
 Serialize the pose in a string. More...
 
MAQUINA_EXPORT Dict maquina::deserialize_pose (std::string buffer)
 Deserialize the pose from a string. More...