Rumba C++ SDK
AnimLayer.h
Go to the documentation of this file.
1 /*
2 
3  *
4  ***
5  *****
6  ********************* Mercenaries Engineering SARL
7  ***************** Copyright (C) 2019
8  *************
9  ********* http://www.mercenaries-engineering.com
10  ***********
11  **** ****
12  ** **
13 
14 */
15 #pragma once
16 
17 #include "Maquina/BaseLayer.h"
18 
19  namespace maquina
20  {
21  // Animation Layer Node
23  {
24  public:
25  AnimLayer(Node *node);
26 
27  void on_delete(bool undo_stack) override;
28  void on_add_to_document() override;
29  void on_remove_from_document() override;
30 
31  void relationship(NodeSet& set) const override;
32 
35  virtual bool accept_channel_edition(const Plug& channel_plug) const;
36 
39  virtual bool override_channel(const Plug& channel_plug, float frame) const;
40 
41  // Add a curve plug to the key reduction
42  static void add_curve(const Node& curve_node,const Node& layer);
43 
44  // Remove a curve plug from the key reduction
45  static void remove_curve(const Node& curve_node);
46  };
47  }
Definition: AnimLayer.h:22
Definition: NodeSet.h:21
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:59
Definition: BaseLayer.h:22
Base class of all Rumba nodes.
Definition: Node.h:37