MeshLib Documentation
Loading...
Searching...
No Matches
MR::MeshModifier Class Referenceabstract

#include <MRMeshModifier.h>

+ Inheritance diagram for MR::MeshModifier:

Public Member Functions

MRVIEWER_API MeshModifier (std::string name, StatePluginTabs tab=StatePluginTabs::Mesh)
 
virtual ~MeshModifier ()=default
 
virtual MRVIEWER_API bool action () override
 
MRVIEWER_API bool modify (const std::vector< std::shared_ptr< VisualObject > > &selectedObjects)
 
MRVIEWER_API StatePluginTabs getTab () const
 
MRVIEWER_API bool checkStringMask (const std::string &mask) const
 
- Public Member Functions inherited from MR::RibbonMenuItem
 MR_DELETE_MOVE (RibbonMenuItem)
 
MRVIEWER_API RibbonMenuItem (std::string name)
 
virtual ~RibbonMenuItem ()=default
 
virtual bool isActive () const
 
virtual bool blocking () const
 
const std::string & name () const
 
virtual const std::string & uiName () const
 
void setRibbonItemType (RibbonItemType type)
 
virtual RibbonItemType type () const
 
MRVIEWER_API void setDropItemsFromItemList (const MenuItemsList &itemsList)
 
virtual const DropItemsListdropItems () const
 
virtual std::string getDynamicTooltip () const
 
- Public Member Functions inherited from MR::ISceneStateCheck
virtual ~ISceneStateCheck ()=default
 
virtual std::string isAvailable (const std::vector< std::shared_ptr< const Object > > &) const
 

Additional Inherited Members

- Public Types inherited from MR::RibbonMenuItem
using DropItemsList = std::vector<std::shared_ptr<RibbonMenuItem>>
 
- Protected Attributes inherited from MR::RibbonMenuItem
RibbonItemType type_ { RibbonItemType::Button }
 
DropItemsList dropList_
 

Constructor & Destructor Documentation

◆ MeshModifier()

MRVIEWER_API MR::MeshModifier::MeshModifier ( std::string name,
StatePluginTabs tab = StatePluginTabs::Mesh )

◆ ~MeshModifier()

virtual MR::MeshModifier::~MeshModifier ( )
virtualdefault

Member Function Documentation

◆ action()

virtual MRVIEWER_API bool MR::MeshModifier::action ( )
overridevirtual

Implements MR::RibbonMenuItem.

◆ checkStringMask()

MRVIEWER_API bool MR::MeshModifier::checkStringMask ( const std::string & mask) const

◆ getTab()

MRVIEWER_API StatePluginTabs MR::MeshModifier::getTab ( ) const

◆ modify()

MRVIEWER_API bool MR::MeshModifier::modify ( const std::vector< std::shared_ptr< VisualObject > > & selectedObjects)

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