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
int loadObject(QString _filename)
Loads Object.
Logtype
Log types for Message Window.
void slotLoadDefault()
Slot called when user wants to save the given Load options as default.
Interface for all plugins which want to Load or Save files and create Objects.
Interface for all Plugins which provide scriptable Functions.
QWidget * loadOptionsWidget(QString)
DataType supportedType()
Return your supported object type( e.g. DATA_TRIANGLE_MESH )
QString name()
Return a name for the plugin.
Interface for all Plugins which do logging to the logging window of the framework.
Interface class from which all plugins have to be created.
void initializePlugin()
Initialize Plugin.
QWidget * saveOptionsWidget(QString)
Interface class for file handling.
QString description()
Return a description of what the plugin is doing.
FileBVHPlugin()
Constructor.