MeshLib Documentation
Loading...
Searching...
No Matches
MR::PluginUpdateOnChangeMeshPart Class Reference

#include <MRStatePluginUpdate.h>

+ Inheritance diagram for MR::PluginUpdateOnChangeMeshPart:

Public Types

using UpdateFunc = std::function<void()>
 

Public Member Functions

void setUpdateFunc (UpdateFunc func)
 
virtual MRVIEWER_API void preDrawUpdate () override
 
- Public Member Functions inherited from MR::IPluginUpdate
virtual ~IPluginUpdate ()=default
 

Protected Member Functions

virtual MRVIEWER_API void onPluginEnable_ () override
 
virtual MRVIEWER_API void onPluginDisable_ () override
 
- Protected Member Functions inherited from MR::IPluginUpdate
virtual bool shouldClose_ () const
 

Member Typedef Documentation

◆ UpdateFunc

using MR::PluginUpdateOnChangeMeshPart::UpdateFunc = std::function<void()>

Member Function Documentation

◆ onPluginDisable_()

virtual MRVIEWER_API void MR::PluginUpdateOnChangeMeshPart::onPluginDisable_ ( )
overrideprotectedvirtual

Reimplemented from MR::IPluginUpdate.

◆ onPluginEnable_()

virtual MRVIEWER_API void MR::PluginUpdateOnChangeMeshPart::onPluginEnable_ ( )
overrideprotectedvirtual

Reimplemented from MR::IPluginUpdate.

◆ preDrawUpdate()

virtual MRVIEWER_API void MR::PluginUpdateOnChangeMeshPart::preDrawUpdate ( )
overridevirtual

Reimplemented from MR::IPluginUpdate.

◆ setUpdateFunc()

void MR::PluginUpdateOnChangeMeshPart::setUpdateFunc ( UpdateFunc func)
inline

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