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