61 #ifndef TYPEBSPLINECURVEPLUGIN_HH
62 #define TYPEBSPLINECURVEPLUGIN_HH
86 #if QT_VERSION >= 0x050000
87 Q_PLUGIN_METADATA(IID
"org.OpenFlipper.Plugins.Plugin-TypeBSplineCurve")
93 void log(
Logtype _type, QString _message);
94 void log(QString _message);
97 void emptyObjectAdded(
int _id );
107 void noguiSupported( ) {} ;
128 QString
name() {
return (QString(
"TypeBSplineCurve")); };
129 QString
description( ) {
return (QString(tr(
"Register BSpline Curve type "))); };
140 void generateBackup(
int _id, QString _name,
UpdateType _type );
144 QString version() {
return QString(
"1.1"); };
155 QAction* renderKnotSelectionAction_;
156 QAction* renderNoSelectionAction_;
160 #endif //TYPEBSPLINECURVEPLUGIN_HH
QString name()
Return a name for the plugin.
Interface class from which all plugins have to be created.
QAction * renderCurveAction_
Context menu action.
Logtype
Log types for Message Window.
Interface for all Plugins which do logging to the logging window of the framework.
QAction * renderControlPolygonAction_
Context menu action.
QString description()
Return a description of what the plugin is doing.
void pluginsInitialized()
Second initialization phase.
Interface for all plugins which want to Load or Save files and create Objects.
void slotRenderControlPolygon()
Slot triggered from context menu, if the control polygon should be rendered.
int addEmpty()
Create an empty object.
void slotRenderSelection(QAction *_action)
Slot triggered from context menu, if the selection rendering should be altered.
DataType supportedType()
Return your supported object type( e.g. DATA_TRIANGLE_MESH )
Interface class for creating custom context menus.
QAction * renderCPSelectionAction_
Context menu action (render selection texture)
void slotRenderCurve()
Slot triggered from context menu, if the curve should be rendered.
void slotUpdateContextMenu(int _objectId)
Interface class for type definitions.