50 #ifndef FILESKLPLUGIN_HH 51 #define FILESKLPLUGIN_HH 62 #include <OpenFlipper/BasePlugin/INIInterface.hh> 74 #if QT_VERSION >= 0x050000 75 Q_PLUGIN_METADATA(IID
"org.OpenFlipper.Plugins.Plugin-FileSkeleton")
78 void openedFile(
int _id );
79 void addEmptyObject(
DataType _type,
int& _id);
80 void load(QString _filename,
DataType _type,
int& _id);
81 void save(
int _id , QString _filename );
82 void log(
Logtype _type, QString _message);
83 void log(QString _message);
84 void updatedObject(
int _identifier,
const UpdateType& _type);
88 void fileOpened(
int ){};
101 QString
name() {
return (QString(
"FileSKL")); };
102 QString
description( ) {
return (QString(
"Load/Save Skeletons")); };
114 int loadObject(QString _filename);
116 bool saveObject(
int _id, QString _filename);
119 template<
typename Skeleton>
bool LoadSkeleton(
Skeleton *_pSkeleton, QString _filename);
120 template<
typename Skeleton>
bool SaveSkeleton(
Skeleton *_pSkeleton, QString _filename);
124 #endif //FILESKLPLUGIN_HH
Logtype
Log types for Message Window.
QWidget * saveOptionsWidget(QString)
void loadIniFile(INIFile &_ini, int _id)
Load per object settings.
QWidget * loadOptionsWidget(QString)
Interface for all Plugins which provide scriptable Functions.
Interface class for Plugins which have to store information in ini files.
Interface class from which all plugins have to be created.
Interface for all Plugins which do logging to the logging window of the framework.
QString description()
Return a description of what the plugin is doing.
void initializePlugin()
Initialize Plugin.
Class for the handling of simple configuration files.
void saveIniFile(INIFile &_ini, int _id)
Save per object settings.
Interface class for file handling.
Interface for all plugins which want to Load or Save files and create Objects.
DataType supportedType()
Return your supported object type( e.g. DATA_TRIANGLE_MESH )
QString name()
Return a name for the plugin.