MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::ItemEnabledPerViewport Class Reference

#include <MRItemEnabledPerViewport.h>

Public Member Functions

MRVIEWER_API ViewportMask getEnabledViewports () const
 
MRVIEWER_API void setEnabledViewports (ViewportMask newMask)
 

Protected Member Functions

 ItemEnabledPerViewport ()=default
 

Detailed Description

A base class for RibbonMenuItems that can be toggled per viewport. The intent is that the derived classes should also be derived from RibbonMenuItem and be registered in the ribbon schema. Doing this ensures that you can loop over all items in the schema to get a list of all items toggleable in this way.


The documentation for this class was generated from the following file: