MeshLib Documentation
Loading...
Searching...
No Matches
MRViewerFwd.h
Go to the documentation of this file.
1#pragma once
2
3#include "config.h"
4#include "exports.h"
5#include <MRMesh/MRMeshFwd.h>
6#include <functional>
7
8namespace MR
9{
10
12using ViewportRectangle = Box2f;
13
14enum class FitMode;
15struct BaseFitParams;
16struct FitDataParams;
17struct FitBoxParams;
18
19enum class MouseButton;
20enum class MouseMode;
21
22class AlphaSortGL;
23class ColorTheme;
24class ImGuiImage;
25class ImGuiMenu;
27class FrameCounter;
29class Palette;
31class ScopeHistory;
32class SelectScreenLasso;
33class SceneTextureGL;
35class SplashWindow;
36class StateBasePlugin;
37class ViewerPlugin;
39class ViewerSetup;
40class Viewer;
41struct LaunchParams;
43class Viewport;
44class RibbonMenu;
45class RibbonMenuItem;
47class ShortcutManager;
48struct ShortcutKey;
49enum class ShortcutCategory : char;
50
56class MouseController;
57struct PointInAllSpaces;
58
59template<typename ...Connectables>
62
63class HistoryStore;
64
65using ViewerEventCallback = std::function<void()>;
66
67// this is needed as far as MAKE_SLOT cannot be used with movable classes
68#define MR_DELETE_MOVE(ClassName)\
69ClassName(ClassName&&)noexcept = delete;\
70ClassName& operator=(ClassName&&)noexcept = delete
71
72#define MR_ADD_CTOR_DELETE_MOVE(ClassName)\
73ClassName()=default;\
74ClassName(ClassName&&)noexcept = delete;\
75ClassName& operator=(ClassName&&)noexcept = delete
76
77} //namespace MR
Definition MRAlphaSortGL.h:7
Definition MRColorTheme.h:17
Definition MRFrameCounter.h:10
This class stores history stack for undo/redo.
Definition MRHistoryStore.h:16
Definition MRViewerSettingsManager.h:13
Definition MRImGuiImage.h:14
Definition ImGuiMenu.h:55
ImGui visualization of a slice from voxel object and seed marks on it.
Definition MRMarkedVoxelSlice.h:18
Definition MRMouseController.h:21
Class to hold one dimension texture with value to UV mapping.
Definition MRPalette.h:25
Definition MRRecentFilesStore.h:17
Definition MRRibbonFontManager.h:11
Definition MRRibbonMenuItem.h:20
Definition MRRibbonMenu.h:32
Definition MRSceneTextureGL.h:8
Definition MRAppendHistory.h:73
Definition MRShortcutManager.h:44
Definition MRSpaceMouseController.h:11
Definition MRSpaceMouseHandlerHidapi.h:27
Definition MRSplashWindow.h:19
Definition MRStatePlugin.h:78
Definition MRViewerFwd.h:60
Definition MRTouchesController.h:17
Definition MRTouchpadController.h:32
queue to ignore multiple mouse moves in one frame
Definition MRViewerEventQueue.h:14
Definition MRViewerPlugin.h:27
Definition MRViewerSettingsManager.h:32
Definition MRSetupViewer.h:11
Definition MRViewport.h:49
Definition MRCameraOrientationPlugin.h:8
MouseMode
Definition MRMouse.h:19
MouseButton
Definition MRMouse.h:9
FitMode
Definition MRFitData.h:11
ShortcutCategory
Definition MRShortcutManager.h:28
Box2f ViewportRectangle
Viewport size.
Definition MRViewerFwd.h:12
std::function< void()> ViewerEventCallback
Definition MRViewerFwd.h:65
Definition Viewer.dox.py:1
Definition MRFitData.h:19
Definition MRFitData.h:41
Definition MRFitData.h:28
Definition MRViewer.h:34
Definition MRPointInAllSpaces.h:13
Definition MRShortcutManager.h:13
Definition MRSpaceMouseParameters.h:10
Definition MRTouchpadParameters.h:9