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