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
void pluginsInitialized()
Second initialization phase.
Interface for all plugins which want to Load or Save files and create Objects.
Interface class for creating custom context menus.
QAction * renderCurveAction_
Context menu action.
Interface for all Plugins which do logging to the logging window of the framework.
Interface class for type definitions.
QString description()
Return a description of what the plugin is doing.
int addEmpty()
Create an empty object.
Interface class from which all plugins have to be created.
DataType supportedType()
Return your supported object type( e.g. DATA_TRIANGLE_MESH )
Logtype
Log types for Message Window.
void slotUpdateContextMenu(int _objectId)
void slotRenderCurve()
Slot triggered from context menu, if the curve should be rendered.
QAction * renderCPSelectionAction_
Context menu action (render selection texture)
QString name()
Return a name for the plugin.
void slotRenderSelection(QAction *_action)
Slot triggered from context menu, if the selection rendering should be altered.
QAction * renderControlPolygonAction_
Context menu action.
void slotRenderControlPolygon()
Slot triggered from context menu, if the control polygon should be rendered.