50 #ifndef TYPEPOLYHEDRALMESH_HH
51 #define TYPEPOLYHEDRALMESH_HH
75 #if QT_VERSION >= 0x050000
76 Q_PLUGIN_METADATA(IID
"org.OpenFlipper.Plugins.Plugin-TypePolyhedralMesh")
81 void log(
Logtype _type, QString _message);
82 void log(QString _message);
85 void emptyObjectAdded(
int _id);
92 void noguiSupported() {}
94 void pluginsInitialized();
96 void slot_change_shrinkage();
98 void slotKeyEvent(QKeyEvent* _event);
100 void slotObjectUpdated(
int _identifier,
const UpdateType & _type);
102 void objectDeleted(
int _identifier);
104 void slot_update_planes_in_scenegraph_node(
int _deletedObject = -1);
106 void switchRendering();
108 void setTranslucencyFactor();
124 return (QString(
"TypePolyhedralMesh"));
128 return (QString(tr(
"Register Polyhedral Mesh Type")));
136 return QString(
"1.0");
149 QAction* render_switch_;
151 QAction* translucency_factor_action_;
155 QWidget* optionsWidget_;
156 QDoubleSpinBox* scalingFactorSpinBox_;
157 QDoubleSpinBox* translucencyFactorSpinBox_;
158 QCheckBox* renderBoundaryCheckBox_;
159 const QString scalingFactorSettingName_;
160 const QString translucencyFactorSettingName_;
161 const QString renderBoundarySettingName_;
164 #endif //TYPEPOLYHEDRALMESH_HH
Interface class from which all plugins have to be created.
QString description()
Return a description of what the plugin is doing.
Keyboard Event Interface.
Logtype
Log types for Message Window.
#define DATA_POLYHEDRAL_MESH
Interface for all Plugins which do logging to the logging window of the framework.
Options Dialog interface.
QString name()
Return a name for the plugin.
Interface for all plugins which want to Load or Save files and create Objects.
bool initializeOptionsWidget(QWidget *&_widget)
Initialize the Options Widget.
Interface class for creating custom context menus.
Interface class for type definitions.