#include <MRViewer/MRStatePluginUpdate.h>
Protected Member Functions | |
| virtual bool | reactOnFaceSelectionChanges_ () const |
| plugin can override it to make this helper class also react on face selections updates | |
| virtual void | onPluginEnable_ () override |
| called when plugin started | |
| virtual void | onPluginDisable_ () override |
| called when plugin stops | |
| virtual bool | shouldClose_ () const override |
| called each frame, return true to close plugin | |
Protected Attributes | |
| bool | meshChanged_ { false } |
| plugin can return the value to false after mesh change if it changed the mesh by itself and does not want to close | |
Additional Inherited Members | |
| Public Member Functions inherited from MR::IPluginUpdate | |
| virtual | ~IPluginUpdate ()=default |
| virtual void | preDrawUpdate () |
| called each frame in before drawDialog | |
Helper class to close plugin if any of active object meshes was changed inherit your plugin from it