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