Developer Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
FileBVHPlugin Class Reference
Inheritance diagram for FileBVHPlugin:
BaseInterface FileInterface LoadSaveInterface LoggingInterface ScriptInterface

Public Slots

void slotLoadDefault ()
 Slot called when user wants to save the given Load options as default.
int loadObject (QString _filename)
 Loads Object.
bool saveObject (int _id, QString _filename)
QString version ()

Signals

void openedFile (int _id)
void addEmptyObject (DataType _type, int &_id)
void load (QString _filename, DataType _type, int &_id)
void save (int _id, QString _filename)
void log (Logtype _type, QString _message)
void log (QString _message)
void updateView ()
void deleteObject (int _id)
- Signals inherited from BaseInterface
virtual void setRenderer (unsigned int _viewer, QString _rendererName)
 Set a renderer for the given viewer.
virtual void getCurrentRenderer (unsigned int _viewer, QString &_rendererName)
 Get the current renderer for the given viewer.
virtual void updateView ()
 Update current view in Main Application.
virtual void updatedObject (int _objectId)
 An object has been changed or added by this plugin.
virtual void updatedObject (int _identifier, const UpdateType &_type)
 An object has been changed or added by this plugin.
virtual void nodeVisibilityChanged (int _identifier)
 A scenegraph node has been shown or hidden.
virtual void setSlotDescription (QString _slotName, QString _slotDescription, QStringList _parameters, QStringList _descriptions)
 Set a description for a public slot.
- Signals inherited from FileInterface
virtual void openedFile (int _id)
 This signal has to be emitted if an object has been loaded from a file.
- Signals inherited from LoadSaveInterface
virtual void save (int _id, QString _filename)
 Save object to a file.
virtual void load (QString _filename, DataType _type, int &_id)
 Load object from file with a specific DataType.
virtual void addEmptyObject (DataType _type, int &_id)
virtual void copyObject (int _oldId, int &_newId)
virtual void emptyObjectAdded (int _id)
 DEPRECATED! Emit this signal if an empty object has been created.
virtual void deleteObject (int _id)
 Delete an object.
virtual void deleteAllObjects ()
 Delete all Objects.
virtual void getAllFileFilters (QStringList &_filters)
 Get all file filters that are registered.
- Signals inherited from LoggingInterface
virtual void log (Logtype _type, QString _message)=0
virtual void log (QString _message)=0
- Signals inherited from ScriptInterface
virtual void executeScript (QString _script)
virtual void executeFileScript (QString _filename)
virtual void getAvailableFunctions (QStringList &_functions)
virtual void getDescription (QString _function, QString &_description, QStringList &_parameters, QStringList &_descriptions)
virtual void scriptInfo (QString _functionWithParameters)
 Emit this signal if a scriptable function is executed.
virtual void getScriptingEngine (QScriptEngine *&_engine)

Public Member Functions

 FileBVHPlugin ()
 Constructor.
QString name ()
QString description ()
DataType supportedType ()
QString getSaveFilters ()
QString getLoadFilters ()
QWidget * saveOptionsWidget (QString)
QWidget * loadOptionsWidget (QString)

Private Slots

void fileOpened (int)
void noguiSupported ()
void initializePlugin ()

Private Member Functions

bool writeSkeleton (std::ostream &_out, Skeleton &_skeleton)
ACG::Vec3d convertToAxisRotation (ACG::Matrix4x4d &_rotationMatrix)
- Private Member Functions inherited from BaseInterface
virtual ~BaseInterface ()
 Destructor.
virtual QString name ()=0
 Return a name for the plugin.
virtual QString description ()=0
 Return a description of what the plugin is doing.
- Private Member Functions inherited from FileInterface
virtual ~FileInterface ()
 Destructor.
virtual QWidget * saveOptionsWidget (QString _currentFilter)=0
virtual QWidget * loadOptionsWidget (QString _currentFilter)=0
virtual DataType supportedType ()=0
 Return your supported object type( e.g. DATA_TRIANGLE_MESH )
virtual QString getLoadFilters ()=0
virtual QString getSaveFilters ()=0
- Private Member Functions inherited from LoadSaveInterface
virtual ~LoadSaveInterface ()
 Destructor.
- Private Member Functions inherited from LoggingInterface
virtual ~LoggingInterface ()
 Destructor.
- Private Member Functions inherited from ScriptInterface
virtual ~ScriptInterface ()
 Destructor.

Private Attributes

bool ignoreJointScaling_
QWidget * loadOptions_
QCheckBox * checkJointScaling_
QPushButton * loadDefaultButton_

Detailed Description

Definition at line 59 of file FileBVH.hh.


The documentation for this class was generated from the following files: