50 #ifndef FILEBVHPLUGIN_HH 51 #define FILEBVHPLUGIN_HH 78 Q_PLUGIN_METADATA(IID
"org.OpenFlipper.Plugins.Plugin-FileBVH")
80 void openedFile(
int _id );
81 void addEmptyObject(
DataType _type,
int& _id);
82 void load(QString _filename,
DataType _type,
int& _id);
83 void save(
int _id , QString _filename );
84 void log(
Logtype _type, QString _message);
85 void log(QString _message);
87 void updatedObject(
int _identifier,
const UpdateType& _type);
90 void deleteObject(
int _id );
94 void fileOpened(
int ){};
106 QString
name() {
return (QString(
"FileBVH")); };
107 QString
description( ) {
return (QString(tr(
"Load/Save BioVision Format"))); };
119 bool writeSkeleton( std::ostream& _out,
Skeleton& _skeleton );
123 bool ignoreJointScaling_;
125 QWidget* loadOptions_;
126 QCheckBox* checkJointScaling_;
127 QPushButton* loadDefaultButton_;
137 bool saveObject(
int _id, QString _filename);
139 QString version() {
return QString(
"1.0"); };
143 #endif //FILEBVHPLUGIN_HH
void initializePlugin()
Initialize Plugin.
QWidget * loadOptionsWidget(QString)
Logtype
Log types for Message Window.
FileBVHPlugin()
Constructor.
Interface for all Plugins which do logging to the logging window of the framework.
QString name()
Return a name for the plugin.
void slotLoadDefault()
Slot called when user wants to save the given Load options as default.
DataType supportedType()
Return your supported object type( e.g. DATA_TRIANGLE_MESH )
int loadObject(QString _filename)
Loads Object.
Interface for all Plugins which provide scriptable Functions.
QWidget * saveOptionsWidget(QString)
Interface class from which all plugins have to be created.
Interface class for file handling.
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.