Rumba C++ SDK
ExportHelper.h
Go to the documentation of this file.
1 /*
2 
3  *
4  ***
5  *****
6  ********************* Mercenaries Engineering SARL
7  ***************** Copyright (C) 2018
8  *************
9  ********* http://www.mercenaries-engineering.com
10  ***********
11  **** ****
12  ** **
13 
14 */
15 #pragma once
16 
17 #include "Plug.h"
18 
19 namespace maquina
20 {
21 
22 class Array;
23 
25 
29 {
30 public:
32  void track_plug(const Plug& plug);
34  void evaluate();
36  const Value& value(const Plug& plug, size_t index) const;
38  const std::vector<Value>& values(const Plug& plug) const;
39 private:
40  std::unordered_map<Plug, std::vector<Value>> _plug_mapping;
41 };
42 
43 MAQUINA_EXPORT std::vector<maquina::Value> scene_geometries(const std::vector<maquina::Value>& scene_values);
44 MAQUINA_EXPORT std::vector<maquina::Value> scene_child(const std::vector<maquina::Value>& scene_values, const std::string& child_name);
45 MAQUINA_EXPORT std::vector<maquina::Value> scene_matrices(const std::vector<maquina::Value>& scene_values);
46 MAQUINA_EXPORT std::vector<maquina::Value> scene_visibility(const std::vector<maquina::Value>& scene_values);
47 
48 }
MAQUINA_EXPORT std::vector< maquina::Value > scene_child(const std::vector< maquina::Value > &scene_values, const std::string &child_name)
MAQUINA_EXPORT std::vector< maquina::Value > scene_geometries(const std::vector< maquina::Value > &scene_values)
MAQUINA_EXPORT std::vector< maquina::Value > scene_matrices(const std::vector< maquina::Value > &scene_values)
Helper class to export animations.
Definition: ExportHelper.h:28
This version of the SDK is unstable, i-e, it may change with no warning.
Definition: AddCurveAction.h:20
#define MAQUINA_EXPORT
Definition: Export.h:31
A node plug.
Definition: Plug.h:52
MAQUINA_EXPORT std::vector< maquina::Value > scene_visibility(const std::vector< maquina::Value > &scene_values)
Base class of all Rumba values.
Definition: Value.h:34