Developer Documentation
MovePlugin Class Reference

#include <Plugin-Move/MovePlugin.hh>

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

Public Types

typedef unsigned int SelectionType
 

Public Slots

QString version () override
 
Scriptable Functions
void slotMoveToOrigin ()
 Move target Meshes cog to the origin. More...
 
void slotUnifyBoundingBoxDiagonal ()
 Scale Boundingbox Diagonal to unit size. More...
 
void slotUnifyBoundingBoxLongestAxis ()
 Scale Boundingbox longest axis to unit size (keeps aspect ratio) More...
 
void slotUnifyBoundingBoxAllAxis ()
 Scale all Boundingbox axis to unit size. More...
 
void translate (int _objectId, Vector _vector)
 translate an Object by a given vector More...
 
void translate (int _objectId, IdList _vHandles, Vector _vector)
 translate given vertices by a vector More...
 
void translateVertexSelection (int _objectId, Vector _vector)
 translate current vertex selection of an Object by a given vector More...
 
void translateFaceSelection (int _objectId, Vector _vector)
 translate current face selection of an Object by a given vector More...
 
void translateEdgeSelection (int _objectId, Vector _vector)
 translate current edge selection of an Object by a given vector More...
 
void transform (int _objectId, Matrix4x4 _matrix)
 transform an Object by a given matrix More...
 
void transform (int _objectId, IdList _vHandles, Matrix4x4 _matrix)
 transform given vertices by a matrix More...
 
bool transformVertexSelection (int _objectId, Matrix4x4 _matrix)
 transform current selection of an Object by a given matrix More...
 
bool transformFaceSelection (int _objectId, Matrix4x4 _matrix)
 transform current selection of an Object by a given matrix More...
 
bool transformEdgeSelection (int _objectId, Matrix4x4 _matrix)
 transform current selection of an Object by a given matrix More...
 
bool transformCellSelection (int _objectId, Matrix4x4 _matrix)
 transform current selection of an Object by a given matrix More...
 
void transformHandleRegion (int _objectId, Matrix4x4 _matrix)
 Transform handle region using the given transformation matrix. More...
 
void setManipulatorPosition (int _objectId, Vector _position)
 Set the position of the manipulator. More...
 
Vector manipulatorPosition (int _objectId)
 Get the position of the manipulator. More...
 
void setManipulatorDirection (int _objectId, Vector _directionX, Vector _directionY)
 Set the direction of the manipulator. More...
 
Vector manipulatorDirectionX (int _objectId)
 Get the x-direction of the manipulator. More...
 
Vector manipulatorDirectionY (int _objectId)
 Get the y-direction of the manipulator. More...
 
Vector manipulatorDirectionZ (int _objectId)
 Get the z-direction of the manipulator. More...
 
void objectRenderingMatrixIdentity (int _objectId)
 Sets the Object Matrix in the scenegraph to identity. More...
 
void objectRenderingMatrixScale (int _objectId, double _s)
 Adds a scaling factor to the Object rendering Matrix in the scenegraph. More...
 
void objectRenderingMatrixTranslate (int _objectId, Vector _translation)
 Adds a scaling factor to the Object rendering Matrix in the scenegraph. More...
 
void objectRenderingMatrixRotate (int _objectId, Vector _axis, double _angle)
 Adds a scaling factor to the Object rendering Matrix in the scenegraph. More...
 
Matrix4x4 getObjectRenderingMatrix (int _objectId)
 Gets the Object Matrix in the scenegraph. More...
 

Signals

void updateView () override
 
void updatedObject (int, const UpdateType &_type) override
 
void nodeVisibilityChanged (int) override
 
void addPickMode (const std::string &_mode) override
 
void addHiddenPickMode (const std::string &_mode) override
 
void setPickModeMouseTracking (const std::string &_mode, bool _mouseTracking) override
 
void setPickModeToolbar (const std::string &_mode, QToolBar *_toolbar) override
 
void addContextMenuItem (QAction *_action, ContextMenuType _type) override
 
void createBackup (int _objectid, QString _name, UpdateType _type=UPDATE_ALL) override
 
void log (Logtype _type, QString _message) override
 
void log (QString _message) override
 
void scriptInfo (QString _functionName)
 
void setSlotDescription (QString _slotName, QString _slotDescription, QStringList _parameters, QStringList _descriptions) override
 
void addToolbar (QToolBar *_toolbar) override
 
void getToolBar (QString _name, QToolBar *&_toolbar) override
 
void registerKey (int _key, Qt::KeyboardModifiers _modifiers, QString _description, bool _multiUse=false) override
 
void addToolbox (QString _name, QWidget *_widget, QIcon *_icon) override
 
void pluginExists (QString _pluginName, bool &_exists) override
 
void functionExists (QString _pluginName, QString _functionName, bool &_exists) override
 
- 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 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 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 PythonInterface
virtual void executePythonScript (QString _script)
 
- 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 RPCInterface
virtual void pluginExists (QString _pluginName, bool &_exists)
 

Public Member Functions

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

Static Public Attributes

static const SelectionType VERTEX = 1
 
static const SelectionType EDGE = 2
 
static const SelectionType FACE = 4
 
static const SelectionType CELL = 8
 

Private Slots

void initializePlugin () override
 
void pluginsInitialized () override
 Initialization of the plugin when it is loaded by the core. More...
 
void slotAllCleared () override
 
void objectDeleted (int _id) override
 
void slotMouseWheelEvent (QWheelEvent *_event, const std::string &_mode) override
 
void slotMouseEvent (QMouseEvent *_event) override
 MousePress event occured. More...
 
void slotKeyEvent (QKeyEvent *_event) override
 
void slotKeyReleaseEvent (QKeyEvent *_event) override
 
void slotPickModeChanged (const std::string &_mode) override
 slot is called when the pickMode changed More...
 
- 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 Attributes

bool hide_
 
bool allTargets_
 
bool placeMode_
 
bool transformedSelected_
 stores if any selected elements where transformed More...
 

ToolBox

enum  Unificationtype { DIAGONAL , LONGEST_AXIS , ALL_AXIS }
 stores the current axes in the tool More...
 
int axisA_
 stores the current axes in the tool More...
 
int axisB_
 stores the current axes in the tool More...
 
bool toolboxActive_
 True if the toolbox widget is active. More...
 
moveToolbarWidgettool_
 Widget for Toolbox. More...
 
QIcon * toolIcon_
 stores the current axes in the tool More...
 
void slotSetPosition ()
 Position of manipulator in tab changed. More...
 
void slotToggleAxisA ()
 Toggle the first axis for changing direction in tab. More...
 
void slotToggleAxisB ()
 Toggle the second axis for changing direction in tab. More...
 
void slotSetDirection ()
 Set Direction of manipulator in tab changed. More...
 
void slotTranslation ()
 perform a translation for Manipulator in tab More...
 
void slotProjectToTangentPlane ()
 Project the current manipulator onto the tangent plane of the object. More...
 
void slotMoveManipToCOG ()
 Move the current manipulator to the cog of the object. More...
 
void slotRotate ()
 Rotate Manipulator (with values from Tab) More...
 
void slotScale ()
 Scale (with values from Tab) More...
 
void slotEnableSelectionMode ()
 stores the current axes in the tool More...
 
void slotEnableObjectMode ()
 stores the current axes in the tool More...
 
void updateManipulatorDialog ()
 Update the Dialog with the last clicked manipulator. More...
 
template<typename MeshType >
OpenMesh::Vec3d getNearestVertex (MeshType *_mesh, uint _fh, OpenMesh::Vec3d &_hitPoint)
 Get closest vertex to hitpoint. More...
 
template<typename MeshType >
OpenMesh::Vec3d getNearestEdge (MeshType *_mesh, uint _fh, OpenMesh::Vec3d &_hitPoint)
 Get closest edge to hitpoint. More...
 
template<typename MeshType >
OpenMesh::Vec3d getNearestFace (MeshType *_mesh, uint _fh, OpenMesh::Vec3d &_hitPoint)
 Get closest face to hitpoint. More...
 

ToolBar

QAction * moveAction_
 Called by Toolbar to enable move mode. More...
 
QAction * moveSelectionAction_
 Called by Toolbar to enable move mode. More...
 
QActionGroup * toolBarActions_
 Called by Toolbar to enable move mode. More...
 
QToolBar * toolbar_
 Called by Toolbar to enable move mode. More...
 
void slotSetMoveMode (QAction *_action)
 Called by Toolbar to enable move mode. More...
 

PickToolBar

QToolBar * pickToolbar_
 Called by pick Toolbar. More...
 
QAction * placeAction_
 Called by pick Toolbar. More...
 
QAction * rotateTranslateAction_
 Called by pick Toolbar. More...
 
QAction * rotateManipAction_
 Called by pick Toolbar. More...
 
QAction * resizeAction_
 Called by pick Toolbar. More...
 
QAction * biggerManipAction_
 Called by pick Toolbar. More...
 
QAction * smallerManipAction_
 Called by pick Toolbar. More...
 
QAction * fixChildManipAction_
 Called by pick Toolbar. More...
 
QAction * transformRefPoseManipAction_
 Called by pick Toolbar. More...
 
QAction * currentPoseManipAction_
 Called by pick Toolbar. More...
 
QAction * placeAndSnapAction_
 Called by pick Toolbar. More...
 
QActionGroup * pickToolBarActions_
 Called by pick Toolbar. More...
 
void slotPickToolbarAction (QAction *_action)
 Called by pick Toolbar. More...
 

Manipulator Handling

std::vector< int > activeManipulators_
 Size for the manipulators. More...
 
double manip_size_
 Size for the manipulators. More...
 
double manip_size_modifier_
 Modifier for the Size (changed by Mousewheel Events) More...
 
int lastActiveManipulator_
 Stores the last manipulator which has been clicked ( used for the toolbox dialog) More...
 
MoveObjectMarker objectMarker_
 Object marker to dimm Objects during manipulator transformation. More...
 
QtTranslationManipulatorNode::ManipulatorMode manMode_
 Holds the current manipulator mode. 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 unifyBoundingBox (Unificationtype u)
 Size for the manipulators. More...
 
template<typename MeshT >
void transformMesh (ACG::Matrix4x4d _mat, MeshT &_mesh)
 Transform a mesh with the given transformation matrix. More...
 
ACG::Matrix4x4d getLastManipulatorMatrix (bool _reset=true)
 Get the Matrix of the last active Manipulator ( Identity if not found or hidden Manipulator ) More...
 
void showManipulators ()
 Checks if the manipulators should be visible or not. More...
 
void placeManip (QMouseEvent *_event, bool _snap=false)
 Place and show the Manipulator. More...
 
template<typename MeshT >
void unifyBB (MeshT &_mesh, Unificationtype u=MovePlugin::DIAGONAL)
 scale mesh to have a boundingboxdiagonal of one More...
 
template<typename MeshT >
void getBB (MeshT &_mesh, ACG::Vec3d &_bb_min, ACG::Vec3d &_bb_max)
 get bounding box diagonal of a mesh More...
 
template<typename MeshT >
void unifyBB (MeshT &_mesh, ACG::Vec3d &_bb_min, ACG::Vec3d &_bb_max, Unificationtype u=MovePlugin::DIAGONAL)
 Scales object such that bounding box diagonal has unit length. More...
 
void setDescriptions ()
 Set Descriptions for scriptable functions. More...
 
void moveObject (ACG::Matrix4x4d mat, int _id)
 Move an object with given id. More...
 
void moveSelection (ACG::Matrix4x4d mat, int _id, QEvent::Type _type)
 Move selection on an object with given id. More...
 
void setManipMode (QtTranslationManipulatorNode::ManipulatorMode _mode)
 Set the manipulator manipulation mode. More...
 

Selection Plugin Communication

SelectionType selectionType_
 Current SelectionType of SelectionPlugin. More...
 
void setAllTargets (bool _state)
 Sets whether all targets should be affected or not. More...
 
void updateSelectionType ()
 Get current primitive selection. More...
 

Context Menu

QList< movePropsWidget * > propsWindows_
 List of properties dialogs (each corresponding to one manipulator) More...
 
QAction * contextAction_
 Context menu entry for showing per manipulator settings. More...
 
QAction * contextActionHide_
 Context menu entry to hide a manipulator. More...
 
QAction * toAllTargets_
 Checked if transformation should be applied to all target objs. More...
 
QMenu * contextMenuManipControl_
 Additional Context Menu replicating the toolbar stuff. More...
 
QAction * contextMenuManipControlsAction_
 Action holding the context menu for toolbar replication. More...
 
void showProps ()
 Show properties of move manipulator in a dialog ( Called via context for picking. Get the picked id from the Qvariant attached to the connected action) More...
 
void hideManipulator ()
 Hide the manipulator( Called via context for picking. Get the picked id from the Qvariant attached to the connected action) More...
 
movePropsWidgetgetDialogWidget (BaseObjectData *_obj)
 Get properties dialog widget that is attached to BaseDataObject obj. More...
 
movePropsWidgetgetDialogFromButton (QPushButton *_but)
 Get parent properties dialog widget of QPushButton but. More...
 
void slotUpdateContextMenuNode (int _nodeId) override
 Hide context menu entry when right clicking on node other than manipulator node. More...
 
void setPickModeProps (movePropsWidget *_pW, const std::string &_pickmode)
 List of properties dialogs (each corresponding to one manipulator) More...
 

Additional Inherited Members

- 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 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 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 PythonInterface
virtual void openPythonScriptInEditor (QString _script)
 
virtual ~PythonInterface ()
 Destructor. 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 RPCInterface
virtual ~RPCInterface ()
 Destructor. More...
 
virtual void functionExists (QString _pluginName, QString _functionName, bool &_exists)
 

Detailed Description

Plugin for moving objects and selections

Definition at line 81 of file MovePlugin.hh.

Member Typedef Documentation

◆ SelectionType

typedef unsigned int MovePlugin::SelectionType

Definition at line 101 of file MovePlugin.hh.

Member Enumeration Documentation

◆ Unificationtype

stores the current axes in the tool

Definition at line 194 of file MovePlugin.hh.

Constructor & Destructor Documentation

◆ MovePlugin()

MovePlugin::MovePlugin ( )

Default Constructor.

Definition at line 85 of file MovePlugin.cc.

◆ ~MovePlugin()

MovePlugin::~MovePlugin ( )

Destructor.

Deconstructor.

Definition at line 130 of file MovePlugin.cc.

Member Function Documentation

◆ description()

QString MovePlugin::description ( )
inlineoverridevirtual

Description of the Plugin.

Implements BaseInterface.

Definition at line 182 of file MovePlugin.hh.

◆ getBB()

template<typename MeshT >
void MovePlugin::getBB ( MeshT _mesh,
ACG::Vec3d _bb_min,
ACG::Vec3d _bb_max 
)
private

get bounding box diagonal of a mesh

Get the bounding box of a mesh.

Parameters
_meshthe mesh
_bb_minLower left corner of bounding box
_bb_maxUpper right corner of bounding box

Definition at line 2489 of file MovePlugin.cc.

◆ getDialogFromButton

movePropsWidget * MovePlugin::getDialogFromButton ( QPushButton *  _but)
privateslot

Get parent properties dialog widget of QPushButton but.

Get Dialog Widget that contains the button.

Parameters
_butReference to QPushButton object that has been pressed

Definition at line 1026 of file MovePlugin.cc.

◆ getDialogWidget

movePropsWidget * MovePlugin::getDialogWidget ( BaseObjectData _obj)
privateslot

Get properties dialog widget that is attached to BaseDataObject obj.

Get pointer to corresponding dialog widget.

Parameters
_objthe object to which the dialog is attached

Definition at line 2099 of file MovePlugin.cc.

◆ getLastManipulatorMatrix()

ACG::Matrix4x4d MovePlugin::getLastManipulatorMatrix ( bool  _reset = true)
private

Get the Matrix of the last active Manipulator ( Identity if not found or hidden Manipulator )

Get the Matrix of the last active Manipulator ( Identity if not found or hidden Manipulator )

Parameters
_resetreset the transformation matrix of the manipulator to identity)
Returns
current transformation matrix of the manipulator
Parameters
_resetreset the transformation matrix of the manipulator to identity)
Returns
current transformation matrix of the manipulator

Definition at line 2189 of file MovePlugin.cc.

◆ getNearestEdge()

template<typename MeshType >
OpenMesh::Vec3d MovePlugin::getNearestEdge ( MeshType *  _mesh,
uint  _fh,
OpenMesh::Vec3d _hitPoint 
)
private

Get closest edge to hitpoint.

Get nearest edge to hitPoint (use for snapping)

Definition at line 2666 of file MovePlugin.cc.

◆ getNearestFace()

template<typename MeshType >
OpenMesh::Vec3d MovePlugin::getNearestFace ( MeshType *  _mesh,
uint  _fh,
OpenMesh::Vec3d _hitPoint 
)
private

Get closest face to hitpoint.

Get nearest face center to hitPoint (use for snapping)

Definition at line 2710 of file MovePlugin.cc.

◆ getNearestVertex()

template<typename MeshType >
OpenMesh::Vec3d MovePlugin::getNearestVertex ( MeshType *  _mesh,
uint  _fh,
OpenMesh::Vec3d _hitPoint 
)
private

Get closest vertex to hitpoint.

Get nearest vertex to hitPoint (use for snapping)

Definition at line 2634 of file MovePlugin.cc.

◆ getObjectRenderingMatrix

Matrix4x4 MovePlugin::getObjectRenderingMatrix ( int  _objectId)
slot

Gets the Object Matrix in the scenegraph.

The object itself is not modified b< this matrix. Only the transformation matrix applied to the object coordinates before rendering gets modified.

Parameters
_objectIdId of the object to modify
Returns
Current Matrix of the object

Definition at line 1830 of file MovePluginScript.cc.

◆ hideManipulator

void MovePlugin::hideManipulator ( )
privateslot

Hide the manipulator( Called via context for picking. Get the picked id from the Qvariant attached to the connected action)

Definition at line 49 of file MoveContextMenu.cc.

◆ initializePlugin

void MovePlugin::initializePlugin ( )
overrideprivateslot

Definition at line 339 of file MovePlugin.cc.

◆ manipulatorDirectionX

Vector MovePlugin::manipulatorDirectionX ( int  _objectId)
slot

Get the x-direction of the manipulator.

Parameters
_objectIdid of an object
Returns
x-direction of the manipulator

Definition at line 1719 of file MovePluginScript.cc.

◆ manipulatorDirectionY

Vector MovePlugin::manipulatorDirectionY ( int  _objectId)
slot

Get the y-direction of the manipulator.

Parameters
_objectIdid of an object
Returns
y-direction of the manipulator

Definition at line 1738 of file MovePluginScript.cc.

◆ manipulatorDirectionZ

Vector MovePlugin::manipulatorDirectionZ ( int  _objectId)
slot

Get the z-direction of the manipulator.

Parameters
_objectIdid of an object
Returns
z-direction of the manipulator

Definition at line 1757 of file MovePluginScript.cc.

◆ manipulatorMoved

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

move the object when its manipulator moves

Parameters
_nodethe manipulator node
_eventthe mouse event

Definition at line 779 of file MovePlugin.cc.

◆ manipulatorPosition

Vector MovePlugin::manipulatorPosition ( int  _objectId)
slot

Get the position of the manipulator.

Parameters
_objectIdid of an object
Returns
current manipulator position

Definition at line 1667 of file MovePluginScript.cc.

◆ ManipulatorPositionChanged

void MovePlugin::ManipulatorPositionChanged ( QtTranslationManipulatorNode _node)
privateslot

update object when its manipulator changes position

Parameters
_nodethe manipulator node

Definition at line 836 of file MovePlugin.cc.

◆ moveObject()

void MovePlugin::moveObject ( ACG::Matrix4x4d  mat,
int  _id 
)
private

Move an object with given id.

Move object with given transformation matrix.

Parameters
mattransformation matrix
_idid of the object

Definition at line 579 of file MovePlugin.cc.

◆ moveSelection()

void MovePlugin::moveSelection ( ACG::Matrix4x4d  _mat,
int  _id,
QEvent::Type  _type 
)
private

Move selection on an object with given id.

Move selection on an object with given transformation matrix.

Which Selection (Vertex, Edge, Face) is used is determined by the current SelectionMode in SelectionPlugin. If the Plugin is unable to communicate with SelectionPlugin, Vertex Selection is used.

Parameters
_matMatrix that should be applied to the selection
_idObject id of the target object
_typeType of mouse event ( release of the button creates a backup)

Definition at line 643 of file MovePlugin.cc.

◆ name()

QString MovePlugin::name ( void  )
inlineoverridevirtual

Name of the Plugin.

Implements BaseInterface.

Definition at line 179 of file MovePlugin.hh.

◆ objectDeleted

void MovePlugin::objectDeleted ( int  _id)
overrideprivateslot

Definition at line 2737 of file MovePlugin.cc.

◆ objectRenderingMatrixIdentity

void MovePlugin::objectRenderingMatrixIdentity ( int  _objectId)
slot

Sets the Object Matrix in the scenegraph to identity.

Definition at line 1770 of file MovePluginScript.cc.

◆ objectRenderingMatrixRotate

void MovePlugin::objectRenderingMatrixRotate ( int  _objectId,
Vector  _axis,
double  _angle 
)
slot

Adds a scaling factor to the Object rendering Matrix in the scenegraph.

Parameters
_objectIdId of the object to modify
_axisRotation axis
_angleRotation angle

Definition at line 1815 of file MovePluginScript.cc.

◆ objectRenderingMatrixScale

void MovePlugin::objectRenderingMatrixScale ( int  _objectId,
double  _s 
)
slot

Adds a scaling factor to the Object rendering Matrix in the scenegraph.

Parameters
_objectIdId of the object to modify
_sScaling factor

Definition at line 1785 of file MovePluginScript.cc.

◆ objectRenderingMatrixTranslate

void MovePlugin::objectRenderingMatrixTranslate ( int  _objectId,
Vector  _translation 
)
slot

Adds a scaling factor to the Object rendering Matrix in the scenegraph.

Parameters
_objectIdId of the object to modify
_translationTranslation vector

Definition at line 1800 of file MovePluginScript.cc.

◆ placeManip()

void MovePlugin::placeManip ( QMouseEvent *  _event,
bool  _snap = false 
)
private

Place and show the Manipulator.

Parameters
_eventmouseEvent that occurred
_snapSnap manipulator to nearest geometry primitive?

Definition at line 867 of file MovePlugin.cc.

◆ pluginsInitialized

void MovePlugin::pluginsInitialized ( )
overrideprivateslot

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

Definition at line 163 of file MovePlugin.cc.

◆ setAllTargets

void MovePlugin::setAllTargets ( bool  _state)
privateslot

Sets whether all targets should be affected or not.

Parameters
_stateQt::CheckState of checkbox

Definition at line 2624 of file MovePlugin.cc.

◆ setDescriptions()

void MovePlugin::setDescriptions ( )
private

Set Descriptions for scriptable functions.

Set Descriptions for Scripting Slots.

Definition at line 67 of file MovePluginScript.cc.

◆ setManipMode()

void MovePlugin::setManipMode ( QtTranslationManipulatorNode::ManipulatorMode  _mode)
private

Set the manipulator manipulation mode.

Parameters
_modeMode

Definition at line 676 of file MovePlugin.cc.

◆ setManipulatorDirection

void MovePlugin::setManipulatorDirection ( int  _objectId,
Vector  _directionX,
Vector  _directionY 
)
slot

Set the direction of the manipulator.

set the direction of the manipulator

Parameters
_objectIdid of an object
_directionXvector for the X direction
_directionYvector for the Y direction

Definition at line 1687 of file MovePluginScript.cc.

◆ setManipulatorPosition

void MovePlugin::setManipulatorPosition ( int  _objectId,
Vector  _position 
)
slot

Set the position of the manipulator.

set the position of the manipulator

Parameters
_objectIdid of an object
_positionnew position

Definition at line 1623 of file MovePluginScript.cc.

◆ setPickModeProps()

void MovePlugin::setPickModeProps ( movePropsWidget _pW,
const std::string &  _pickmode 
)
private

List of properties dialogs (each corresponding to one manipulator)

Definition at line 500 of file MovePlugin.cc.

◆ showManipulators()

void MovePlugin::showManipulators ( )
private

Checks if the manipulators should be visible or not.

Definition at line 982 of file MovePlugin.cc.

◆ showProps

void MovePlugin::showProps ( )
privateslot

Show properties of move manipulator in a dialog ( Called via context for picking. Get the picked id from the Qvariant attached to the connected action)

Definition at line 88 of file MoveContextMenu.cc.

◆ slotAllCleared

void MovePlugin::slotAllCleared ( )
overrideprivateslot

Definition at line 2731 of file MovePlugin.cc.

◆ slotEnableObjectMode

void MovePlugin::slotEnableObjectMode ( )
privateslot

stores the current axes in the tool

Definition at line 487 of file MovePlugin.cc.

◆ slotEnableSelectionMode

void MovePlugin::slotEnableSelectionMode ( )
privateslot

stores the current axes in the tool

Definition at line 481 of file MovePlugin.cc.

◆ slotKeyEvent

void MovePlugin::slotKeyEvent ( QKeyEvent *  _event)
overrideprivateslot

Definition at line 464 of file MovePlugin.cc.

◆ slotKeyReleaseEvent

void MovePlugin::slotKeyReleaseEvent ( QKeyEvent *  _event)
overrideprivateslot

Definition at line 493 of file MovePlugin.cc.

◆ slotMouseEvent

void MovePlugin::slotMouseEvent ( QMouseEvent *  _event)
overrideprivateslot

MousePress event occured.

Parameters
_eventthe event that occured

Definition at line 406 of file MovePlugin.cc.

◆ slotMouseWheelEvent

void MovePlugin::slotMouseWheelEvent ( QWheelEvent *  _event,
const std::string &  _mode 
)
overrideprivateslot

Definition at line 377 of file MovePlugin.cc.

◆ slotMoveManipToCOG

void MovePlugin::slotMoveManipToCOG ( )
privateslot

Move the current manipulator to the cog of the object.

Definition at line 1361 of file MovePlugin.cc.

◆ slotMoveToOrigin

void MovePlugin::slotMoveToOrigin ( )
slot

Move target Meshes cog to the origin.

Definition at line 1729 of file MovePlugin.cc.

◆ slotPickModeChanged

void MovePlugin::slotPickModeChanged ( const std::string &  _mode)
overrideprivateslot

slot is called when the pickMode changed

Parameters
_modenew pickMode

Definition at line 530 of file MovePlugin.cc.

◆ slotPickToolbarAction

void MovePlugin::slotPickToolbarAction ( QAction *  _action)
privateslot

Called by pick Toolbar.

Called by pick mode Toolbar.

Parameters
_actionthe action that was triggered

Definition at line 2139 of file MovePlugin.cc.

◆ slotProjectToTangentPlane

void MovePlugin::slotProjectToTangentPlane ( )
privateslot

Project the current manipulator onto the tangent plane of the object.

Definition at line 1339 of file MovePlugin.cc.

◆ slotRotate

void MovePlugin::slotRotate ( )
privateslot

Rotate Manipulator (with values from Tab)

Definition at line 1423 of file MovePlugin.cc.

◆ slotScale

void MovePlugin::slotScale ( )
privateslot

Scale (with values from Tab)

Scale Manipulator (with values from Tab)

Definition at line 1579 of file MovePlugin.cc.

◆ slotSetDirection

void MovePlugin::slotSetDirection ( )
privateslot

Set Direction of manipulator in tab changed.

Definition at line 1156 of file MovePlugin.cc.

◆ slotSetMoveMode

void MovePlugin::slotSetMoveMode ( QAction *  _action)
privateslot

Called by Toolbar to enable move mode.

Parameters
_actionthe action that was triggered

Definition at line 2114 of file MovePlugin.cc.

◆ slotSetPosition

void MovePlugin::slotSetPosition ( )
privateslot

Position of manipulator in tab changed.

Definition at line 1036 of file MovePlugin.cc.

◆ slotToggleAxisA

void MovePlugin::slotToggleAxisA ( )
privateslot

Toggle the first axis for changing direction in tab.

Definition at line 1106 of file MovePlugin.cc.

◆ slotToggleAxisB

void MovePlugin::slotToggleAxisB ( )
privateslot

Toggle the second axis for changing direction in tab.

Definition at line 1131 of file MovePlugin.cc.

◆ slotTranslation

void MovePlugin::slotTranslation ( )
privateslot

perform a translation for Manipulator in tab

Definition at line 1235 of file MovePlugin.cc.

◆ slotUnifyBoundingBoxAllAxis

void MovePlugin::slotUnifyBoundingBoxAllAxis ( )
slot

Scale all Boundingbox axis to unit size.

Definition at line 1912 of file MovePlugin.cc.

◆ slotUnifyBoundingBoxDiagonal

void MovePlugin::slotUnifyBoundingBoxDiagonal ( )
slot

Scale Boundingbox Diagonal to unit size.

Definition at line 1902 of file MovePlugin.cc.

◆ slotUnifyBoundingBoxLongestAxis

void MovePlugin::slotUnifyBoundingBoxLongestAxis ( )
slot

Scale Boundingbox longest axis to unit size (keeps aspect ratio)

Definition at line 1907 of file MovePlugin.cc.

◆ slotUpdateContextMenuNode

void MovePlugin::slotUpdateContextMenuNode ( int  _nodeId)
overrideprivateslot

Hide context menu entry when right clicking on node other than manipulator node.

Override ContextMenuInterface slot in order to avoid appearance of context menu entry when clicking on other nodes (other than manpipulator nodes)

Parameters
_nodeIdIdentifier of node that has been clicked

Definition at line 758 of file MovePlugin.cc.

◆ transform [1/2]

void MovePlugin::transform ( int  _objectId,
IdList  _vHandles,
Matrix4x4  _matrix 
)
slot

transform given vertices by a matrix

Transform a set of vertex handles.

Parameters
_objectIdid of an object
_vHandleslist of vertex handles
_matrixtransformation matrix

Definition at line 842 of file MovePluginScript.cc.

◆ transform [2/2]

void MovePlugin::transform ( int  _objectId,
Matrix4x4  _matrix 
)
slot

transform an Object by a given matrix

transform an object

Parameters
_objectIdobject id
_matrixtransformation matrix

Definition at line 735 of file MovePluginScript.cc.

◆ transformCellSelection

bool MovePlugin::transformCellSelection ( int  _objectId,
Matrix4x4  _matrix 
)
slot

transform current selection of an Object by a given matrix

transform cell selection

Parameters
_objectIdid of an object
_matrixtransformation matrix
Returns
returns true if selected elements were transformed

Definition at line 1501 of file MovePluginScript.cc.

◆ transformEdgeSelection

bool MovePlugin::transformEdgeSelection ( int  _objectId,
Matrix4x4  _matrix 
)
slot

transform current selection of an Object by a given matrix

transform edge selection

Parameters
_objectIdid of an object
_matrixtransformation matrix
Returns
returns true if selected elements were transformed

Definition at line 1290 of file MovePluginScript.cc.

◆ transformFaceSelection

bool MovePlugin::transformFaceSelection ( int  _objectId,
Matrix4x4  _matrix 
)
slot

transform current selection of an Object by a given matrix

transform face selection

Parameters
_objectIdid of an object
_matrixtransformation matrix
Returns
returns true if selected elements were transformed

Definition at line 1098 of file MovePluginScript.cc.

◆ transformHandleRegion

void MovePlugin::transformHandleRegion ( int  _objectId,
Matrix4x4  _matrix 
)
slot

Transform handle region using the given transformation matrix.

Definition at line 704 of file MovePluginScript.cc.

◆ transformMesh()

template<typename MeshT >
void MovePlugin::transformMesh ( ACG::Matrix4x4d  _mat,
MeshT _mesh 
)
private

Transform a mesh with the given transformation matrix.

Note: The normals have to be transformed with the inverse transposed transformation matrix in order to yield correct results

Parameters
_mattransformation matrix
_meshthe mesh

Definition at line 2215 of file MovePlugin.cc.

◆ transformVertexSelection

bool MovePlugin::transformVertexSelection ( int  _objectId,
Matrix4x4  _matrix 
)
slot

transform current selection of an Object by a given matrix

transform vertex selection

Parameters
_objectIdid of an object
_matrixtransformation matrix
Returns
returns true if selected elements were transformed

Definition at line 964 of file MovePluginScript.cc.

◆ translate [1/2]

void MovePlugin::translate ( int  _objectId,
IdList  _vHandles,
Vector  _vector 
)
slot

translate given vertices by a vector

translate a set of vertex handles

Parameters
_objectIdid of an object
_vHandleslist of vertex handles
_vectortranslation vector

Definition at line 246 of file MovePluginScript.cc.

◆ translate [2/2]

void MovePlugin::translate ( int  _objectId,
Vector  _vector 
)
slot

translate an Object by a given vector

Translate an object.

Parameters
_objectIdid of the object
_vectortranslation vector

Definition at line 160 of file MovePluginScript.cc.

◆ translateEdgeSelection

void MovePlugin::translateEdgeSelection ( int  _objectId,
Vector  _vector 
)
slot

translate current edge selection of an Object by a given vector

translate edge selection

Parameters
_objectIdid of an object
_vectortranslation vector

Definition at line 582 of file MovePluginScript.cc.

◆ translateFaceSelection

void MovePlugin::translateFaceSelection ( int  _objectId,
Vector  _vector 
)
slot

translate current face selection of an Object by a given vector

translate face selection

Parameters
_objectIdid of an object
_vectortranslation vector

Definition at line 459 of file MovePluginScript.cc.

◆ translateVertexSelection

void MovePlugin::translateVertexSelection ( int  _objectId,
Vector  _vector 
)
slot

translate current vertex selection of an Object by a given vector

translate vertex selection

Parameters
_objectIdid of an object
_vectortranslation vector

Definition at line 347 of file MovePluginScript.cc.

◆ unifyBB() [1/2]

template<typename MeshT >
void MovePlugin::unifyBB ( MeshT _mesh,
ACG::Vec3d _bb_min,
ACG::Vec3d _bb_max,
Unificationtype  u = MovePlugin::DIAGONAL 
)
private

Scales object such that bounding box diagonal has unit length.

Scales object such that bounding box axis('s) or diagonal have unit length.

Parameters
_meshthe mesh
_bb_minLower left corner of bounding box
_bb_maxUpper right corner of bounding box
uthe unification type (Diagonal, longest axis, all axis)

Definition at line 2517 of file MovePlugin.cc.

◆ unifyBB() [2/2]

template<typename MeshT >
void MovePlugin::unifyBB ( MeshT _mesh,
Unificationtype  u = MovePlugin::DIAGONAL 
)
private

scale mesh to have a boundingboxdiagonal of one

scale mesh to have a boundingbox axis('s) or diagonal of one

Parameters
_meshthe mesh
uthe unification type (Diagonal, longest axis, all axis)

Definition at line 2432 of file MovePlugin.cc.

◆ unifyBoundingBox()

void MovePlugin::unifyBoundingBox ( Unificationtype  u)
private

Size for the manipulators.

Definition at line 1917 of file MovePlugin.cc.

◆ updateManipulatorDialog()

void MovePlugin::updateManipulatorDialog ( )
private

Update the Dialog with the last clicked manipulator.

Definition at line 2051 of file MovePlugin.cc.

◆ updateSelectionType()

void MovePlugin::updateSelectionType ( )
private

Get current primitive selection.

Connect to SelectionPlugin.

Definition at line 2552 of file MovePlugin.cc.

◆ version

QString MovePlugin::version ( )
inlineoverrideslot

Definition at line 603 of file MovePlugin.hh.

Member Data Documentation

◆ activeManipulators_

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

Size for the manipulators.

Definition at line 319 of file MovePlugin.hh.

◆ allTargets_

bool MovePlugin::allTargets_
private

Definition at line 608 of file MovePlugin.hh.

◆ axisA_

int MovePlugin::axisA_
private

stores the current axes in the tool

Definition at line 191 of file MovePlugin.hh.

◆ axisB_

int MovePlugin::axisB_
private

stores the current axes in the tool

Definition at line 192 of file MovePlugin.hh.

◆ biggerManipAction_

QAction* MovePlugin::biggerManipAction_
private

Called by pick Toolbar.

Called by pick mode Toolbar.

Parameters
_actionthe action that was triggered

Definition at line 294 of file MovePlugin.hh.

◆ CELL

const SelectionType MovePlugin::CELL = 8
static

Definition at line 105 of file MovePlugin.hh.

◆ contextAction_

QAction* MovePlugin::contextAction_
private

Context menu entry for showing per manipulator settings.

Definition at line 475 of file MovePlugin.hh.

◆ contextActionHide_

QAction* MovePlugin::contextActionHide_
private

Context menu entry to hide a manipulator.

Definition at line 478 of file MovePlugin.hh.

◆ contextMenuManipControl_

QMenu* MovePlugin::contextMenuManipControl_
private

Additional Context Menu replicating the toolbar stuff.

Definition at line 484 of file MovePlugin.hh.

◆ contextMenuManipControlsAction_

QAction* MovePlugin::contextMenuManipControlsAction_
private

Action holding the context menu for toolbar replication.

Definition at line 487 of file MovePlugin.hh.

◆ currentPoseManipAction_

QAction* MovePlugin::currentPoseManipAction_
private

Called by pick Toolbar.

Called by pick mode Toolbar.

Parameters
_actionthe action that was triggered

Definition at line 299 of file MovePlugin.hh.

◆ EDGE

const SelectionType MovePlugin::EDGE = 2
static

Definition at line 103 of file MovePlugin.hh.

◆ FACE

const SelectionType MovePlugin::FACE = 4
static

Definition at line 104 of file MovePlugin.hh.

◆ fixChildManipAction_

QAction* MovePlugin::fixChildManipAction_
private

Called by pick Toolbar.

Called by pick mode Toolbar.

Parameters
_actionthe action that was triggered

Definition at line 297 of file MovePlugin.hh.

◆ hide_

bool MovePlugin::hide_
private

Definition at line 606 of file MovePlugin.hh.

◆ lastActiveManipulator_

int MovePlugin::lastActiveManipulator_
private

Stores the last manipulator which has been clicked ( used for the toolbox dialog)

Definition at line 402 of file MovePlugin.hh.

◆ manip_size_

double MovePlugin::manip_size_
private

Size for the manipulators.

Definition at line 396 of file MovePlugin.hh.

◆ manip_size_modifier_

double MovePlugin::manip_size_modifier_
private

Modifier for the Size (changed by Mousewheel Events)

Definition at line 399 of file MovePlugin.hh.

◆ manMode_

QtTranslationManipulatorNode::ManipulatorMode MovePlugin::manMode_
private

Holds the current manipulator mode.

Definition at line 419 of file MovePlugin.hh.

◆ moveAction_

QAction* MovePlugin::moveAction_
private

Called by Toolbar to enable move mode.

Parameters
_actionthe action that was triggered

Definition at line 267 of file MovePlugin.hh.

◆ moveSelectionAction_

QAction* MovePlugin::moveSelectionAction_
private

Called by Toolbar to enable move mode.

Parameters
_actionthe action that was triggered

Definition at line 268 of file MovePlugin.hh.

◆ objectMarker_

MoveObjectMarker MovePlugin::objectMarker_
private

Object marker to dimm Objects during manipulator transformation.

Definition at line 414 of file MovePlugin.hh.

◆ pickToolbar_

QToolBar* MovePlugin::pickToolbar_
private

Called by pick Toolbar.

Called by pick mode Toolbar.

Parameters
_actionthe action that was triggered

Definition at line 287 of file MovePlugin.hh.

◆ pickToolBarActions_

QActionGroup* MovePlugin::pickToolBarActions_
private

Called by pick Toolbar.

Called by pick mode Toolbar.

Parameters
_actionthe action that was triggered

Definition at line 303 of file MovePlugin.hh.

◆ placeAction_

QAction* MovePlugin::placeAction_
private

Called by pick Toolbar.

Called by pick mode Toolbar.

Parameters
_actionthe action that was triggered

Definition at line 289 of file MovePlugin.hh.

◆ placeAndSnapAction_

QAction* MovePlugin::placeAndSnapAction_
private

Called by pick Toolbar.

Called by pick mode Toolbar.

Parameters
_actionthe action that was triggered

Definition at line 301 of file MovePlugin.hh.

◆ placeMode_

bool MovePlugin::placeMode_
private

Definition at line 610 of file MovePlugin.hh.

◆ propsWindows_

QList<movePropsWidget*> MovePlugin::propsWindows_
private

List of properties dialogs (each corresponding to one manipulator)

Definition at line 472 of file MovePlugin.hh.

◆ resizeAction_

QAction* MovePlugin::resizeAction_
private

Called by pick Toolbar.

Called by pick mode Toolbar.

Parameters
_actionthe action that was triggered

Definition at line 292 of file MovePlugin.hh.

◆ rotateManipAction_

QAction* MovePlugin::rotateManipAction_
private

Called by pick Toolbar.

Called by pick mode Toolbar.

Parameters
_actionthe action that was triggered

Definition at line 291 of file MovePlugin.hh.

◆ rotateTranslateAction_

QAction* MovePlugin::rotateTranslateAction_
private

Called by pick Toolbar.

Called by pick mode Toolbar.

Parameters
_actionthe action that was triggered

Definition at line 290 of file MovePlugin.hh.

◆ selectionType_

SelectionType MovePlugin::selectionType_
private

Current SelectionType of SelectionPlugin.

Definition at line 431 of file MovePlugin.hh.

◆ smallerManipAction_

QAction* MovePlugin::smallerManipAction_
private

Called by pick Toolbar.

Called by pick mode Toolbar.

Parameters
_actionthe action that was triggered

Definition at line 295 of file MovePlugin.hh.

◆ toAllTargets_

QAction* MovePlugin::toAllTargets_
private

Checked if transformation should be applied to all target objs.

Definition at line 481 of file MovePlugin.hh.

◆ tool_

moveToolbarWidget* MovePlugin::tool_
private

Widget for Toolbox.

Definition at line 255 of file MovePlugin.hh.

◆ toolbar_

QToolBar* MovePlugin::toolbar_
private

Called by Toolbar to enable move mode.

Parameters
_actionthe action that was triggered

Definition at line 272 of file MovePlugin.hh.

◆ toolBarActions_

QActionGroup* MovePlugin::toolBarActions_
private

Called by Toolbar to enable move mode.

Parameters
_actionthe action that was triggered

Definition at line 270 of file MovePlugin.hh.

◆ toolboxActive_

bool MovePlugin::toolboxActive_
private

True if the toolbox widget is active.

Definition at line 252 of file MovePlugin.hh.

◆ toolIcon_

QIcon* MovePlugin::toolIcon_
private

stores the current axes in the tool

Definition at line 257 of file MovePlugin.hh.

◆ transformedSelected_

bool MovePlugin::transformedSelected_
private

stores if any selected elements where transformed

Definition at line 613 of file MovePlugin.hh.

◆ transformRefPoseManipAction_

QAction* MovePlugin::transformRefPoseManipAction_
private

Called by pick Toolbar.

Called by pick mode Toolbar.

Parameters
_actionthe action that was triggered

Definition at line 298 of file MovePlugin.hh.

◆ VERTEX

const SelectionType MovePlugin::VERTEX = 1
static

Definition at line 102 of file MovePlugin.hh.


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