Lagrange
default_tools.h
1/*
2 * Copyright 2020 Adobe. All rights reserved.
3 * This file is licensed to you under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License. You may obtain a copy
5 * of the License at http://www.apache.org/licenses/LICENSE-2.0
6 *
7 * Unless required by applicable law or agreed to in writing, software distributed under
8 * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9 * OF ANY KIND, either express or implied. See the License for the specific language
10 * governing permissions and limitations under the License.
11 */
12#pragma once
13
14#include <lagrange/ui/api.h>
15#include <lagrange/ui/Entity.h>
16
17namespace lagrange {
18namespace ui {
19
20class Tools;
21
23{
24};
25
27{
28};
29
31{
32};
34{
35};
36
38{
39};
40
42{
43};
44
46{
47};
48
50{
51};
52
53// For reflection info
55{
56 std::vector<entt::id_type> element_types;
57 std::vector<entt::id_type> tool_types;
58};
59
60
61LA_UI_API void register_default_tools(Tools& tools);
62LA_UI_API void select(Registry& r, const std::function<void(Registry&)>& selection_system);
63
64} // namespace ui
65} // namespace lagrange
Definition: Tools.h:42
Lagrange UI Viewer and mini 3D engine.
Definition: AcceleratedPicking.h:22
Main namespace for Lagrange.
Definition: AABBIGL.h:30
Definition: default_tools.h:55
Definition: default_tools.h:34
Definition: default_tools.h:31
Definition: default_tools.h:23
Definition: default_tools.h:27
Definition: default_tools.h:46
Definition: default_tools.h:50
Definition: default_tools.h:38
Definition: default_tools.h:42