MeshLib C++ Docs
Loading...
Searching...
No Matches
MRItemEnabledPerViewport.h
Go to the documentation of this file.
1#pragma once
2
4#include "exports.h"
5
6namespace MR
7{
10
11
16{
17public:
18 [[nodiscard]] MRVIEWER_API ViewportMask getEnabledViewports() const;
19 MRVIEWER_API void setEnabledViewports( ViewportMask newMask );
20
21protected:
23
24private:
25 ViewportMask enabledViewports_ = ViewportMask::all();
26};
27
28}
Definition MRItemEnabledPerViewport.h:16
stores mask of viewport unique identifiers
Definition MRViewportId.h:42
static ViewportMask all()
mask meaning all or any viewports
Definition MRViewportId.h:49
MRVIEWER_API void setEnabledViewports(ViewportMask newMask)
MRVIEWER_API ViewportMask getEnabledViewports() const
only for bindings generation
Definition MRCameraOrientationPlugin.h:8