43 #if (_MSC_VER <= 1916)
44 #define QT_NO_FLOAT16_OPERATORS
48#ifndef FILEBVHPLUGIN_HH
49#define FILEBVHPLUGIN_HH
76 Q_PLUGIN_METADATA(IID
"org.OpenFlipper.Plugins.Plugin-FileBVH")
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);
85 void updatedObject(
int _identifier,
const UpdateType& _type);
88 void deleteObject(
int _id );
92 void fileOpened(
int ){};
104 QString
name() {
return (QString(
"FileBVH")); };
105 QString
description( ) {
return (QString(tr(
"Load/Save BioVision Format"))); };
117 bool writeSkeleton( std::ostream& _out,
Skeleton& _skeleton );
121 bool ignoreJointScaling_;
123 QWidget* loadOptions_;
124 QCheckBox* checkJointScaling_;
125 QPushButton* loadDefaultButton_;
135 bool saveObject(
int _id, QString _filename);
137 QString version() {
return QString(
"1.0"); };
Logtype
Log types for Message Window.
Interface class from which all plugins have to be created.
QString name()
Return a name for the plugin.
void slotLoadDefault()
Slot called when user wants to save the given Load options as default.
QWidget * loadOptionsWidget(QString)
FileBVHPlugin()
Constructor.
void initializePlugin()
Initialize Plugin.
QString description()
Return a description of what the plugin is doing.
DataType supportedType()
Return your supported object type( e.g. DATA_TRIANGLE_MESH )
QWidget * saveOptionsWidget(QString)
int loadObject(QString _filename)
Loads Object.
Interface class for file handling.
Interface for all plugins which want to Load or Save files and create Objects.
Interface for all Plugins which do logging to the logging window of the framework.
Interface for all Plugins which provide scriptable Functions.