Developer Documentation
SkeletonEditingPlugin Class Reference

#include <Plugin-SkeletonEditing/SkeletonEditingPlugin.hh>

Inheritance diagram for SkeletonEditingPlugin:
RPCInterface BackupInterface LoadSaveInterface ContextMenuInterface ToolbarInterface ScriptInterface LoggingInterface ToolboxInterface PickingInterface KeyInterface MouseInterface BaseInterface

Public Slots

QString version ()
 
Scriptable Functions
void splitBone (int _objectId, int _tailJoint)
 insert a joint in the middle of a bone given by its (unique) tailJoint More...
 
void addJoint (int _objectId, int _parent, Vector _position)
 add joint to the skeleton More...
 
void deleteJoint (int _objectId, int _jointId)
 delete joint from the skeleton More...
 
void transformJoint (int _objectId, int _jointId, Matrix4x4 _matrix)
 transform joint with given matrix More...
 
Matrix4x4 globalMatrix (int _objectId, int _jointId)
 get global matrix of a joint in the active pose More...
 
Matrix4x4 localMatrix (int _objectId, int _jointId)
 get local matrix of a joint in the active pose More...
 
Vector globalTranslation (int _objectId, int _jointId)
 get global translation of a joint in the active pose More...
 
Vector localTranslation (int _objectId, int _jointId)
 get local translation of a joint in the active pose More...
 
int animationCount (int _objectId)
 get the number of animations More...
 
int frameCount (int _objectId, int _animationIndex)
 get the number of frames More...
 
int activeAnimation (int _objectId)
 get active animation More...
 
int activeFrame (int _objectId)
 get active frame More...
 
void setActivePose (int _objectId, int _animationIndex, int _frame)
 set active pose More...
 
void addAnimation (int _objectId, QString _name, int _frames)
 add animation More...
 
void splitJoint (QMouseEvent *_event)
 split selected Joint More...
 

Signals

void updateView ()
 
void updatedObject (int, const UpdateType &_type)
 
void nodeVisibilityChanged (int)
 
void setRenderer (unsigned int _viewer, QString _rendererName)
 
void getCurrentRenderer (unsigned int _viewer, QString &_rendererName)
 
void addPickMode (const std::string &_mode)
 
void addHiddenPickMode (const std::string &_mode)
 
void setPickModeMouseTracking (const std::string &_mode, bool _mouseTracking)
 
void setPickModeToolbar (const std::string &_mode, QToolBar *_toolbar)
 
void addContextMenuItem (QAction *_action, ContextMenuType _type)
 
void log (Logtype _type, QString _message)
 
void log (QString _message)
 
void scriptInfo (QString _functionName)
 
void setSlotDescription (QString _slotName, QString _slotDescription, QStringList _parameters, QStringList _descriptions)
 
void addToolbar (QToolBar *_toolbar)
 
void getToolBar (QString _name, QToolBar *&_toolbar)
 
void registerKey (int _key, Qt::KeyboardModifiers _modifiers, QString _description, bool _multiUse=false)
 
void addToolbox (QString _name, QWidget *_widget)
 
void addEmptyObject (DataType _type, int &_id)
 
void deleteObject (int _id)
 
void createBackup (int _objectid, QString _name, UpdateType _type=UPDATE_ALL)
 
- Signals inherited from BaseInterface
virtual void updateView ()
 Update current view in Main Application. More...
 
virtual void setSlotDescription (QString _slotName, QString _slotDescription, QStringList _parameters, QStringList _descriptions)
 Set a description for a public slot. More...
 
virtual void setRenderer (unsigned int _viewer, QString _rendererName)
 Set a renderer for the given viewer. More...
 
- Signals inherited from KeyInterface
virtual void registerKey (int _key, Qt::KeyboardModifiers _modifiers, QString _description, bool _multiUse=false)
 Register a key-combination for your plugin. More...
 
- Signals inherited from PickingInterface
virtual void addPickMode (const std::string &_mode)
 Add a new picking mode to the examiner. More...
 
- Signals inherited from ToolboxInterface
virtual void addToolbox (QString _name, QWidget *_widget)
 Add a toolbox widget to the gui with the given name. More...
 
- Signals inherited from LoggingInterface
virtual void log (Logtype _type, QString _message)=0
 
virtual void log (QString _message)=0
 
- Signals inherited from ScriptInterface
virtual void scriptInfo (QString _functionWithParameters)
 Emit this signal if a scriptable function is executed. More...
 
virtual void getScriptingEngine (QScriptEngine *&_engine)
 
virtual void executeFileScript (QString _filename)
 
virtual void getAvailableFunctions (QStringList &_functions)
 
- Signals inherited from ToolbarInterface
virtual void addToolbar (QToolBar *_toolbar)
 Adds a Toolbar to the main widget. More...
 
- Signals inherited from ContextMenuInterface
virtual void addContextMenuItem (QAction *_action, ContextMenuType _type)
 Add an entry for a context Menu. More...
 
- Signals inherited from LoadSaveInterface
virtual void save (int _id, QString _filename)
 Save object to a file. More...
 
virtual void load (QString _filename, DataType _type, int &_id)
 Load object from file with a specific DataType. More...
 
- Signals inherited from BackupInterface
virtual void createBackup (int _objectid, QString _name, UpdateType _type=UPDATE_ALL)
 Tell Backup Plugin to create a backup. More...
 
virtual void aboutToRestore (int _objectid)
 Backup Plugin tells other Plugins that a restore will happen. More...
 
virtual void generateBackup (int _id, QString _name, UpdateType _type)
 This signal is emitted by a BackupPlugin and tells a TypePlugin to generate a backup. More...
 
- Signals inherited from RPCInterface
virtual void pluginExists (QString _pluginName, bool &_exists)
 

Public Member Functions

 SkeletonEditingPlugin ()
 Default Constructor. More...
 
 ~SkeletonEditingPlugin ()
 Destructor. More...
 
QString name ()
 Name of the Plugin. More...
 
QString description ()
 Description of the Plugin. More...
 

Private Slots

void initializePlugin ()
 
void pluginsInitialized ()
 Initialization of the plugin when it is loaded by the core. More...
 
void slotObjectUpdated (int _id, const UpdateType &_type)
 
void slotMouseWheelEvent (QWheelEvent *_event, const std::string &_mode)
 
void slotMouseEvent (QMouseEvent *_event)
 MousePress event occured. More...
 
void slotKeyEvent (QKeyEvent *_event)
 
void slotKeyReleaseEvent (QKeyEvent *_event)
 
void slotPickModeChanged (const std::string &_mode)
 slot is called when the pickMode changed More...
 
void slotSetEditingMode (QAction *_action)
 
void slotPickToolbarAction (QAction *_action)
 
void setDescriptions ()
 Set Descriptions for Scripting Slots. More...
 
void manipulatorMoved (QtTranslationManipulatorNode *_node, QMouseEvent *_event)
 move the object when its manipulator moves More...
 
void ManipulatorPositionChanged (QtTranslationManipulatorNode *_node)
 update object when its manipulator changes position More...
 
void slotRotateManipulator (bool _toggled)
 
- Private Slots inherited from BaseInterface
virtual void exit ()
 
virtual QString version ()
 Return a version string for your plugin. More...
 
- Private Slots inherited from KeyInterface
virtual void slotKeyEvent (QKeyEvent *_event)
 Key Event from Main App. More...
 

Private Member Functions

void moveJoint (QMouseEvent *_event)
 
bool canModify (QMouseEvent *_event)
 checks, if the skeleton can be modified. a skeleton can be modified, if the active pose is the reference pose More...
 
void insertJoint (QMouseEvent *_event)
 
void cancelJointInsertion ()
 
void deleteJoint (QMouseEvent *_event)
 
void selectJoint (QMouseEvent *_event)
 
Skeleton::PoseactivePose (SkeletonObject *_skeletonObj)
 
void setJointPosition (SkeletonObject *_skeletonObj, Skeleton::Joint *_joint, ACG::Vec3d &_position)
 
OpenMesh::Vec3d getNearestJoint (SkeletonObject *_skeletonObj, OpenMesh::Vec3d &_hitPoint, int &_bestJointID)
 Get nearest joint to hitPoint (used for snapping) More...
 
void placeManip (QMouseEvent *_event)
 Place and show the Manipulator. More...
 
void showManipulators ()
 Show/Hide active manipulators. More...
 
void updateManipulatorPosition (BaseObjectData *_skeletonObj)
 make sure the manipulator is positioned on a joint More...
 
void inverseKinematic (ACG::Vec3d dest, Skeleton::Pose *currentPose, Skeleton::Joint *pickedJoint, std::vector< Skeleton::Joint * > rotatableJoints)
 function for computing the position of our joints using inverse Kinematic More...
 
- Private Member Functions inherited from BaseInterface
virtual void noguiSupported ()
 
virtual ~BaseInterface ()
 Destructor. More...
 
virtual void blockScenegraphUpdates (bool _block)
 Tell the core to prevent scenegraph updates. More...
 
virtual void updatedObject (int _objectId)
 An object has been changed or added by this plugin. More...
 
virtual void updatedObject (int _identifier, const UpdateType &_type)
 An object has been changed or added by this plugin. More...
 
virtual void nodeVisibilityChanged (int _identifier)
 A scenegraph node has been shown or hidden. More...
 
virtual void getCurrentRenderer (unsigned int _viewer, QString &_rendererName)
 Get the current renderer for the given viewer. More...
 
- Private Member Functions inherited from MouseInterface
virtual ~MouseInterface ()
 Destructor. More...
 
- Private Member Functions inherited from KeyInterface
virtual void slotKeyReleaseEvent (QKeyEvent *_event)
 Key Release Event from Main App. More...
 
virtual ~KeyInterface ()
 Destructor. More...
 
- Private Member Functions inherited from PickingInterface
virtual void addHiddenPickMode (const std::string &_mode)
 Add a new picking mode to the examiner which will be invisible. More...
 
virtual void setPickModeCursor (const std::string &_mode, QCursor _cursor)
 Set the cursor of the given PickMode. More...
 
virtual void setPickModeMouseTracking (const std::string &_mode, bool _mouseTracking)
 Set mouse tracking for the given PickMode. More...
 
virtual void setPickModeToolbar (const std::string &_mode, QToolBar *_toolbar)
 Set the additional toolbar of the given PickMode. More...
 
virtual void removePickModeToolbar (const std::string &_mode)
 Removes the additional toolbar of the given PickMode. More...
 
virtual ~PickingInterface ()
 Destructor. More...
 
- Private Member Functions inherited from ToolboxInterface
virtual ~ToolboxInterface ()
 Destructor. More...
 
virtual void addToolbox (QString _name, QWidget *_widget, QIcon *_icon)
 Add a toolbox widget to the gui with the given name and an icon. More...
 
virtual void addToolbox (QString _name, QWidget *_widget, QIcon *_icon, QWidget *_headerAreaWidget)
 Add a toolbox widget to the gui with the given name, icon and header area widget. More...
 
- Private Member Functions inherited from LoggingInterface
virtual ~LoggingInterface ()
 Destructor. More...
 
- Private Member Functions inherited from ScriptInterface
virtual ~ScriptInterface ()
 Destructor. More...
 
virtual void showScriptInEditor (QString _filename)
 
virtual void executeScript (QString _script)
 
virtual void getDescription (QString _function, QString &_description, QStringList &_parameters, QStringList &_descriptions)
 
- Private Member Functions inherited from ToolbarInterface
virtual ~ToolbarInterface ()
 Destructor. More...
 
virtual void removeToolbar (QToolBar *_toolbar)
 Remove a Toolbar from the main widget. More...
 
virtual void getToolBar (QString _name, QToolBar *&_toolbar)
 Get a pointer to a Toolbar of the given name or 0 if it does not exist. More...
 
- Private Member Functions inherited from ContextMenuInterface
virtual ~ContextMenuInterface ()
 Destructor. More...
 
virtual void addContextMenuItem (QAction *_action, DataType _objectType, ContextMenuType _type)
 Add an entry for a context Menu. More...
 
virtual void hideContextMenu ()
 hide the main context menu More...
 
- Private Member Functions inherited from LoadSaveInterface
virtual ~LoadSaveInterface ()
 Destructor. More...
 
virtual void addEmptyObject (DataType _type, int &_id)
 
virtual void copyObject (int _oldId, int &_newId)
 
virtual void emptyObjectAdded (int _id)
 DEPRECATED HERE (Moved to Type Interface)! Emit this signal if an empty object has been created. More...
 
virtual void deleteObject (int _id)
 Delete an object
This signal can be called from any thread.
. More...
 
virtual void deleteAllObjects ()
 Delete all Objects. More...
 
virtual void getAllFileFilters (QStringList &_filters)
 Get all file filters that are registered. More...
 
- Private Member Functions inherited from BackupInterface
virtual void createBackup (IdList _objectids, QString _name, std::vector< UpdateType > _types)
 Tell Backup Plugin to create a group backup. More...
 
virtual void undo (int _objectid)
 Tell Backup Plugin to undo the last action of an object. More...
 
virtual void redo (int _objectid)
 Tell Backup Plugin to redo the last action on an object. More...
 
virtual void undo ()
 Tell Backup Plugin to undo the last action. More...
 
virtual void redo ()
 Tell Backup Plugin to redo the last action. More...
 
virtual ~BackupInterface ()
 Destructor. More...
 
virtual void restored (int _objectid)
 Backup Plugin tells other Plugins that a restore has happened. More...
 
- Private Member Functions inherited from RPCInterface
virtual ~RPCInterface ()
 Destructor. More...
 
virtual void functionExists (QString _pluginName, QString _functionName, bool &_exists)
 

Private Attributes

QToolBar * toolbar_
 
QActionGroup * toolBarActions_
 
QAction * skeletonEditingAction_
 
QToolBar * pickToolbar_
 
QActionGroup * pickToolBarActions_
 
QAction * selectJointAction_
 
QAction * insertJointAction_
 
QAction * splitJointAction_
 
QAction * deleteJointAction_
 
QAction * moveJointAction_
 
QAction * transformChildManipAction_
 
QAction * transformAllManipAction_
 
QAction * rotateManipAction_
 
QAction * inverseKinematicAction_
 
int currentSkeleton_
 
int currentJoint_
 
bool jointPreview_
 
bool transformChildJoints_
 
bool transformAllFrames_
 
bool inverseKinematic_
 
bool dblClick_
 
QString lastRenderer_
 Stores the last active renderer before we switched to skeleton editing mode. More...
 
bool rendererChanged_
 Remembers, if we changed the renderer. More...
 
std::vector< int > activeManipulators_
 
double manip_size_
 
double manip_size_modifier_
 
SkeletonMarker objectMarker_
 
ACG::Matrix4x4d accumMatrix_
 

Detailed Description

Plugin for creating and editing skeletons

Definition at line 71 of file SkeletonEditingPlugin.hh.

Constructor & Destructor Documentation

◆ SkeletonEditingPlugin()

SkeletonEditingPlugin::SkeletonEditingPlugin ( )

Default Constructor.

Definition at line 61 of file SkeletonEditingPlugin.cc.

◆ ~SkeletonEditingPlugin()

SkeletonEditingPlugin::~SkeletonEditingPlugin ( )

Destructor.

Definition at line 97 of file SkeletonEditingPlugin.cc.

Member Function Documentation

◆ activeAnimation

int SkeletonEditingPlugin::activeAnimation ( int  _objectId)
slot

get active animation

Definition at line 814 of file SkeletonEditingScripting.cc.

◆ activeFrame

int SkeletonEditingPlugin::activeFrame ( int  _objectId)
slot

get active frame

Definition at line 841 of file SkeletonEditingScripting.cc.

◆ activePose()

Skeleton::Pose * SkeletonEditingPlugin::activePose ( SkeletonObject _skeletonObj)
private

Definition at line 1271 of file SkeletonEditingPlugin.cc.

◆ addAnimation

void SkeletonEditingPlugin::addAnimation ( int  _objectId,
QString  _name,
int  _frames 
)
slot

add animation

Definition at line 911 of file SkeletonEditingScripting.cc.

◆ addJoint

void SkeletonEditingPlugin::addJoint ( int  _objectId,
int  _parent,
Vector  _position 
)
slot

add joint to the skeleton

Definition at line 218 of file SkeletonEditingScripting.cc.

◆ animationCount

int SkeletonEditingPlugin::animationCount ( int  _objectId)
slot

get the number of animations

Definition at line 753 of file SkeletonEditingScripting.cc.

◆ cancelJointInsertion()

void SkeletonEditingPlugin::cancelJointInsertion ( )
private

Definition at line 1329 of file SkeletonEditingPlugin.cc.

◆ canModify()

bool SkeletonEditingPlugin::canModify ( QMouseEvent *  _event)
private

checks, if the skeleton can be modified. a skeleton can be modified, if the active pose is the reference pose

Parameters
_eventthe event that occurred

Definition at line 293 of file SkeletonEditingPlugin.cc.

◆ deleteJoint [1/2]

void SkeletonEditingPlugin::deleteJoint ( int  _objectId,
int  _jointId 
)
slot

delete joint from the skeleton

Definition at line 264 of file SkeletonEditingScripting.cc.

◆ deleteJoint() [2/2]

void SkeletonEditingPlugin::deleteJoint ( QMouseEvent *  _event)
private

Definition at line 901 of file SkeletonEditingPlugin.cc.

◆ description()

QString SkeletonEditingPlugin::description ( )
inlinevirtual

Description of the Plugin.

Implements BaseInterface.

Definition at line 175 of file SkeletonEditingPlugin.hh.

◆ frameCount

int SkeletonEditingPlugin::frameCount ( int  _objectId,
int  _animationIndex 
)
slot

get the number of frames

Definition at line 780 of file SkeletonEditingScripting.cc.

◆ getNearestJoint()

OpenMesh::Vec3d SkeletonEditingPlugin::getNearestJoint ( SkeletonObject _skeletonObj,
OpenMesh::Vec3d _hitPoint,
int &  _bestJointID 
)
private

Get nearest joint to hitPoint (used for snapping)

Definition at line 1417 of file SkeletonEditingPlugin.cc.

◆ globalMatrix

Matrix4x4 SkeletonEditingPlugin::globalMatrix ( int  _objectId,
int  _jointId 
)
slot

get global matrix of a joint in the active pose

Definition at line 578 of file SkeletonEditingScripting.cc.

◆ globalTranslation

Vector SkeletonEditingPlugin::globalTranslation ( int  _objectId,
int  _jointId 
)
slot

get global translation of a joint in the active pose

Definition at line 665 of file SkeletonEditingScripting.cc.

◆ initializePlugin

void SkeletonEditingPlugin::initializePlugin ( )
privateslot

Definition at line 260 of file SkeletonEditingPlugin.cc.

◆ insertJoint()

void SkeletonEditingPlugin::insertJoint ( QMouseEvent *  _event)
private

Definition at line 1029 of file SkeletonEditingPlugin.cc.

◆ inverseKinematic()

void SkeletonEditingPlugin::inverseKinematic ( ACG::Vec3d  dest,
Skeleton::Pose currentPose,
Skeleton::Joint pickedJoint,
std::vector< Skeleton::Joint * >  rotatableJoints 
)
private

function for computing the position of our joints using inverse Kinematic

Definition at line 635 of file SkeletonEditingPlugin.cc.

◆ localMatrix

Matrix4x4 SkeletonEditingPlugin::localMatrix ( int  _objectId,
int  _jointId 
)
slot

get local matrix of a joint in the active pose

Definition at line 622 of file SkeletonEditingScripting.cc.

◆ localTranslation

Vector SkeletonEditingPlugin::localTranslation ( int  _objectId,
int  _jointId 
)
slot

get local translation of a joint in the active pose

Definition at line 709 of file SkeletonEditingScripting.cc.

◆ manipulatorMoved

void SkeletonEditingPlugin::manipulatorMoved ( QtTranslationManipulatorNode _node,
QMouseEvent *  _event 
)
privateslot

move the object when its manipulator moves

Parameters
_nodethe manipulator node
_eventthe mouse event

Definition at line 716 of file SkeletonEditingPlugin.cc.

◆ ManipulatorPositionChanged

void SkeletonEditingPlugin::ManipulatorPositionChanged ( QtTranslationManipulatorNode _node)
privateslot

update object when its manipulator changes position

Parameters
_nodethe manipulator node

Definition at line 845 of file SkeletonEditingPlugin.cc.

◆ moveJoint()

void SkeletonEditingPlugin::moveJoint ( QMouseEvent *  _event)
private

Definition at line 1360 of file SkeletonEditingPlugin.cc.

◆ name()

QString SkeletonEditingPlugin::name ( void  )
inlinevirtual

Name of the Plugin.

Implements BaseInterface.

Definition at line 172 of file SkeletonEditingPlugin.hh.

◆ placeManip()

void SkeletonEditingPlugin::placeManip ( QMouseEvent *  _event)
private

Place and show the Manipulator.

Parameters
_eventmouseEvent that occured

Definition at line 539 of file SkeletonEditingPlugin.cc.

◆ pluginsInitialized

void SkeletonEditingPlugin::pluginsInitialized ( )
privateslot

Initialization of the plugin when it is loaded by the core.

Definition at line 110 of file SkeletonEditingPlugin.cc.

◆ selectJoint()

void SkeletonEditingPlugin::selectJoint ( QMouseEvent *  _event)
private

Definition at line 1375 of file SkeletonEditingPlugin.cc.

◆ setActivePose

void SkeletonEditingPlugin::setActivePose ( int  _objectId,
int  _animationIndex,
int  _frame 
)
slot

set active pose

Definition at line 867 of file SkeletonEditingScripting.cc.

◆ setDescriptions

void SkeletonEditingPlugin::setDescriptions ( )
privateslot

Set Descriptions for Scripting Slots.

Definition at line 55 of file SkeletonEditingScripting.cc.

◆ setJointPosition()

void SkeletonEditingPlugin::setJointPosition ( SkeletonObject _skeletonObj,
Skeleton::Joint _joint,
ACG::Vec3d _position 
)
private

Definition at line 1291 of file SkeletonEditingPlugin.cc.

◆ showManipulators()

void SkeletonEditingPlugin::showManipulators ( )
private

Show/Hide active manipulators.

Checks if the manipulators should be visible or not.

Definition at line 865 of file SkeletonEditingPlugin.cc.

◆ slotKeyEvent

void SkeletonEditingPlugin::slotKeyEvent ( QKeyEvent *  _event)
privateslot

Definition at line 369 of file SkeletonEditingPlugin.cc.

◆ slotKeyReleaseEvent

void SkeletonEditingPlugin::slotKeyReleaseEvent ( QKeyEvent *  _event)
privateslot

Definition at line 377 of file SkeletonEditingPlugin.cc.

◆ slotMouseEvent

void SkeletonEditingPlugin::slotMouseEvent ( QMouseEvent *  _event)
privateslot

MousePress event occured.

Parameters
_eventthe event that occured

Definition at line 341 of file SkeletonEditingPlugin.cc.

◆ slotMouseWheelEvent

void SkeletonEditingPlugin::slotMouseWheelEvent ( QWheelEvent *  _event,
const std::string &  _mode 
)
privateslot

Definition at line 270 of file SkeletonEditingPlugin.cc.

◆ slotObjectUpdated

void SkeletonEditingPlugin::slotObjectUpdated ( int  _id,
const UpdateType _type 
)
privateslot

Definition at line 237 of file SkeletonEditingPlugin.cc.

◆ slotPickModeChanged

void SkeletonEditingPlugin::slotPickModeChanged ( const std::string &  _mode)
privateslot

slot is called when the pickMode changed

Parameters
_modenew pickMode

Definition at line 391 of file SkeletonEditingPlugin.cc.

◆ slotPickToolbarAction

void SkeletonEditingPlugin::slotPickToolbarAction ( QAction *  _action)
privateslot

Definition at line 439 of file SkeletonEditingPlugin.cc.

◆ slotRotateManipulator

void SkeletonEditingPlugin::slotRotateManipulator ( bool  _toggled)
privateslot

Definition at line 503 of file SkeletonEditingPlugin.cc.

◆ slotSetEditingMode

void SkeletonEditingPlugin::slotSetEditingMode ( QAction *  _action)
privateslot

Definition at line 483 of file SkeletonEditingPlugin.cc.

◆ splitBone

void SkeletonEditingPlugin::splitBone ( int  _objectId,
int  _tailJoint 
)
slot

insert a joint in the middle of a bone given by its (unique) tailJoint

Definition at line 146 of file SkeletonEditingScripting.cc.

◆ splitJoint

void SkeletonEditingPlugin::splitJoint ( QMouseEvent *  _event)
slot

split selected Joint

split the selected joint. selected joint will be child of new joint

Parameters
_eventmouseEvent that occured

Definition at line 989 of file SkeletonEditingPlugin.cc.

◆ transformJoint

void SkeletonEditingPlugin::transformJoint ( int  _objectId,
int  _jointId,
Matrix4x4  _matrix 
)
slot

transform joint with given matrix

transform selected joint with given matrix

Definition at line 300 of file SkeletonEditingScripting.cc.

◆ updateManipulatorPosition()

void SkeletonEditingPlugin::updateManipulatorPosition ( BaseObjectData _skeletonObj)
private

make sure the manipulator is positioned on a joint

Definition at line 1448 of file SkeletonEditingPlugin.cc.

◆ version

QString SkeletonEditingPlugin::version ( )
inlineslot

Definition at line 232 of file SkeletonEditingPlugin.hh.

Member Data Documentation

◆ accumMatrix_

ACG::Matrix4x4d SkeletonEditingPlugin::accumMatrix_
private

Definition at line 284 of file SkeletonEditingPlugin.hh.

◆ activeManipulators_

std::vector< int > SkeletonEditingPlugin::activeManipulators_
private

Definition at line 275 of file SkeletonEditingPlugin.hh.

◆ currentJoint_

int SkeletonEditingPlugin::currentJoint_
private

Definition at line 259 of file SkeletonEditingPlugin.hh.

◆ currentSkeleton_

int SkeletonEditingPlugin::currentSkeleton_
private

Definition at line 258 of file SkeletonEditingPlugin.hh.

◆ dblClick_

bool SkeletonEditingPlugin::dblClick_
private

Definition at line 266 of file SkeletonEditingPlugin.hh.

◆ deleteJointAction_

QAction* SkeletonEditingPlugin::deleteJointAction_
private

Definition at line 251 of file SkeletonEditingPlugin.hh.

◆ insertJointAction_

QAction* SkeletonEditingPlugin::insertJointAction_
private

Definition at line 249 of file SkeletonEditingPlugin.hh.

◆ inverseKinematic_

bool SkeletonEditingPlugin::inverseKinematic_
private

Definition at line 264 of file SkeletonEditingPlugin.hh.

◆ inverseKinematicAction_

QAction* SkeletonEditingPlugin::inverseKinematicAction_
private

Definition at line 256 of file SkeletonEditingPlugin.hh.

◆ jointPreview_

bool SkeletonEditingPlugin::jointPreview_
private

Definition at line 260 of file SkeletonEditingPlugin.hh.

◆ lastRenderer_

QString SkeletonEditingPlugin::lastRenderer_
private

Stores the last active renderer before we switched to skeleton editing mode.

Definition at line 269 of file SkeletonEditingPlugin.hh.

◆ manip_size_

double SkeletonEditingPlugin::manip_size_
private

Definition at line 277 of file SkeletonEditingPlugin.hh.

◆ manip_size_modifier_

double SkeletonEditingPlugin::manip_size_modifier_
private

Definition at line 279 of file SkeletonEditingPlugin.hh.

◆ moveJointAction_

QAction* SkeletonEditingPlugin::moveJointAction_
private

Definition at line 252 of file SkeletonEditingPlugin.hh.

◆ objectMarker_

SkeletonMarker SkeletonEditingPlugin::objectMarker_
private

Definition at line 282 of file SkeletonEditingPlugin.hh.

◆ pickToolbar_

QToolBar* SkeletonEditingPlugin::pickToolbar_
private

Definition at line 246 of file SkeletonEditingPlugin.hh.

◆ pickToolBarActions_

QActionGroup* SkeletonEditingPlugin::pickToolBarActions_
private

Definition at line 247 of file SkeletonEditingPlugin.hh.

◆ rendererChanged_

bool SkeletonEditingPlugin::rendererChanged_
private

Remembers, if we changed the renderer.

Definition at line 271 of file SkeletonEditingPlugin.hh.

◆ rotateManipAction_

QAction* SkeletonEditingPlugin::rotateManipAction_
private

Definition at line 255 of file SkeletonEditingPlugin.hh.

◆ selectJointAction_

QAction* SkeletonEditingPlugin::selectJointAction_
private

Definition at line 248 of file SkeletonEditingPlugin.hh.

◆ skeletonEditingAction_

QAction* SkeletonEditingPlugin::skeletonEditingAction_
private

Definition at line 244 of file SkeletonEditingPlugin.hh.

◆ splitJointAction_

QAction* SkeletonEditingPlugin::splitJointAction_
private

Definition at line 250 of file SkeletonEditingPlugin.hh.

◆ toolbar_

QToolBar* SkeletonEditingPlugin::toolbar_
private

Definition at line 242 of file SkeletonEditingPlugin.hh.

◆ toolBarActions_

QActionGroup* SkeletonEditingPlugin::toolBarActions_
private

Definition at line 243 of file SkeletonEditingPlugin.hh.

◆ transformAllFrames_

bool SkeletonEditingPlugin::transformAllFrames_
private

Definition at line 263 of file SkeletonEditingPlugin.hh.

◆ transformAllManipAction_

QAction* SkeletonEditingPlugin::transformAllManipAction_
private

Definition at line 254 of file SkeletonEditingPlugin.hh.

◆ transformChildJoints_

bool SkeletonEditingPlugin::transformChildJoints_
private

Definition at line 262 of file SkeletonEditingPlugin.hh.

◆ transformChildManipAction_

QAction* SkeletonEditingPlugin::transformChildManipAction_
private

Definition at line 253 of file SkeletonEditingPlugin.hh.


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