26 using Wrapper = std::shared_ptr<NodeDelegate> (*)(
const std::shared_ptr<NodeDelegate>& node,
const std::shared_ptr<NodeDelegateWrapper>& parent_wrapper);
29 std::shared_ptr<NodeDelegate> parent()
const override;
31 std::string path()
const override;
32 std::string document_path()
const override;
34 bool is_node()
const override;
35 std::shared_ptr<class AttributeDescriptor> description()
const override;
36 Node node()
const override;
39 std::shared_ptr<NodeDelegate> find(
const StringView& path)
override;
40 int child_count()
const override;
41 std::shared_ptr<NodeDelegate> child(
const StringView& name)
override;
43 std::shared_ptr<ChildIteratorDelegate> _children_begin()
override;
44 std::shared_ptr<ChildIteratorDelegate> _children_end()
override;
46 int attribute_count()
const override;
47 std::shared_ptr<AttributeDelegate> attribute(
const StringView& name)
override;
48 bool add_attribute(
const StringView& name,
const Value& value)
override;
49 std::shared_ptr<Channel> channel(
const ChannelType sc)
override;
50 std::vector<Channel> channels()
override;
51 void channel_plugs( std::unordered_set<Plug>&
set )
const override;
53 std::shared_ptr<AttributeIteratorDelegate> _attributes_begin()
override;
54 std::shared_ptr<AttributeIteratorDelegate> _attributes_end()
override;
56 bool has_transform()
const override;
64 int mutable_flags()
const override;
75 std::shared_ptr<Observer> create_transform_observer(
const std::function<
void()>& func,
bool in_interactive=
true)
override;
76 bool is_camera()
const override;
77 bool is_locked()
const override;
89 float aspect_ratio()
const override;
90 std::shared_ptr<NodeDelegate> aim()
const override;
91 std::shared_ptr<NodeDelegate> up()
const override;
92 std::shared_ptr<Observer> create_camera_observer(
const std::function<
void()>& func,
bool in_interactive=
true)
override;
93 bool has_geometry()
const override;
94 Shape geometry()
const override;
95 bool is_sculpt()
const override;
99 std::shared_ptr<maquina::NodeDelegate::Observer> create_sculpt_observer(
const std::function<
void()>& func,
bool in_interactive)
override;
102 std::shared_ptr<NodeDelegate>
_node;
Definition: ImathBox.h:71
std::shared_ptr< NodeDelegate >(*)(const std::shared_ptr< NodeDelegate > &node, const std::shared_ptr< NodeDelegateWrapper > &parent_wrapper) Wrapper
Definition: NodeDelegateWrapper.h:26
Order
Definition: ImathEuler.h:151
Definition: ImathFrame.h:42
Definition: ImathFrame.h:43
ChannelType
Predefined channel types.
Definition: ChannelType.h:23
The channel can't be modified.
A value with geometrical attributes. Base of all shape values.
Definition: Shape.h:25
This version of the SDK is unstable, i-e, it may change with no warning.
Definition: AddCurveAction.h:20
Definition: ModificationContext.h:21
static const ModificationContext & default_mc()
Automatically choose between undoable and layer.
#define MAQUINA_EXPORT
Definition: Export.h:31
bool operator!=(const C *str, const StringViewBase< C, STDS > &sv) noexcept
Definition: StringView.h:306
std::shared_ptr< NodeDelegateWrapper > _parent_wrapper
Definition: NodeDelegateWrapper.h:103
bool operator==(const C *str, const StringViewBase< C, STDS > &sv) noexcept
Definition: StringView.h:274
This interface gives a high level access to the document structure.
Definition: NodeDelegate.h:72
static const QueryContext at_current_frame
Query at the current frame.
Definition: QueryContext.h:36
std::shared_ptr< NodeDelegate > _node
Definition: NodeDelegateWrapper.h:102
Definition: QueryContext.h:22
Wrapper _wrapper
Definition: NodeDelegateWrapper.h:104
That class wraps existing node delegate and their children to override some of their behaviors...
Definition: NodeDelegateWrapper.h:23
Base class of all Rumba nodes.
Definition: Node.h:37
Base class of all Rumba values.
Definition: Value.h:34