59 Q_PLUGIN_METADATA(IID
"org.OpenFlipper.Plugins.Plugin-MeshConvert")
64 void log(
Logtype _type, QString _message);
65 void log(QString _message);
68 void addToolbar(QToolBar* _toolbar);
69 void getToolBar(QString _name, QToolBar*& _toolbar);
72 void addEmptyObject(
DataType _type,
int& _id);
75 void updatedObject(
int,
const UpdateType& _type);
78 void setSlotDescription(QString _slotName, QString _slotDescription,
79 QStringList _parameters, QStringList _descriptions);
86 QString
name() {
return (QString(
"MeshConvert")); }
87 QString
description() {
return (QString(
"Plugin used to convert PolyMesh to TriMesh and vice versa")); }
93 void pluginsInitialized();
102 QAction* bidirectionalConversion;
103 QAction* polyConversion;
104 QAction* triConversion;
120 int convert(
int _id,
bool _toTriMesh);
122 QString version() {
return QString(
"1.0"); };
Logtype
Log types for Message Window.
void convert(QAction *)
convert Converts trimesh to poly and vice versa depending on the Action that was called.
Interface for all plugins which want to Load or Save files and create Objects.
Interface for all Plugins which provide scriptable Functions.
Interface for all Plugins which do logging to the logging window of the framework.
QString description()
Return a description of what the plugin is doing.
Interface class from which all plugins have to be created.
Add a toolbox to OpenFlipper.
QString name()
Return a name for the plugin.
void initializePlugin()
BaseInterface.
void noguiSupported()
Tell system that this plugin runs without ui.