Commit fd3c08d4 authored by Mike Kremer's avatar Mike Kremer
Browse files

Added some comments once again

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@5448 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 798dcf44
...@@ -29,8 +29,6 @@ ...@@ -29,8 +29,6 @@
// //
//============================================================================= //=============================================================================
#include "MouseAndKeyPlugin.hh" #include "MouseAndKeyPlugin.hh"
...@@ -120,6 +118,9 @@ bool MouseAndKeyPlugin::initializeToolbox(QWidget*& _widget) ...@@ -120,6 +118,9 @@ bool MouseAndKeyPlugin::initializeToolbox(QWidget*& _widget)
return true; return true;
} }
/*
* Is called when button in toolbox has been clicked
*/
void MouseAndKeyPlugin::slotButtonClicked() { void MouseAndKeyPlugin::slotButtonClicked() {
if(pickButton_->isChecked()) { if(pickButton_->isChecked()) {
...@@ -277,6 +278,9 @@ void MouseAndKeyPlugin::transformMesh(ACG::Matrix4x4d _mat , MeshT& _mesh ) { ...@@ -277,6 +278,9 @@ void MouseAndKeyPlugin::transformMesh(ACG::Matrix4x4d _mat , MeshT& _mesh ) {
_mesh.set_normal(f_it,(typename MeshT::Point)_mat.transform_vector((OpenMesh::Vec3d)(_mesh.normal(f_it)))); _mesh.set_normal(f_it,(typename MeshT::Point)_mat.transform_vector((OpenMesh::Vec3d)(_mesh.normal(f_it))));
} }
/*
* Is called when context menu entry has been clicked
*/
void MouseAndKeyPlugin::contextMenuItemSelected(QAction* _action) { void MouseAndKeyPlugin::contextMenuItemSelected(QAction* _action) {
// Get needed data from QAction object // Get needed data from QAction object
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment