45 #include <QDoubleSpinBox> 68 Q_PLUGIN_METADATA(IID
"org.OpenFlipper.Plugins.Plugin-TypePolyhedralMesh")
72 void log(
Logtype _type, QString _message);
73 void log(QString _message);
76 void emptyObjectAdded(
int _id);
83 void noguiSupported() {}
85 void pluginsInitialized();
87 void slot_change_shrinkage();
89 void slotKeyEvent(QKeyEvent* _event);
91 void slotObjectUpdated(
int _identifier,
const UpdateType & _type);
93 void objectDeleted(
int _identifier);
95 void slot_update_planes_in_scenegraph_node(
int _deletedObject = -1);
97 void switchRendering();
99 void setTranslucencyFactor();
115 return (QString(
"TypePolyhedralMesh"));
119 return (QString(tr(
"Register Polyhedral Mesh Type")));
127 return QString(
"1.0");
140 QAction* render_switch_;
142 QAction* translucency_factor_action_;
146 QWidget* optionsWidget_;
147 QDoubleSpinBox* scalingFactorSpinBox_;
148 QDoubleSpinBox* translucencyFactorSpinBox_;
149 QCheckBox* renderBoundaryCheckBox_;
150 const QString scalingFactorSettingName_;
151 const QString translucencyFactorSettingName_;
152 const QString renderBoundarySettingName_;
Interface class for creating custom context menus.
QString description()
Return a description of what the plugin is doing.
Logtype
Log types for Message Window.
Interface for all plugins which want to Load or Save files and create Objects.
QString name()
Return a name for the plugin.
Interface class for type definitions.
Interface for all Plugins which do logging to the logging window of the framework.
bool initializeOptionsWidget(QWidget *&_widget)
Initialize the Options Widget.
Interface class from which all plugins have to be created.
Keyboard Event Interface.
Options Dialog interface.
#define DATA_POLYHEDRAL_MESH