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

#include <MRStatePluginUpdate.h>

+ Inheritance diagram for MR::PluginCloseOnChangePointCloud:

Protected Member Functions

virtual MRVIEWER_API void onPluginEnable_ () override
 called when plugin started
 
virtual MRVIEWER_API void onPluginDisable_ () override
 called when plugin stops
 
virtual MRVIEWER_API bool shouldClose_ () const override
 called each frame, return true to close plugin
 

Protected Attributes

bool pointCloudChanged_ { false }
 plugin can return the value to false after points 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
 

Detailed Description

Helper class to close plugin if any of active object points was changed inherit your plugin from it


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