From f7c37d4350a0c882005697d79308967f53db1ccd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20M=C3=B6bius?= Date: Thu, 29 Jan 2009 10:09:57 +0000 Subject: [PATCH] git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@4511 383ad7c9-94d9-4d36-a494-682f7c89f535 --- BasePlugin/GlobalAccessInterface.hh | 2 +- BasePlugin/PluginFunctions.cc | 35 +- BasePlugin/PluginFunctions.hh | 29 +- BasePlugin/PluginFunctionsCore.hh | 78 + Core/Core.cc | 9 +- Subdivision.tag | 7017 +++++++++++++++++----- common/ViewerProperties.cc | 70 + common/ViewerProperties.hh | 128 + widgets/coreWidget/CoreWidget.cc | 21 +- widgets/coreWidget/CoreWidget.hh | 4 +- widgets/coreWidget/keyHandling.cc | 8 +- widgets/coreWidget/viewerControl.cc | 10 +- widgets/glWidget/QtBaseViewer.cc | 281 +- widgets/glWidget/QtBaseViewer.hh | 103 +- widgets/glWidget/QtBaseViewerPicking.cc | 39 +- widgets/glWidget/QtBaseViewerSnapshot.cc | 10 +- widgets/glWidget/QtBaseViewerStereo.cc | 12 +- widgets/glWidget/QtGLGraphicsScene.cc | 2 +- widgets/glWidget/QtGLGraphicsScene.hh | 10 +- widgets/glWidget/QtGLGraphicsView.cc | 2 +- widgets/glWidget/QtGLGraphicsView.hh | 4 +- 21 files changed, 6072 insertions(+), 1802 deletions(-) create mode 100644 BasePlugin/PluginFunctionsCore.hh create mode 100644 common/ViewerProperties.cc create mode 100644 common/ViewerProperties.hh diff --git a/BasePlugin/GlobalAccessInterface.hh b/BasePlugin/GlobalAccessInterface.hh index 1d9ccb88..2dd4538e 100644 --- a/BasePlugin/GlobalAccessInterface.hh +++ b/BasePlugin/GlobalAccessInterface.hh @@ -65,7 +65,7 @@ class GlobalAccessInterface { * This function is called to set a pointer to the global examiner Widget.\n * @param _examiner_widget Pointer to the Examiner Widget in the Main app */ - virtual void set_examiner( QtBaseViewer* /*_examiner_widget*/) = 0; + virtual void set_examiner( glViewer* /*_examiner_widget*/) = 0; }; diff --git a/BasePlugin/PluginFunctions.cc b/BasePlugin/PluginFunctions.cc index 376e0963..437dc418 100644 --- a/BasePlugin/PluginFunctions.cc +++ b/BasePlugin/PluginFunctions.cc @@ -41,6 +41,7 @@ #include #include "PluginFunctions.hh" +#include "PluginFunctionsCore.hh" namespace PluginFunctions { @@ -54,10 +55,10 @@ static BaseObject* objectRoot_; * * This pointer is internally used to acces the examiner widget in the main apllication */ -static std::vector< QtBaseViewer* > examiner_widgets_; +static std::vector< glViewer* > examiner_widgets_; /// TODO : Remove this variable and implement multiView correctly here -static QtBaseViewer* examiner_widget_; +static glViewer* examiner_widget_; static unsigned int activeExaminer_ = 0; @@ -69,11 +70,13 @@ static SeparatorNode* root_node_; static SeparatorNode* sceneGraph_root_node_; +static Viewer::ViewerProperties dummyProperties; + void setDataRoot( BaseObject* _root ) { objectRoot_ = _root; } -void set_examiner( std::vector< QtBaseViewer* > _examiner_widgets ) { +void setViewers( std::vector< glViewer* > _examiner_widgets ) { PluginFunctions::examiner_widgets_ = _examiner_widgets; PluginFunctions::examiner_widget_ = examiner_widgets_[0]; } @@ -86,11 +89,11 @@ unsigned int activeExaminer( ) { return activeExaminer_; } -void set_rootNode( SeparatorNode* _root_node ) { +void setRootNode( SeparatorNode* _root_node ) { PluginFunctions::root_node_ = _root_node; } -void set_sceneGraphRootNode( SeparatorNode* _root_node ) { +void setSceneGraphRootNode( SeparatorNode* _root_node ) { PluginFunctions::sceneGraph_root_node_ = _root_node; } @@ -334,9 +337,10 @@ void pickMode ( const unsigned int _examiner, std::string _mode) { examiner_widgets_[_examiner]->pickMode(_mode); } -void actionMode ( QtBaseViewer::ActionMode _mode) { +void actionMode ( Viewer::ActionMode _mode) { + for ( uint i = 0 ; i < examiner_widgets_.size() ; ++i ) - examiner_widgets_[i]->actionMode(_mode); + viewerProperties(i).actionMode(_mode); } ACG::GLState& glState() { @@ -347,8 +351,21 @@ void getCurrentViewImage(QImage& _image) { examiner_widget_->copyToImage( _image ); } -QtBaseViewer::ActionMode actionMode() { - return examiner_widget_->actionMode(); +Viewer::ActionMode actionMode() { + return viewerProperties(activeExaminer_).actionMode(); +} + +Viewer::ViewerProperties& viewerProperties(int _id) { + if ( _id >= (int)examiner_widgets_.size() ) { + std::cerr << " Error, requested properties for non-existing Viewer!" << std::endl; + return dummyProperties; + } + + if ( _id == -1 ) + _id = activeExaminer_; + + return (*examiner_widgets_[_id]->properties()); + } void perspectiveProjection() { diff --git a/BasePlugin/PluginFunctions.hh b/BasePlugin/PluginFunctions.hh index 88a35ca7..5dd088cf 100644 --- a/BasePlugin/PluginFunctions.hh +++ b/BasePlugin/PluginFunctions.hh @@ -49,9 +49,10 @@ #include -// #include -#include +#include +// #include #include +#include /** The Namespace PluginFunctions contains functions for all plugins. These functions should be used to get the * objects to work on or to set modes in the examiner widget. */ @@ -191,9 +192,6 @@ int visible_count(); /** @name Examiner handling * @{ */ //======================================= -/// Set the internal examiner pointer ( DO NOT USE!! ) -DLLEXPORT -void set_examiner( std::vector< QtBaseViewer* > _examiner_widgets ); /// Set the active id of the examiner which got the last mouse events DLLEXPORT @@ -203,14 +201,6 @@ void setActiveExaminer( const unsigned int _id ); DLLEXPORT unsigned int activeExaminer(); -/// Set the internal scenegraph root node pointer ( DO NOT USE!! ) -DLLEXPORT -void set_sceneGraphRootNode( SeparatorNode* _root_node ); - -/// Set the internal data root node pointer ( DO NOT USE!! ) -DLLEXPORT -void set_rootNode( SeparatorNode* _root_node ); - /** Execute picking operation on scenegraph * This picking function will pick in the last active examiner context which is automatically * Set by mouseevents from the core @@ -272,11 +262,20 @@ void addGlobalNode(ACG::SceneGraph::BaseNode* _node); /// Set the current Action Mode (PickMode,ExamineMode,...) DLLEXPORT -void actionMode ( QtBaseViewer::ActionMode _mode); +void actionMode ( Viewer::ActionMode _mode); /// Get the current Action mode DLLEXPORT -QtBaseViewer::ActionMode actionMode(); +Viewer::ActionMode actionMode(); + +/** Get the viewer properties + * -1 will get the properties of the active Viewer which is the default + */ +DLLEXPORT +Viewer::ViewerProperties& viewerProperties(int _id = -1); + + + /** Lock scene rotation via mouse * diff --git a/BasePlugin/PluginFunctionsCore.hh b/BasePlugin/PluginFunctionsCore.hh new file mode 100644 index 00000000..d014909a --- /dev/null +++ b/BasePlugin/PluginFunctionsCore.hh @@ -0,0 +1,78 @@ +//============================================================================= +// +// OpenFlipper +// Copyright (C) 2008 by Computer Graphics Group, RWTH Aachen +// www.openflipper.org +// +//----------------------------------------------------------------------------- +// +// License +// +// OpenFlipper is free software: you can redistribute it and/or modify +// it under the terms of the GNU Lesser General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// OpenFlipper is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with OpenFlipper. If not, see . +// +//----------------------------------------------------------------------------- +// +// $Revision: 4482 $ +// $Author: moebius $ +// $Date: 2009-01-28 11:12:14 +0100 (Mi, 28. Jan 2009) $ +// +//============================================================================= + + + + +//============================================================================= +// +// Standard Functions +// +//============================================================================= + +/** + * \file PluginFunctions.hh + * This file contains functions to setup the internal structures for PluginFunctions. + * Dont Use these Functions in your Plugins! + */ + +// +#ifndef PLUGINFUNCTIONSCORE_HH +#define PLUGINFUNCTIONSCORE_HH + +#include + +#include + +namespace PluginFunctions { + +//======================================= +// Set pointers for global handling in PluginFunctions without exporting them to the Plugins + /** @name Setup Functions + * @{ */ +//======================================= +/// Set the internal examiner pointer ( DO NOT USE!! ) +DLLEXPORT +void setViewers( std::vector< glViewer* > _examiner_widgets ); + +/// Set the internal scenegraph root node pointer ( DO NOT USE!! ) +DLLEXPORT +void setSceneGraphRootNode( SeparatorNode* _root_node ); + +/// Set the internal data root node pointer ( DO NOT USE!! ) +DLLEXPORT +void setRootNode( SeparatorNode* _root_node ); + +/** @} */ + +} + +#endif //PLUGINFUNCTIONSCORE_HH diff --git a/Core/Core.cc b/Core/Core.cc index a89839db..9e04c544 100644 --- a/Core/Core.cc +++ b/Core/Core.cc @@ -83,6 +83,7 @@ #include #include "OpenFlipper/BasePlugin/PluginFunctions.hh" +#include "OpenFlipper/BasePlugin/PluginFunctionsCore.hh" #include @@ -141,9 +142,9 @@ void Core::init() { // Make root_node available to the plugins ( defined in PluginFunctions.hh) - PluginFunctions::set_rootNode( root_node_ ); + PluginFunctions::setRootNode( root_node_ ); - PluginFunctions::set_sceneGraphRootNode( root_node_scenegraph_ ); + PluginFunctions::setSceneGraphRootNode( root_node_scenegraph_ ); // Initialize the first object as the root Object for the object tree objectRoot_ = dynamic_cast< BaseObject* > ( new GroupObject("ObjectRoot") ); @@ -200,10 +201,6 @@ Core::init() { coreWidget_->setWindowTitle( OpenFlipper::Options::windowTitle() ); - - // Make examiner available to the plugins ( defined in PluginFunctions.hh) - PluginFunctions::set_examiner( coreWidget_->examiner_widgets_ ); - } // ====================================================================== diff --git a/Subdivision.tag b/Subdivision.tag index 1de4facf..49c3c7ae 100644 --- a/Subdivision.tag +++ b/Subdivision.tag @@ -22,60 +22,32 @@ PluginFunctions PluginFunctions::ObjectIterator - ObjectIterator + DLLEXPORT ObjectIterator objects_end namespacePluginFunctions.html - 438f2fcd4d8a661dfc2d1dc880d86daf + d1ebd6bab5cdb61704584c9f7a8fa1e3 () - BaseObject * + BaseObject *& objectRoot namespacePluginFunctions.html - bf0ed8a1c2b14f55daf757184ba4688c + 7db0b763935fa0d5933fac6f605b5cba () - - bool - get_source_meshes - namespacePluginFunctions.html - 5195874eac70f82dc7e8aeb316b1617f - (std::vector< TriMesh * > &_meshes) - - - bool - get_source_meshes - namespacePluginFunctions.html - 243b3c32189a1471dda04f7f25c485c3 - (std::vector< PolyMesh * > &_meshes) - - - bool - get_target_meshes - namespacePluginFunctions.html - b4358af396ca69b2e3029e7f2c46d649 - (std::vector< TriMesh * > &_meshes) - - - bool - get_target_meshes - namespacePluginFunctions.html - a057a222ce91dd201b545d65cc91f737 - (std::vector< PolyMesh * > &_meshes) - bool get_picked_object namespacePluginFunctions.html - ef47f6d2b83b68e6587397646220d91a - (uint _node_idx, BaseObjectData *&_object) + 5a5a6830d7f7289647fa6fecec7ab36c + (const unsigned int _node_idx, BaseObjectData *&_object) bool deleteObject namespacePluginFunctions.html - 5b1e3be5d4c7fa2d14535cc0187f1b41 - (int _id) + f781f21a8d2ac7ebb2c027284407ed0f + (const int _id) void @@ -84,6 +56,13 @@ 5b045e2632c7378cc2e0150066233b47 () + + int + copyObject + namespacePluginFunctions.html + 9e5cdfe8b47d65f62e51f87b88ef2bfa + (const int _id) + bool get_source_identifiers @@ -116,43 +95,22 @@ bool get_object namespacePluginFunctions.html - 1091d2449e9d33118bfab6c1e25db63d - (int _identifier, BaseObject *&_object) - - - bool - get_object - namespacePluginFunctions.html - 3013a288f3318f8718676b06f1921264 - (int _identifier, BaseObjectData *&_object) + 634e1aa080dbbd82e96144b0483fd085 + (const int _identifier, BaseObject *&_object) bool get_object namespacePluginFunctions.html - 5d62a4329854f98844abb898c042ba3c - (int _identifier, TriMeshObject *&_object) - - - bool - get_mesh - namespacePluginFunctions.html - 1172644f56bfb3f5e7ea2221f7501ff9 - (int _identifier, TriMesh *&_mesh) - - - bool - get_mesh - namespacePluginFunctions.html - edb3fc3ac2615a96f6ad631f4d70d892 - (int _identifier, PolyMesh *&_mesh) + 17125357788f11bf91380cd146aa6a3d + (const int _identifier, BaseObjectData *&_object) bool object_exists namespacePluginFunctions.html - dacf0ec50d3ec996ec2edfaf3d95f961 - (int _identifier) + 924e6965de6c3a36291811c121ded9df + (const int _identifier) int @@ -183,32 +141,32 @@ () - bool - get_property_handle + void + set_examiner namespacePluginFunctions.html - 86ad67d19dfba2f1e2eabb77b1845435 - (MeshT *_mesh, QString _name, OpenMesh::VPropHandleT< propT > &_property) + a6a2fa63b034150cc354b5709fc22f7f + (std::vector< QtBaseViewer * > _examiner_widgets) - bool - get_property_handle + void + setActiveExaminer namespacePluginFunctions.html - 4e419d2ed41704bc74e90912ad409e9f - (MeshT *_mesh, QString _name, OpenMesh::FPropHandleT< propT > &_property) + b67d722dc9182c4973603519638e98f8 + (const unsigned int _id) - bool - get_property_handle + unsigned int + activeExaminer namespacePluginFunctions.html - fcb31fc379e793806451080b35dc5fdf - (MeshT *_mesh, QString _name, OpenMesh::HPropHandleT< propT > &_property) + c092e03e4f2fd8744c6ea4b721bf8c13 + () void - set_examiner + set_sceneGraphRootNode namespacePluginFunctions.html - 4aa9ac417f6ae18b0b11e4e70576ed4a - (ACG::QtWidgets::QtExaminerViewer *examiner_widget_) + 6c5036444d35d0f7e09966cbffefb479 + (SeparatorNode *_root_node) void @@ -221,8 +179,15 @@ bool scenegraph_pick namespacePluginFunctions.html - d14a50aa769da67743500faa66af8687 - (ACG::SceneGraph::PickTarget _pickTarget, const QPoint &_mousePos, unsigned int &_nodeIdx, unsigned int &_targetIdx, ACG::Vec3d *_hitPointPtr) + e20d1424a44165838009bc1828f982ff + (ACG::SceneGraph::PickTarget _pickTarget, const QPoint &_mousePos, unsigned int &_nodeIdx, unsigned int &_targetIdx, ACG::Vec3d *_hitPointPtr=0) + + + bool + scenegraph_pick + namespacePluginFunctions.html + da942b5e50f2ca047ed4fc54b6834e51 + (const unsigned int _examiner, ACG::SceneGraph::PickTarget _pickTarget, const QPoint &_mousePos, unsigned int &_nodeIdx, unsigned int &_targetIdx, ACG::Vec3d *_hitPointPtr=0) void @@ -231,6 +196,13 @@ 95bf07301b5f4e367e9d6909acbaf7fd (ACG::SceneGraph::MouseEventAction &_action) + + void + traverse + namespacePluginFunctions.html + d95c682f42a2936ed2a7ac62f3068f3d + (const unsigned int _examiner, ACG::SceneGraph::MouseEventAction &_action) + const std::string & pickMode @@ -245,6 +217,13 @@ e859622da656e25418714d1f05dd34c5 (std::string _mode) + + void + pickMode + namespacePluginFunctions.html + 354c6201d4629d6607ebd0a43d2125e2 + (const unsigned int _examiner, std::string _mode) + ACG::GLState & glState @@ -259,6 +238,13 @@ 074bac06a5e27d760728aed1b2b3f0ee (QImage &_image) + + ACG::SceneGraph::BaseNode * + getSceneGraphRootNode + namespacePluginFunctions.html + db9160f9b0e24053d577b42efe1d37d4 + () + ACG::SceneGraph::BaseNode * getRootNode @@ -266,18 +252,32 @@ 46596260d8ff9904342ff483f9c19591 () + + void + addNode + namespacePluginFunctions.html + f0b8838cfc4bbe0cdb7b91815ecc8477 + (ACG::SceneGraph::BaseNode *_node) + + + void + addGlobalNode + namespacePluginFunctions.html + 2458aef543b14b2ac0b06c50d168414e + (ACG::SceneGraph::BaseNode *_node) + void actionMode namespacePluginFunctions.html - 24821d26bcab4ddbc6c13f7c7f11a997 - (ACG::QtWidgets::QtBaseViewer::ActionMode _mode) + 4c3ccd1bcb83bda20f39e9068853eb84 + (QtBaseViewer::ActionMode _mode) - ACG::QtWidgets::QtBaseViewer::ActionMode + QtBaseViewer::ActionMode actionMode namespacePluginFunctions.html - 45995def10b964ecb9a43b2f79bd52f4 + a17c404fa6e0bc0a9a08d489533fd01c () @@ -298,8 +298,8 @@ void setScenePos namespacePluginFunctions.html - d129d117d838752a75498affc57cc1ac - (const ACG::Vec3d &_center, double _radius) + 0b648e6b44a59282e5edfc8eda51c675 + (const ACG::Vec3d &_center, const double _radius) void @@ -333,8 +333,8 @@ void rotate namespacePluginFunctions.html - 9591fe3955d130d450afe9e8924fc521 - (const ACG::Vec3d &_axis, double _angle, const ACG::Vec3d &_center) + 5edf7564992ebddd3e5b5ed4207c72bc + (const ACG::Vec3d &_axis, const double _angle, const ACG::Vec3d &_center) void @@ -389,8 +389,8 @@ void setDrawMode namespacePluginFunctions.html - 5676bf850581cb61763b7829ae28a508 - (unsigned int _mode) + a0d5f7587ac6b1cdd1ae5a84feb428ef + (const unsigned int _mode) unsigned int @@ -407,46 +407,32 @@ (OpenMesh::Vec4f _color) - void - flyTo - namespacePluginFunctions.html - 25dd779116f4a9a352c5abc1ff9d86ed - (const TriMesh::Point &_position, const TriMesh::Point &_center, double _time) - - - void - setDataRoot - namespacePluginFunctions.html - 500a4c2660d974cc5d9ab8ea0604a5ff - (BaseObject *_root) - - - TriMesh * - triMesh + QPoint + mapToGlobal namespacePluginFunctions.html - 11d22dc1c64537f87c014241cacc4340 - (BaseObjectData *_object) + 499ada11f6b60e736f314d03395dd808 + (const QPoint _point) - PolyMesh * - polyMesh + QPoint + mapToLocal namespacePluginFunctions.html - fe48c8dedf9bf541678277213548d61a - (BaseObjectData *_object) + 6da01f4b28ec6cca2a6699cd7c93f244 + (const QPoint _point) - TriMeshObject * - triMeshObject + void + flyTo namespacePluginFunctions.html - 1f03569cd9ea2c79069f362b84c42661 - (BaseObjectData *_object) + b06ba401a82fc57b90afa01f9e29af07 + (const ACG::Vec3d &_position, const ACG::Vec3d &_center, double _time) - PolyMeshObject * - polyMeshObject + void + setDataRoot namespacePluginFunctions.html - dbb1912ef5640b57a886731049f21413 - (BaseObjectData *_object) + 500a4c2660d974cc5d9ab8ea0604a5ff + (BaseObject *_root) BaseObjectData * @@ -456,72 +442,19 @@ (BaseObject *_object) - - PluginFunctionsBSplineCurve.hh - /data/home1/moebius/projects/OpenFlipper/OpenFlipper/BasePlugin/ - PluginFunctionsBSplineCurve_8hh - OpenFlipper/common/Types.hh - PluginFunctions - - DLLEXPORT bool - get_object - namespacePluginFunctions.html - 61a339afd69b4a5dd217498a088a78f9 - (int _identifier, BSplineCurveObject *&_object) - - - DLLEXPORT BSplineCurve * - splineCurve - namespacePluginFunctions.html - aad1f17d9abdd7cf4ddb2ee1bd9f68b1 - (BaseObjectData *_object) - - - DLLEXPORT BSplineCurveObject * - bsplineCurveObject - namespacePluginFunctions.html - db8b914a5ff8d51712fce5b738b9f975 - (BaseObjectData *_object) - - - - PluginFunctionsPolyLine.hh - /data/home1/moebius/projects/OpenFlipper/OpenFlipper/BasePlugin/ - PluginFunctionsPolyLine_8hh - OpenFlipper/common/Types.hh - PluginFunctions - - DLLEXPORT bool - get_object - namespacePluginFunctions.html - 84bcca06e54f5ee597175cbf8e1cb52d - (int _identifier, PolyLineObject *&_object) - - - DLLEXPORT PolyLine * - polyLine - namespacePluginFunctions.html - fcde5199276ba3ea227f6e43ad67e111 - (BaseObjectData *_object) - - - DLLEXPORT PolyLineObject * - polyLineObject - namespacePluginFunctions.html - 07563d23b56254bfdf9c301774f86f9a - (BaseObjectData *_object) - - BaseObject.hh /data/home1/moebius/projects/OpenFlipper/OpenFlipper/common/ BaseObject_8hh + OpenFlipper/common/GlobalDefines.hh + perObjectData.hh BaseObject BaseObjectData.hh /data/home1/moebius/projects/OpenFlipper/OpenFlipper/common/ BaseObjectData_8hh + OpenFlipper/common/GlobalDefines.hh BaseObject.hh BaseObjectData @@ -532,10 +465,10 @@ - ACG::SceneGraph::ManipulatorNode - ManipulatorNode + ACG::SceneGraph::QtTranslationManipulatorNode + QtTranslationManipulatorNode BaseObjectData_8hh.html - 205b89dc931a634a8fca9056bb96a15a + f3661d1854c63aa68ed6f3f61bbbd9f5 @@ -553,33 +486,6 @@ - - BSplineCurveObject.hh - /data/home1/moebius/projects/OpenFlipper/OpenFlipper/common/BSplineCurve/ - BSplineCurveObject_8hh - BSplineCurveTypes.hh - OpenFlipper/common/BaseObjectData.hh - BSplineCurveObject - - - BSplineCurveTypes.hh - /data/home1/moebius/projects/OpenFlipper/OpenFlipper/common/BSplineCurve/ - BSplineCurveTypes_8hh - - ACG::KnotvectorT< double > - Knotvector - BSplineCurveTypes_8hh.html - e634cac86793b3facfe914026e566d52 - - - - ACG::BSplineCurveT< ACG::Vec3d > - BSplineCurve - BSplineCurveTypes_8hh.html - 9349a240cf875194952236401379be6b - - - GlobalDefines.hh /data/home1/moebius/projects/OpenFlipper/OpenFlipper/common/ @@ -593,23 +499,23 @@ #define - ENABLE_POLYLINE_SUPPORT + USE_OPENMP GlobalDefines_8hh.html - e1edb96f4aba589bd4dd584cce20fe3f + 01df339826abe970836832ae79e5f894 #define - ENABLE_BSPLINECURVE_SUPPORT + DLLEXPORT GlobalDefines_8hh.html - bd19c930c1cf4c5ce2f2e927fc446af3 + 808e08638be3cba36e36759e5b150de0 #define - DLLEXPORT + DLLEXPORTONLY GlobalDefines_8hh.html - 808e08638be3cba36e36759e5b150de0 + 1c491d48ac3a6834027355b3c3ba843e @@ -617,8 +523,7 @@ GlobalOptions.hh /data/home1/moebius/projects/OpenFlipper/OpenFlipper/common/ GlobalOptions_8hh - OpenFlipper/common/Types.hh - OpenFlipper::Options::RecentFile + OpenFlipper/common/GlobalDefines.hh Experience getExperience @@ -654,6 +559,13 @@ acf823dfd1f2128ea750250b300c3be3 () + + QDir + shaderDir + namespaceOpenFlipper_1_1Options.html + f3ec6c8f3bf06cfbf8b90b88575ae32c + () + QDir iconDir @@ -661,6 +573,13 @@ 9b04e2011eee7224c5cc4bb0c6cb3a27 () + + QDir + fontsDir + namespaceOpenFlipper_1_1Options.html + b923819bcdb0136b2ab13621c04bb36c + () + QString applicationDirStr @@ -675,6 +594,13 @@ f335e266a93a627041fcfbe032c07fb6 () + + QString + shaderDirStr + namespaceOpenFlipper_1_1Options.html + e7c275a8828869baa67ce64bb02258aa + () + QString textureDirStr @@ -689,6 +615,13 @@ 2edc0f88cd2fd6afc2b50bd44fdf58eb () + + QString + fontsDirStr + namespaceOpenFlipper_1_1Options.html + 4e56424d7e28ffd236073a63e1efaee6 + () + void applicationDir @@ -703,6 +636,13 @@ ca89a2db183ebf7ae0ff91f125cd47c4 (QDir _dir) + + void + shaderDir + namespaceOpenFlipper_1_1Options.html + ab6114d89740edb133e2a8c26989b2c2 + (QDir _dir) + void textureDir @@ -717,6 +657,13 @@ 6b62cee43f2521b4997f981107022d4b (QDir _dir) + + void + fontsDir + namespaceOpenFlipper_1_1Options.html + 9436d9f1321cc9b6cc587ecbf3ef01c1 + (QDir _dir) + bool applicationDir @@ -731,6 +678,13 @@ 9fdd68dd3f0d6e600d671e724b4a702d (QString _dir) + + bool + shaderDir + namespaceOpenFlipper_1_1Options.html + 0736929daa5476b736141efb80239e91 + (QString _dir) + bool textureDir @@ -817,52 +771,45 @@ QString - lastDataType + currentScriptDirStr namespaceOpenFlipper_1_1Options.html - b3b1a42a4d991098d5024aa9e8acb23b + b92edb9df11d8359f46d81242ee08f6f () - void - lastDataType + QDir + currentScriptDir namespaceOpenFlipper_1_1Options.html - 450d93311c6af8a86827e29244126d6a - (QString _type) + af133c1d9fd64ff512681f80b5915cb2 + () void - addRecentFile - namespaceOpenFlipper_1_1Options.html - 7a7e42306b03e7238e1bee3f98ac7c64 - (QString _file, DataType _type) - - - QVector< RecentFile > - recentFiles + currentScriptDir namespaceOpenFlipper_1_1Options.html - 86c4cb1858ccbb0110a54b0ec5fd7be3 - () + 234bbc69e49f1675473dc523e707974b + (QDir _dir) - void - recentFiles + bool + currentScriptDir namespaceOpenFlipper_1_1Options.html - 2b3b8eaa470c9165aa74198d596a5af7 - (QVector< RecentFile > _list) + 4e1164f8c452abb5a63e57d7e0f14c84 + (QString _dir) - int - maxRecent + QString + lastDataType namespaceOpenFlipper_1_1Options.html - cb8c19d6281014d7216c7b91935a268d + b3b1a42a4d991098d5024aa9e8acb23b () void - maxRecent + lastDataType namespaceOpenFlipper_1_1Options.html - a4fd80eec0c14676d920502948b5a999 - (int _max) + 450d93311c6af8a86827e29244126d6a + (QString _type) bool @@ -899,6 +846,13 @@ b9e91f275be64cab541156b56bb4d093 () + + QString + lang + namespaceOpenFlipper_1_1Options.html + 53603fe965755eaed3853c888f4b3eab + () + void nogui @@ -934,6 +888,20 @@ c65a7bab86e9d24953043e80affe9f60 () + + void + synchronization + namespaceOpenFlipper_1_1Options.html + c7b7d0dba2867fc70bc7cfedbca720d2 + (bool _synchronization) + + + bool + synchronization + namespaceOpenFlipper_1_1Options.html + 2f2d3cc7de72adbf2f4ac9356aa6c530 + () + void animation @@ -964,88 +932,263 @@ void - hideLogger + twoSidedLighting namespaceOpenFlipper_1_1Options.html - bca502e6aa441f9ff80e01aa4e43c584 - (bool _hide) + fce9476037e3dc278bf3012858361a38 + (bool _twoSidedLighting) bool - hideLogger + twoSidedLighting namespaceOpenFlipper_1_1Options.html - 23d6d24a3aeb9387f8d1314dbb9467e8 + 763cc9f51b329e7a24b320a66928aa05 () void - hideToolbox + wheelZoomFactor namespaceOpenFlipper_1_1Options.html - 3f8c2fba45cd9b0a7f4bdbb8e3e68d7f - (bool _hide) + 50ac0e6973ef90295736eed562b51491 + (double _factor) - bool - hideToolbox + double + wheelZoomFactor namespaceOpenFlipper_1_1Options.html - fa59cf1dc129ab9c22d7812e48cb435f + 0e04b69ee92ffec4b27e46ff2be7351c () void - fullScreen + wheelZoomFactorShift namespaceOpenFlipper_1_1Options.html - a930cc6283b7a192d66d702e64260eb3 - (bool _fs) + 43d391b4e7b4dcd3d7747874cd5b2963 + (double _factor) - bool - fullScreen + double + wheelZoomFactorShift namespaceOpenFlipper_1_1Options.html - 688f5d45dc86b811823d2fdb817b9e86 + 258e8c8d6ca2d9fc5b9d680915324e81 () - QString - defaultToolboxMode + void + restrictFrameRate namespaceOpenFlipper_1_1Options.html - 62fee6635a16039431a2b1e9573bbadd + 52ec7b67ff493d78580335e948755ec5 + (bool _enable) + + + bool + restrictFrameRate + namespaceOpenFlipper_1_1Options.html + e8c71b0ee52bcb9b01013a8134fe113e () void - defaultToolboxMode + maxFrameRate namespaceOpenFlipper_1_1Options.html - ba355bc7abb5f1edced58c22867af30c - (QString _mode) + a9fac9954c19f9dba5a319a4506dc224 + (int _fps) - QString - windowTitle + int + maxFrameRate namespaceOpenFlipper_1_1Options.html - 09a7e34a4bcab594bcd70f97be1f748e + a62d58fef92b7a2eac9403ed95908d1d () void - windowTitle + standardDrawMode namespaceOpenFlipper_1_1Options.html - d4e8df33c666bc1fa632b9715d1ea546 - (QString _titel) + 7a5898552d02de25382abbae82c8137b + (uint _mode) + + + uint + standardDrawMode + namespaceOpenFlipper_1_1Options.html + 8136e7279e0eea1610f66693b06b20ba + () void - splash + redrawDisabled namespaceOpenFlipper_1_1Options.html - 48bd8f8f5c2ded891c4edcaa9ec32d9c - (bool _splash) + 94dd40a140ca8e65600fcdaa018c1569 + (bool disable) bool - splash + redrawDisabled + namespaceOpenFlipper_1_1Options.html + 2d537e9e76914beea19b712d539f50b0 + () + + + bool + drawModesInContextMenu + namespaceOpenFlipper_1_1Options.html + c2f698c35d36f96550665a50598e5b2f + () + + + void + drawModesInContextMenu + namespaceOpenFlipper_1_1Options.html + 6f1088e6eaa3cff3f32e67b568e090f1 + (bool _show) + + + void + multiView + namespaceOpenFlipper_1_1Options.html + be6b7acec18bfa0fdeaba74cff7ad83b + (bool _multiView) + + + bool + multiView + namespaceOpenFlipper_1_1Options.html + 349cc0c29e41a63ae2a2f412cf5827f2 + () + + + unsigned int + examinerWidgets + namespaceOpenFlipper_1_1Options.html + fc38453e9f1ea7ea21aacf96e66f870c + () + + + void + hideLogger + namespaceOpenFlipper_1_1Options.html + bca502e6aa441f9ff80e01aa4e43c584 + (bool _hide) + + + bool + hideLogger + namespaceOpenFlipper_1_1Options.html + 23d6d24a3aeb9387f8d1314dbb9467e8 + () + + + void + hideToolbox + namespaceOpenFlipper_1_1Options.html + 3f8c2fba45cd9b0a7f4bdbb8e3e68d7f + (bool _hide) + + + bool + hideToolbox + namespaceOpenFlipper_1_1Options.html + fa59cf1dc129ab9c22d7812e48cb435f + () + + + void + fullScreen + namespaceOpenFlipper_1_1Options.html + a930cc6283b7a192d66d702e64260eb3 + (bool _fs) + + + bool + fullScreen + namespaceOpenFlipper_1_1Options.html + 688f5d45dc86b811823d2fdb817b9e86 + () + + + QString + defaultToolboxMode + namespaceOpenFlipper_1_1Options.html + 62fee6635a16039431a2b1e9573bbadd + () + + + void + defaultToolboxMode + namespaceOpenFlipper_1_1Options.html + ba355bc7abb5f1edced58c22867af30c + (QString _mode) + + + QString + windowTitle + namespaceOpenFlipper_1_1Options.html + 09a7e34a4bcab594bcd70f97be1f748e + () + + + void + windowTitle + namespaceOpenFlipper_1_1Options.html + d4e8df33c666bc1fa632b9715d1ea546 + (QString _titel) + + + void + splash + namespaceOpenFlipper_1_1Options.html + 48bd8f8f5c2ded891c4edcaa9ec32d9c + (bool _splash) + + + bool + splash namespaceOpenFlipper_1_1Options.html c325a50071e55968eac0aaedc3c2f488 () + + void + defaultBackgroundColor + namespaceOpenFlipper_1_1Options.html + 77b67a70342e62fa69ffcb4bf46b44fe + (QColor _color) + + + QColor + defaultBackgroundColor + namespaceOpenFlipper_1_1Options.html + 6ef02619dfb5b103df9ade27e2ae2c2b + () + + + void + defaultBaseColor + namespaceOpenFlipper_1_1Options.html + 2056f6748b8c263e0ee93053562c2053 + (QColor _color) + + + QColor + defaultBaseColor + namespaceOpenFlipper_1_1Options.html + 8966b40d75575050e83761f45804eb70 + () + + + void + randomBaseColor + namespaceOpenFlipper_1_1Options.html + 4a78fc76a7919a6b8156f2331b2d84bd + (bool _random) + + + bool + randomBaseColor + namespaceOpenFlipper_1_1Options.html + 337b3aa612c466cccde55fa364728b74 + () + bool scripting @@ -1088,6 +1231,34 @@ d08fc63c13b29eb0abb91ab89c9b4843 (bool _debug) + + void + logFileEnabled + namespaceOpenFlipper_1_1Options.html + efc145dc6b49eb779fc145a1f8557d83 + (bool _enable) + + + bool + logFileEnabled + namespaceOpenFlipper_1_1Options.html + b1bfcdc1806c316b00b5d2ec968d42ea + () + + + void + logFile + namespaceOpenFlipper_1_1Options.html + d2ea906f487d3759c2418cbee1794237 + (QString _filename) + + + QString + logFile + namespaceOpenFlipper_1_1Options.html + fe1593d1500fa4300eee7456ca09240e + () + bool backupEnabled @@ -1104,174 +1275,318 @@ bool - openingIni + loadingSettings namespaceOpenFlipper_1_1Options.html - 1b64f0567bd82e800413bea9ade72851 + 3acecb7ff6cf6260b5be8ac6b3bf6184 () void - openingIni + loadingSettings namespaceOpenFlipper_1_1Options.html - 8492ab01ac7e8f676dbae7d29ef1ac2e - (bool _openingIni) + c5476769d5f816d972ed51fea46415ee + (bool _loadingSettings) - - - PolyLineObject.hh - /data/home1/moebius/projects/OpenFlipper/OpenFlipper/common/PolyLine/ - PolyLineObject_8hh - PolyLineTypes.hh - OpenFlipper/common/BaseObjectData.hh - PolyLineObject - - - PolyLineTypes.hh - /data/home1/moebius/projects/OpenFlipper/OpenFlipper/common/PolyLine/ - PolyLineTypes_8hh - - ACG::PolyLineT< ACG::Vec3d > - PolyLine - PolyLineTypes_8hh.html - b54c407eed4ac40b810973a3f9f397bf - + + bool + savingSettings + namespaceOpenFlipper_1_1Options.html + c997de827c5805eed0bec36d6d8a79a7 + () - - - PolyMeshTypes.hh - /data/home1/moebius/projects/OpenFlipper/OpenFlipper/common/ - PolyMeshTypes_8hh - PolyTraits - - OpenMesh::PolyMesh_ArrayKernelT< PolyTraits > - PolyMesh - PolyMeshTypes_8hh.html - 6f3eb4ad4fc6f95326b848d821958f35 - + + void + savingSettings + namespaceOpenFlipper_1_1Options.html + b9f9c7c7968c200ddbf398cdaf41e915 + (bool _savingSettings) - - - TriangleMeshTypes.hh - /data/home1/moebius/projects/OpenFlipper/OpenFlipper/common/ - TriangleMeshTypes_8hh - TriTraits - - OpenMesh::TriMesh_ArrayKernelT< TriTraits > - TriMesh - TriangleMeshTypes_8hh.html - 41cbba34c91d41c5325cc019b097ad91 - + + bool + loadingRecentFile + namespaceOpenFlipper_1_1Options.html + cab4489697bf743b43e5c8b037c46cdf + () - - - Types.hh - /data/home1/moebius/projects/OpenFlipper/OpenFlipper/common/ - Types_8hh - GlobalDefines.hh - BaseObject.hh - BaseObjectData.hh - PolyLine/PolyLineObject.hh - BSplineCurve/BSplineCurveObject.hh - - ACG::Vec3d - Vector - Types_8hh.html - 7932a926ab17fabe9f4a0ee1b498526c - + + void + loadingRecentFile + namespaceOpenFlipper_1_1Options.html + 376c1d71c3d505d86d331f448185d937 + (bool _loadingRecentFile) - - std::vector< int > - idList - Types_8hh.html - 1a4f42091f45af22a5d56250cd262c5f - + + int * + argc + namespaceOpenFlipper_1_1Options.html + 9f0b15c98b77438f01a36ee061f2c64a + () - - ACG::Matrix4x4d - Matrix4x4 - Types_8hh.html - 2c834138d15bf416d68149d639c97ed8 - + + char *** + argv + namespaceOpenFlipper_1_1Options.html + 87dc8e3ef0936a37c29972ac51ac3222 + () - - std::vector< BaseObjectData * > - DataContainer - Types_8hh.html - 439e837834c4200e2bc2e050ae2cce72 - + + void + argc + namespaceOpenFlipper_1_1Options.html + c35717e8aa088fe905793aa950064e9c + (int *_argc) - - MeshObject< TriMesh, DATA_TRIANGLE_MESH > - TriMeshObject - Types_8hh.html - 90c8b126d070ab854ae3d7c6bc27cb29 - + + void + argv + namespaceOpenFlipper_1_1Options.html + bb32a019b432e8e50f97d910c1b9b67b + (char ***_argv) - - MeshObject< PolyMesh, DATA_POLY_MESH > - PolyMeshObject - Types_8hh.html - 6d28240c740be2a804d6d33ff2cc3580 - + + void + doSlotDebugging + namespaceOpenFlipper_1_1Options.html + a493468ebaf1cddbd508571174e5ab8f + (bool _debugging) - - DataType - Types_8hh.html - d8ed01ff3ff33333d8e19db4d2818bb6 - + + bool + doSlotDebugging + namespaceOpenFlipper_1_1Options.html + 4b4c7d01ea7b78c26c6e314ad278a3d8 + () - - DATA_NONE - Types_8hh.html - d8ed01ff3ff33333d8e19db4d2818bb67a0fbad905fa5e37fc0f68349511bdbe - + + void + updateUrl + namespaceOpenFlipper_1_1Options.html + bea9f69d9e9073b76afbd468a9f46a9d + (QString _url) - - DATA_GROUP - Types_8hh.html - d8ed01ff3ff33333d8e19db4d2818bb6e5b1d273fdfedbcca48072627cf89d99 - + + QString + updateUrl + namespaceOpenFlipper_1_1Options.html + fef07b56dc2adf604a74245e0f675377 + () - - DATA_POINTS - Types_8hh.html - d8ed01ff3ff33333d8e19db4d2818bb65d6368e367cbc3a591561b72d4aa06fa + + void + updateUsername + namespaceOpenFlipper_1_1Options.html + ac9f48cfb27c79b943b57f780e93a39d + (QString _username) + + + QString + updateUsername + namespaceOpenFlipper_1_1Options.html + 6e79e76fb42466b076e27868023c83a5 + () + + + void + updatePassword + namespaceOpenFlipper_1_1Options.html + 5847ec70cb102d47a2135668d6939583 + (QString _password) + + + QString + updatePassword + namespaceOpenFlipper_1_1Options.html + bf190fbbafea5b4f7e79fc74b4b60ebb + () + + + QString + coreVersion + namespaceOpenFlipper_1_1Options.html + a5482271a1ce0f77edc30af35d4d51b8 + () + + + void + pickingRenderMode + namespaceOpenFlipper_1_1Options.html + 280cf2ce41e2b9ace6028c380445ab6a + (QString _target) + + + QString + pickingRenderMode + namespaceOpenFlipper_1_1Options.html + 8bd50dac1ce139e22de8d6a90f8bf5fa + () + + + void + renderPicking + namespaceOpenFlipper_1_1Options.html + 239e43a47e9a3aeef06441c58f854bbb + (bool _enable) + + + bool + renderPicking + namespaceOpenFlipper_1_1Options.html + af7d40993ecc8b528f580cf8cd971585 + () + + + + perObjectData.hh + /data/home1/moebius/projects/OpenFlipper/OpenFlipper/common/ + perObjectData_8hh + OpenFlipper/common/GlobalDefines.hh + PerObjectData + + + Types.cc + /data/home1/moebius/projects/OpenFlipper/OpenFlipper/common/ + Types_8cc + Types.hh + TypeInfo + + void + initialize + Types_8cc.html + 25a40b6614565f755233080a384c35f1 + () + + + DataType + addDataType + Types_8cc.html + e474369a16f48f4d8b5ca0a8954a9fb1 + (QString _name) + + + DataType + typeId + Types_8cc.html + 1109336c14463d8aac9527d02a86d4ef + (QString _name) + + + QString + typeName + Types_8cc.html + 3e7e15b9e3323948f062f192d5bc8f1f + (DataType _id) + + + QString + typeIcon + Types_8cc.html + fa0cd1c394dcffcdd78a0284b529d3df + (QString _name) + + + QString + typeIcon + Types_8cc.html + 722ea7e638a22548d8cf0c4c39de8fab + (DataType _id) + + + void + setTypeIcon + Types_8cc.html + 2eaed7f07a023bde3085f471d19f5c28 + (DataType _id, QString _icon) + + + void + setTypeIcon + Types_8cc.html + 67c3e0c037a37de8f131fe0c85170656 + (QString _name, QString _icon) + + + static int + nextTypeId_ + Types_8cc.html + 0497caf0b7c344d91bd921edd45b19d0 - - DATA_POLY_LINE - Types_8hh.html - d8ed01ff3ff33333d8e19db4d2818bb6aa12550370fd882d1bb6d0d3e3085a03 + + static bool + initialized_ + Types_8cc.html + ef7436a220692b5b863db4e9d8b870a3 - - DATA_TRIANGLE_MESH + + static std::map< unsigned int, QString > + typeToString + Types_8cc.html + c684468fe7ef0a90c84720ac121226d7 + + + + static std::map< QString, unsigned int > + stringToTypeInfo + Types_8cc.html + e446555fc36d80d883500da26dd2f174 + + + + static std::map< unsigned int, unsigned int > + typeToTypeInfo + Types_8cc.html + 981bc17b5cc31e74d67cd964254beaa6 + + + + static std::vector< TypeInfo > + types + Types_8cc.html + c313c299f3f4500f14ad23e5789d162f + + + + + Types.hh + /data/home1/moebius/projects/OpenFlipper/OpenFlipper/common/ + Types_8hh + OpenFlipper/common/GlobalDefines.hh + BaseObject.hh + BaseObjectData.hh + + unsigned int + DataType Types_8hh.html - d8ed01ff3ff33333d8e19db4d2818bb637489b6e73aed7dd2c0928e8a6ea316b + 43b5b28c54892b611c165fd5ebea327e - - DATA_POLY_MESH + + ACG::Vec3d + Vector Types_8hh.html - d8ed01ff3ff33333d8e19db4d2818bb6c94d286d0f8a2ddb5524b376d9e72924 + 7932a926ab17fabe9f4a0ee1b498526c - - DATA_VOLUME + + std::vector< int > + idList Types_8hh.html - d8ed01ff3ff33333d8e19db4d2818bb68406f4a86dfe7cec00ca8dba46681542 + 3022e04c6ae5353c5912a516f549ee65 - - DATA_BSPLINE_CURVE + + ACG::Matrix4x4d + Matrix4x4 Types_8hh.html - d8ed01ff3ff33333d8e19db4d2818bb62b459aab77e19250ba6182de624d40db + 2c834138d15bf416d68149d639c97ed8 - - DATA_BSPLINE_SURFACE + + std::vector< BaseObjectData * > + DataContainer Types_8hh.html - d8ed01ff3ff33333d8e19db4d2818bb6733daec6131b1998a282beee8f633cf0 + 439e837834c4200e2bc2e050ae2cce72 @@ -1281,6 +1596,13 @@ c419bb898d03aee05f11a096602ec958 (idList) + + + Q_DECLARE_METATYPE + Types_8hh.html + 075f87f167b3abc05e60323bdc261ce8 + (QVector< int >) + Q_DECLARE_METATYPE @@ -1295,11 +1617,137 @@ cfda4e9e8cc954e22bf07d085b5fb0fb (Matrix4x4) + + DLLEXPORT DataType + addDataType + Types_8hh.html + 711d5b1d18c54e1fb6cd0283f1a7a215 + (QString _name) + + + DLLEXPORT DataType + typeId + Types_8hh.html + 2e03981ec754e81543c3126ab6e64bae + (QString _name) + + + DLLEXPORT QString + typeName + Types_8hh.html + 419f47c22fff00dcf334dd9df25bd1ed + (DataType _id) + + + DLLEXPORT QString + typeIcon + Types_8hh.html + 0abc26d2a5371f42592ec4a35e20569b + (QString _name) + + + DLLEXPORT QString + typeIcon + Types_8hh.html + 0f7003e4a281d209223037feee53eaf5 + (DataType _id) + + + DLLEXPORT void + setTypeIcon + Types_8hh.html + d665808a88085c8d50a2f0c3863885f6 + (DataType _id, QString _icon) + + + DLLEXPORT void + setTypeIcon + Types_8hh.html + c0596bb3d5ba2c0f99bee2b414eba084 + (QString _name, QString _icon) + + + const unsigned int + DATA_NONE + Types_8hh.html + d1bf9c234e58f0dfef88a6d6096d7285 + + + + const unsigned int + DATA_GROUP + Types_8hh.html + ea1affb414ebd6b90b9bf6894e19d049 + + + + const unsigned int + DATA_POINTS + Types_8hh.html + 7124788a3c13985de538109bdf973980 + + + + const unsigned int + DATA_POLY_LINE + Types_8hh.html + d7bb42f3597812bd7b4673b1d33e783f + + + + const unsigned int + DATA_TRIANGLE_MESH + Types_8hh.html + e7ca37510fdfd73ea2b99b4a25c9d7fd + + + + const unsigned int + DATA_POLY_MESH + Types_8hh.html + 36628d595a9ad80b703f065b770be077 + + + + const unsigned int + DATA_BSPLINE_CURVE + Types_8hh.html + 51969beff7e433b379e1476ab6aa67fe + + + + const unsigned int + DATA_VOLUME + Types_8hh.html + 48b8a6905326ed901e156134f08edb57 + + + + const unsigned int + DATA_BSPLINE_SURFACE + Types_8hh.html + 2cc8a32cff7ea5de261aee442a16353a + + + + const unsigned int + DATA_SKELETON + Types_8hh.html + 31457ee1f1f4f745a44d36bbef1bd174 + + + + const unsigned int + DATA_GIS + Types_8hh.html + 560bcad8cd494f1614b31335c4109289 + + - const DataType + const unsigned int DATA_ALL Types_8hh.html - fbd656a920709cf466fe36603ef2508d + 5689ea47af0e95e34c631e174efe8837 @@ -1339,12 +1787,20 @@ /data/home1/moebius/projects/OpenFlipper/OpenFlipper/widgets/coreWidget/ CoreWidget_8hh OpenFlipper/common/Types.hh - PluginInfoT ViewMode StackWidgetInfo MenuInfo CoreWidget + + buildingOpenFlipper + Building OpenFlipper + buildingOpenFlipper + dependencies + Building + Build + Required + dataStructure Datastructures @@ -1377,46 +1833,6 @@ plugin_sec plugin_prog_sec - - AreaNodeMod - structAreaNodeMod.html - MeshT - - static bool - is_area - structAreaNodeMod.html - bf58574e4881161d0607a292db308dc5 - (const MeshT &_m, typename MeshT::VertexHandle _vh) - - - static bool - is_area - structAreaNodeMod.html - fd2d9eed7e92bfd3da98160754659b0e - (const MeshT &_m, typename MeshT::FaceHandle _fh) - - - static bool - is_vertex_selected - structAreaNodeMod.html - c64f44c9832c9ee91ff301d0e3eb8fbd - (const MeshT &_mesh, typename MeshT::VertexHandle _vh) - - - static bool - is_edge_selected - structAreaNodeMod.html - a3a6b26a116722b3d8a3d971d150f5eb - (const MeshT &, typename MeshT::EdgeHandle) - - - static bool - is_face_selected - structAreaNodeMod.html - 67620829bd2f578e8b95b731e60d048e - (const MeshT &_mesh, typename MeshT::FaceHandle _fh) - - BackupInterface classBackupInterface.html @@ -1424,8 +1840,8 @@ virtual void createBackup classBackupInterface.html - 866910a0021ab5279cbb9556881e1cd4 - (int _id, QString _name) + b73983b858434397e6d41c1dea571d94 + (int, QString) virtual @@ -1438,32 +1854,39 @@ virtual void slotBackupRequested classBackupInterface.html - 3adae57ded51cdcfa2ccd80497204943 - (int _id, QString _name, int _backup_id) + b884cce9d2b9c76c54035c71be933c20 + (int, QString, int) virtual void slotRestoreRequested classBackupInterface.html - 08a636db130ea2ec5bd17c079b46eea8 - (int _id, QString _name, int _backup_id) + 00f15086f92007aaf966fadb3527ba51 + (int, QString, int) BaseInterface classBaseInterface.html + + virtual QString + version + classBaseInterface.html + 1223005ae02b961eb515823343811adc + () + virtual void - update_view + updateView classBaseInterface.html - c78de79f3797cb65f590c9aa84b38f71 + ce0d6b943ce94f48c40e8c0e17a8413e () virtual void - updated_objects + updatedObject classBaseInterface.html - 9bd2a94322fcd438a70b63753d5a1105 + c500b033dc68fb00ed571f0424f954a4 (int) @@ -1473,6 +1896,13 @@ 8352ea374c4893bad326f3fc93cb6667 () + + virtual void + setSlotDescription + classBaseInterface.html + e44dcc39152105cb9b00f7cccc979246 + (QString, QString, QStringList, QStringList) + virtual ~BaseInterface @@ -1498,8 +1928,15 @@ virtual void slotObjectUpdated classBaseInterface.html - e58a2d95eae6eddf5df443beb20f3c44 - (int _identifier) + 98f47d25101c25198b8230c751e4d5d6 + (int) + + + virtual void + slotAllCleared + classBaseInterface.html + a00a3111da5d92c9d001a0a8272c5a91 + () virtual void @@ -1673,6 +2110,13 @@ a9f825937872fda86e579b04f8120e8f + + BaseObject * + last + classBaseObject.html + 115e78be7fa0bee0d78a0f9bc9e4ede9 + () + BaseObject * next @@ -1708,12 +2152,61 @@ b8203eaf661f6ddd0eff27243c1cecd7 (QString _name) - - - BaseObject + + QMap< QString, PerObjectData * > + dataMap_ classBaseObject.html - 2eeb757b362888655e06fdbf4b9524a7 - (BaseObject *_parent=0) + e699683a8dada8178a6aba7b20936770 + + + + void + setObjectData + classBaseObject.html + 011e6fd32423693f783231046db4c680 + (QString _dataName, PerObjectData *_data) + + + void + clearObjectData + classBaseObject.html + e0ad3d27cc922cb4ada6149aaa4b04e4 + (QString _dataName) + + + bool + hasObjectData + classBaseObject.html + a5b773c721abdf3273b55eacbeb8488d + (QString _dataName) + + + PerObjectData * + objectData + classBaseObject.html + 64c9fbbfa9225b718474667da04b7dba + (QString _dataName) + + + void + deleteData + classBaseObject.html + 8fd08ba49fa8a38e4164a556930b6072 + () + + + + BaseObject + classBaseObject.html + 1d2856f44cdd84060bedbf58c69a99de + (const BaseObject &_object) + + + + BaseObject + classBaseObject.html + 2eeb757b362888655e06fdbf4b9524a7 + (BaseObject *_parent=0) virtual void @@ -1750,6 +2243,13 @@ 971699e251c18482516af5d1466d8a00 () + + virtual BaseObject * + copy + classBaseObject.html + a914502976b64d3048fe068cd0097e67 + () + int row @@ -1938,10 +2438,10 @@ - ManipulatorNode * + QtTranslationManipulatorNode * manipulatorNode_ classBaseObjectData.html - b1caddea1367c56cc036f2802906edc5 + a2f70298a2c1e14b9389b53944c74a35 @@ -1973,10 +2473,17 @@ () - ManipulatorNode * + QtTranslationManipulatorNode * manipulatorNode classBaseObjectData.html - e485628371fc7d87e90dc8309b558b70 + df4fdd191347abb3d104c8f740b7cbfd + () + + + virtual ACG::SceneGraph::ShaderNode * + shaderNode + classBaseObjectData.html + c09e5177c2a65d7cb7bc1e9577e41196 () @@ -2007,6 +2514,13 @@ d20704f0c5e57b1e42700c8c070b8f54 (bool _placed) + + void + getBoundingBox + classBaseObjectData.html + b9aa8e04bc57c7a74f8a391a72c5a531 + (ACG::Vec3d &bbmin, ACG::Vec3d &bbmax) + std::vector< std::pair< BaseNode *, QString > > additionalNodes_ @@ -2035,6 +2549,20 @@ 8c2b55683274e7a0f71858bdb4bc99fb (NodeT *&_node, QString _pluginName, QString _nodeName, int _id=0) + + bool + removeAdditionalNode + classBaseObjectData.html + 0c2e9e1ff79884132be3f70e46ca5617 + (NodeT *&_node, QString _pluginName, QString _nodeName, int _id=0) + + + + BaseObjectData + classBaseObjectData.html + ac91c0bbe48e5fb842b3aced5e1dcd1d + (const BaseObjectData &_object) + BaseObjectData @@ -2063,6 +2591,20 @@ fdb0f57814b92dd4ad19c81b1601857c (uint _node_idx) + + virtual void + enablePicking + classBaseObjectData.html + 4a09f3b75c87eb646d96c9bd0b840c3e + (bool _enable) + + + virtual bool + pickingEnabled + classBaseObjectData.html + 569ab93d5ca6edfb643f2b560d974ae6 + () + virtual void update @@ -2128,88 +2670,6 @@ - - BSplineCurveObject - classBSplineCurveObject.html - BaseObjectData - - BSplineCurve * - splineCurve_ - classBSplineCurveObject.html - 47f769ce688506f237bb2f016388dd49 - - - - BSplineCurve * - splineCurve - classBSplineCurveObject.html - 04981c2f9c83c76b2720e24d860fd3b9 - () - - - ACG::SceneGraph::BSplineCurveNodeT< BSplineCurve > * - splineCurveNode_ - classBSplineCurveObject.html - 9669fb84cd35605c5f84efa12fdfa1fd - - - - ACG::SceneGraph::BSplineCurveNodeT< BSplineCurve > * - splineCurveNode - classBSplineCurveObject.html - 3dc679cec059d6841e57ed22797639f9 - () - - - - BSplineCurveObject - classBSplineCurveObject.html - 4c60e0f5c68cf4e1d328214262485f02 - (SeparatorNode *_rootNode) - - - virtual - ~BSplineCurveObject - classBSplineCurveObject.html - cceec799fb7aebebb73e850dd58f6274 - () - - - virtual void - cleanup - classBSplineCurveObject.html - 78b312d47d5ce31b99638ced7de4f637 - () - - - void - setName - classBSplineCurveObject.html - 9fdcd89101c1d2604ba5a57abe765af4 - (QString _name) - - - QString - getObjectinfo - classBSplineCurveObject.html - 41e882d0efd13025bbb04282c98623c0 - () - - - bool - picked - classBSplineCurveObject.html - 2e02b3615d1461f495c16baa709b899a - (uint _node_idx) - - - virtual void - init - classBSplineCurveObject.html - 66eb6e2bd106aba4e1f053057aaeb387 - () - - ContextMenuInterface classContextMenuInterface.html @@ -2217,15 +2677,15 @@ virtual void addContextMenu classContextMenuInterface.html - 2bc4fd5c6257d91a3a879ba5f54107aa - (QMenu *_menu, ContextMenuType _type) + 29cff297615ddbc3f20c1ed26ed64a49 + (QMenu *, ContextMenuType) virtual void addContextMenu classContextMenuInterface.html - 286f33392df92c259fd2312bf8fcdbfd - (QMenu *_menu, DataType _objectType, ContextMenuType _type) + 8f739de4ba5077148ca329f265cb4924 + (QMenu *, DataType, ContextMenuType) virtual @@ -2238,18 +2698,81 @@ virtual void slotUpdateContextMenu classContextMenuInterface.html - 74cbe2257620672cbc565cc6536c0332 - (int _objectId) + ada243267d3da87b564b42fd68db1f37 + (int) Core classCore.html - std::vector< PluginInfoT > + QTextStream * + logStream_ + classCore.html + 834829ad748775e0739553f65010928a + + + + QFile * + logFile_ + classCore.html + cbef8f10d653a760f65a89ad3edc0e23 + + + + void + scriptLogFunction + classCore.html + 8d1172986583f15197a55bf3fc1348ae + (QString _output) + + + void + slotLog + classCore.html + 5d9187a7515d482e9434bc52c83221c3 + (Logtype _type, QString _message) + + + void + slotLogToFile + classCore.html + 6b26279666e591c9e4fe280dff5f29ad + (Logtype _type, QString _message) + + + void + log + classCore.html + ca47c7ecad26bcce34f6ab099e7f216e + (Logtype _type, QString _message) + + + void + log + classCore.html + 3be8c200c4dac0b05ce7f1935a5bf0b3 + (QString _message) + + + void + scriptLog + classCore.html + 4f8c108f0215e02e7caa852e2c5b3db7 + (QString _message) + + + void + externalLog + classCore.html + f74194950cc01393a6141d14aaf74010 + (Logtype _type, QString _message) + + + std::vector< PluginInfo > plugins classCore.html - 12bdd8b258466fbe623c566be0c4f8e8 + 53fad6e68bbafa423fcff9af0037be96 @@ -2343,6 +2866,13 @@ de3704eb2c05857fdeaa594fc0ab03be + + QList< SlotInfo > + coreSlots_ + classCore.html + 86ec620fd881f6cf77074dbc6f9a33c5 + + void slotScriptInfo @@ -2371,6 +2901,20 @@ 07f24f908f78575d3461c6ea20fc15c7 (QStringList &_functions) + + void + slotSetSlotDescription + classCore.html + 91f2838f9835721ab288734ad783e8ac + (QString _slotName, QString _slotDescription, QStringList _parameters, QStringList _descriptions) + + + void + slotGetDescription + classCore.html + 50658045acf36fba98ec2d876d7fc921 + (QString _function, QString &_fnDescription, QStringList &_parameters, QStringList &_descriptions) + void scriptInfo @@ -2392,6 +2936,48 @@ 08ff5518ad3e1de36e35128bf8fa1f42 (QString _filename) + + void + setSlotDescription + classCore.html + 045b9a10ec2052de397c453c45659366 + (QString _slotName, QString _slotDescription, QStringList _parameters, QStringList _descriptions) + + + void + createWidget + classCore.html + efabc75820f7c5db7be88332f62ab585 + (QString _objectName, QString _uiFilename) + + + void + setDescriptions + classCore.html + 29cca226915ead5d25e5b77c1a925ac7 + () + + + QTimer * + scenegraphCheckTimer_ + classCore.html + 6d25d95c73c609296b6dff6d3dfa70fb + + + + QTime * + redrawTime_ + classCore.html + d336b033a504d0c87e7f58b5161d29d8 + + + + void + checkScenegraphDirty + classCore.html + 3eb492bf04a786dcb4baf98a0dbceff8 + () + void commandLineOpen @@ -2420,20 +3006,6 @@ 83b5472d8d30510c6eb8dc04341956f3 (DataType _type, QString _filename) - - bool - saveObject - classCore.html - f5cb94dacfd9bb358a34cfd93acbc1fd - (int _id, QString _filename) - - - bool - saveObjectTo - classCore.html - 0e32e8b8667e22348f236aba050e20e8 - (int _id, QString _filename) - int loadObject @@ -2448,69 +3020,48 @@ bd168f66ef1cc8003b4002152c16888f () - + void - scriptLogFunction + saveOptions classCore.html - 8d1172986583f15197a55bf3fc1348ae - (QString _output) + a127e2bf9cf276b5a6824a3ddc349a0d + () - + void - slotLog + applyOptions classCore.html - 5d9187a7515d482e9434bc52c83221c3 - (Logtype _type, QString _message) + 1552c32c581b43c9bbbbd2872e65ce00 + () - + void - log + openIniFile classCore.html - ca47c7ecad26bcce34f6ab099e7f216e - (Logtype _type, QString _message) + 9318f30d3faec5401af0f6c61b79861b + (QString _filename) - + void - log + openObjFile classCore.html - 3be8c200c4dac0b05ce7f1935a5bf0b3 - (QString _message) + 665adaf3244d97bcd7d38ba31fe4212f + (QString _filename) - + void - scriptLog + preprocessObjFile classCore.html - 4f8c108f0215e02e7caa852e2c5b3db7 - (QString _message) + 8cd760829087908ebf5b6aad90c1d3c2 + (QString _filename) - - void - externalLog - classCore.html - f74194950cc01393a6141d14aaf74010 - (Logtype _type, QString _message) - - - void - openIniFile - classCore.html - 9318f30d3faec5401af0f6c61b79861b - (QString _filename) - - + void setupOptions classCore.html 4ba499f73a95a5595519e20fbbaf1677 () - - void - applyOptions - classCore.html - 1552c32c581b43c9bbbbd2872e65ce00 - () - void readApplicationOptions @@ -2529,15 +3080,15 @@ void writeIniFile classCore.html - 701a82bd39354b33871a555e780ae555 - (QString _filename, bool _relativePaths) + 62516a67c78656a2cf5b85d6070229e1 + (QString _filename, bool _relativePaths, bool _targetOnly, bool _systemSettings) void - writeImportant + writeObjFile classCore.html - 208ee1afdea615decde60ef3fbcfc9b7 - (INIFile &_ini) + 3664630d860c23ee28f210b6acc09077 + (QString _filename, bool _relativePaths, bool _targetOnly) void @@ -2567,11 +3118,165 @@ ce1115b7dac51436b408bc2fd0bd4230 () + + void + translate + classCore.html + ac6e21d790ce73a00b603e8d872672df + (Vector _vec) + + + void + rotate + classCore.html + 9d64d351cf75351b720abe57b65f591b + (Vector _axis, double _angle, Vector _center) + + + void + setViewingDirection + classCore.html + 48819454934fd4b7cf8e9367ed20d97a + (Vector _direction, Vector _upvector) + + + void + fullscreen + classCore.html + 4d1913bc396afb49fefe6158abc21381 + (bool _state) + + + void + showLogger + classCore.html + 4eea7b30a6bcb1df0af9f40de07e7b1f + (bool _state) + + + void + showToolbox + classCore.html + 17c3efb533115c207bc21107270e8207 + (bool _state) + + + void + setDrawMode + classCore.html + 23b2b4eb6e23a58e8869df5daea4c5fc + (QString _mode) + + + void + restrictFrameRate + classCore.html + 6b3abafad547fdd5fa64c7bcc69df14e + (bool _enable) + + + void + setMaxFrameRate + classCore.html + bff9729e1ac8f02da373e58f7f4b1ac9 + (int _rate) + + + void + snapshotBaseFileName + classCore.html + 94252cf51e142df761c2c553f39c0274 + (const QString &_fname, unsigned int _viewerId=0) + + + void + snapshot + classCore.html + bf414b28901e3e3fcb178f96a38fb3e9 + (unsigned int _viewerId=0) + + + void + resizeViewer + classCore.html + a0075748ff6afea543786415cf512a94 + (int _width, int _height) + + + void + writeVersionNumbers + classCore.html + b4efd5ba293df9072a1a0d8b6b395d73 + (QString _filename) + + + bool + saveObject + classCore.html + f5cb94dacfd9bb358a34cfd93acbc1fd + (int _id, QString _filename) + + + bool + saveObjectTo + classCore.html + 0e32e8b8667e22348f236aba050e20e8 + (int _id, QString _filename) + + + void + saveAllObjects + classCore.html + 4e586376528b35d75241fcc64dd43638 + () + + + void + saveAllObjectsTo + classCore.html + 49ab082bb69e3d4b9638e11bda4a8572 + () + + + void + saveSettings + classCore.html + 2795006a50820ff1c0887f2bf6a93290 + () + + + void + loadObject + classCore.html + 69dcb3c8ea17c3a6d5f4d9b6644703ba + () + + + void + loadSettings + classCore.html + ddcd0d7e15a9219b12f4e64e768be41a + () + + + void + loadSettings + classCore.html + 425e2028441ac691e5cb9a78cf3458e1 + (QString _filename) + + + void + allCleared + classCore.html + 2bda4925b1f009b92d40996116ba438c + () + void - ObjectListUpdated + signalObjectUpdated classCore.html - cd8b71728fb4d9d04a999d016ed4610c + f704c76940c997670721d1e71891aad5 (int) @@ -2730,9 +3435,9 @@ void - slotObjectsListUpdated + slotObjectUpdated classCore.html - 4a8c2a094d5e8d6a27661eb447e9ba6b + c86dff1812e25d8afeaf1e20de0cdc86 (int _identifier) @@ -2756,20 +3461,6 @@ f98adee68d079c9259a2e4f67d7d0dbe (const std::string _mode) - - void - slotAddPickMode - classCore.html - 8cc13fd3e3bd3ed65afd790a674673c6 - (const std::string _mode, QCursor _cursor) - - - void - slotAddHiddenPickMode - classCore.html - 40b9e175c106e447eeeeb5c0970b89d9 - (const std::string _mode, QCursor _cursor) - void slotAddTexture @@ -2826,13 +3517,6 @@ 9df13efa1eb583229fb259ad3e4c936c (QString _filename, DataType _type, int &_id) - - void - slotSave - classCore.html - 51c3165bf7fb89b9468801a36d58c9f2 - (int _id, QString _filename) - void slotObjectOpened @@ -2882,34 +3566,6 @@ baf12c0c5eb4428fb8e4654f53214416 (DataType _type, int &_id) - - void - slotSaveMenu - classCore.html - 2743f4b120198eac85e54239fe0674b0 - () - - - void - slotSaveToMenu - classCore.html - 105857c5fc93289fc55c61da93a2ad8f - () - - - void - slotLoadIniMenu - classCore.html - 8264d33dcaee527ca17c845e4f81745c - () - - - void - slotSaveIniMenu - classCore.html - db6853276fd5b334ee791723ae751a5f - () - void slotExit @@ -2917,13 +3573,6 @@ df3cef1b50fdbdefde8a5fd979a5d744 () - - void - slotLoadMenu - classCore.html - 665a111eb61e7625daab3dfa442bf749 - () - void slotRecentOpen @@ -2959,6 +3608,13 @@ b1eeae464678294e53a3cdeb2d585c78 (QString _expression, bool &_success) + + void + slotGetValue + classCore.html + 1a30ad8750d1d9b5cc9fac596e1d91ef + (QString _expression, QVariant &_result) + bool checkSlot @@ -2980,20 +3636,6 @@ e8d38537099ad4b53ece9058f47ff79f - - unsigned int - standard_draw_mode_ - classCore.html - 6eb3b1f7ae4a17dc91ecad9508f6c620 - - - - bool - set_random_base_color_ - classCore.html - 2cdcf198df3244d18d991d71bab9f23a - - std::vector< PluginLogger * > loggers_ @@ -3044,96 +3686,264 @@ - SeparatorNode + QTimer * + redrawTimer_ + classCore.html + 697e78b76df6777873fb1146cacc5db2 + + + + SeparatorNode * + root_node_scenegraph_ + classCore.html + c1270bc4d4efe405abc22306775c2be9 + + + + SeparatorNode * root_node_ classCore.html - 7f2eb7b1aaf9456cef3e743741513abc + 91ac2a9f5dcbd6667817495b9323f5c4 CoreWidget classCoreWidget.html - - QVector< QWidget * > - toolWidgets_ + + std::multimap< std::pair< int, Qt::KeyboardModifiers >, std::pair< QObject *, int > > + KeyMap classCoreWidget.html - 949fb8d562fd9349f8e9da6de1f743ec + 89285677f9fc5ab90d660c1d64e0b0dd - - QPushButton * - viewModeButton_ + + std::multimap< std::pair< QObject *, int >, std::pair< int, Qt::KeyboardModifiers > > + InverseKeyMap classCoreWidget.html - e468832db236aa3f5423cef447474c86 + f2896ced7ff1204c6dcb720d5c32aece + + + + std::pair< KeyMap::iterator, KeyMap::iterator > + KeyRange + classCoreWidget.html + e56bdc726a4ca0da71025fd020aa88f4 - QMenu * - viewModeMenu_ + std::vector< KeyBinding > + coreKeys_ classCoreWidget.html - ba968a9e6721f1a64df64f12803a87da + c9dda7b40a40fce4af24f16aafdd94ed - QActionGroup * - viewGroup_ + KeyMap + keys_ classCoreWidget.html - 072b46c4e561ca3fb0edb090af505ad8 + 63882e3bd4dae219e6b47b200fcd66b5 - - QVector< ViewMode * > & - viewModes_ + + InverseKeyMap + invKeys_ classCoreWidget.html - 21a568606035083c6df70c773fa18433 + c11b560a2c6d45cea81911be08d790fd - - QDockWidget * - dockViewMode_ + + QList< SlotInfo > & + coreSlots_ classCoreWidget.html - 8d6e839761de0c384204753fa249e45d + 5f8996f83bc9c2e625c04bc007ca92a9 - + void - tabDockWidgets + PluginKeyEvent classCoreWidget.html - 36b2a3fefe23d4f344c685ece0ccf233 - () + 55e1c8c9061c5826ebeed3337d7a2a4a + (QKeyEvent *) - + void - slotRemoveViewMode + PluginKeyReleaseEvent classCoreWidget.html - 8d23490824aefe6e80aae4453031de6d - (QString _name) + 96fbfaffc5f55b138dbdb77a354f10f2 + (QKeyEvent *) - + void - slotSetViewMode + registerKey classCoreWidget.html - 190fe0417173fa185747d9eece482527 - (QAction *action) + a2d30979f416e884642d7da41f44e7ab + (int _key, Qt::KeyboardModifiers _modifiers, QString _description, bool _multiUse=false) - + void - slotViewModeDialog + call classCoreWidget.html - 55e8d857cc772abd295e4464f32a1e10 - () + 5764acdfa3e8bbc4a318abe36ead5b41 + (QString _expression, bool &_success) void - slotVisibilityChanged + slotRegisterKey classCoreWidget.html - 80187a1ac1a2267593293e396132392c - (bool visible) + 77782ad6103c907c5bb5e2e550c27891 + (int _key, Qt::KeyboardModifiers _modifiers, QString _description, bool _multiUse=false) - - void - initViewModes + + virtual void + keyPressEvent + classCoreWidget.html + 3ff4c255c761294742c2d94ef578cd78 + (QKeyEvent *_e) + + + virtual void + keyReleaseEvent + classCoreWidget.html + 6430573bd51a82cd32610ae715634158 + (QKeyEvent *_e) + + + void + registerCoreKeys + classCoreWidget.html + b6c3d7e961e2da2cc7b39202a0ba6dc6 + () + + + void + coreKeyPressEvent + classCoreWidget.html + 32ea3c7b03bf050d71a972ce19e7dabd + () + + + void + coreKeyPressEvent + classCoreWidget.html + 8b93f82a950c5f39c71d07a46f5fdf64 + (QKeyEvent *_e) + + + void + coreKeyReleaseEvent + classCoreWidget.html + 5d33f06f83d0ca36cc28019623e2e0fa + (QKeyEvent *_e) + + + KeyBinding + getKeyBinding + classCoreWidget.html + 8a4dd451dc65399dc7c9fa5e5762f989 + (QObject *_plugin, int _keyIndex) + + + QString + getRPCName + classCoreWidget.html + 11d70e7e012f9d2aa4c201760ce09b90 + (QObject *_plugin) + + + void + slotAddKeyMapping + classCoreWidget.html + 3ea6ee8dbf05f66716aeedd3c16682ca + (int _key, Qt::KeyboardModifiers _modifiers, QObject *_plugin, int _keyBindingID) + + + void + slotRegisterSlotKeyBindings + classCoreWidget.html + f845ab3d7ac371b452317f698bf6e37b + () + + + QVector< QWidget * > + toolWidgets_ + classCoreWidget.html + 949fb8d562fd9349f8e9da6de1f743ec + + + + QPushButton * + viewModeButton_ + classCoreWidget.html + e468832db236aa3f5423cef447474c86 + + + + QMenu * + viewModeMenu_ + classCoreWidget.html + ba968a9e6721f1a64df64f12803a87da + + + + QActionGroup * + viewGroup_ + classCoreWidget.html + 072b46c4e561ca3fb0edb090af505ad8 + + + + QVector< ViewMode * > & + viewModes_ + classCoreWidget.html + 21a568606035083c6df70c773fa18433 + + + + QDockWidget * + dockViewMode_ + classCoreWidget.html + 8d6e839761de0c384204753fa249e45d + + + + void + tabDockWidgets + classCoreWidget.html + e1aa8028b45bbe82f9745adafafeab33 + (QVector< QDockWidget * > _widgets) + + + void + slotRemoveViewMode + classCoreWidget.html + 8d23490824aefe6e80aae4453031de6d + (QString _name) + + + void + slotSetViewMode + classCoreWidget.html + 190fe0417173fa185747d9eece482527 + (QAction *action) + + + void + slotViewModeDialog + classCoreWidget.html + 55e8d857cc772abd295e4464f32a1e10 + () + + + void + slotVisibilityChanged + classCoreWidget.html + 80187a1ac1a2267593293e396132392c + (bool visible) + + + void + initViewModes classCoreWidget.html 5323e0ac079d1adc2e83fe7d5e7692e2 () @@ -3201,6 +4011,13 @@ 0233644347b1db500bfc3fefa5079c6a + + QMenu * + functionMenu_ + classCoreWidget.html + 13f2cc01d0aa5016534ff172c6f18801 + + QMenu * contextSelectionMenu_ @@ -3250,12 +4067,54 @@ b1643539c56985b9d8373cdcecaf6ad1 (QMenu *_menu, DataType _dataType, ContextMenuType type_) + + void + updateGlobalOptions + classCoreWidget.html + c6d9d80379ad5deab6d7a806bbfbcad8 + (bool _enable) + + + void + changeBackgroundColor + classCoreWidget.html + a79f7f9d75b8525d95c322b03a792cfe + () + + + void + slotPasteView + classCoreWidget.html + 1df87e8b2a7cb51655eed2682b90038e + () + + + void + slotCopyView + classCoreWidget.html + 1b4ba15cdb71845c5d6bad51551219a8 + () + + + void + slotSnapshot + classCoreWidget.html + 50b1afb1f379f033cfcb177c889e099c + () + + + void + slotSnapshotName + classCoreWidget.html + 0c6319c463e1443559abd9ea2cbfb124 + () + void updatePopupMenu classCoreWidget.html - a25f86c929c5ce5fb998f73e3e59cea2 - (const QPoint &_point) + 59486883d2004e09a30323a07115b563 + (const QPoint &_point, unsigned int _examinerId) QMenu * @@ -3341,6 +4200,48 @@ 2c41373eb2794800d69e70feb65f96bc () + + AboutWidget * + aboutWidget_ + classCoreWidget.html + bc2fbfa11a672006c0ccf16ab81c612f + + + + void + showAboutWidget + classCoreWidget.html + 7777ae8855ca888abbda01593e89da94 + () + + + OptionsWidget * + optionsWidget_ + classCoreWidget.html + e005d1790de3d9570c593c4d049bb7b8 + + + + void + applyOptions + classCoreWidget.html + ef14826de9df81baf1b87b72d0363432 + () + + + void + saveOptions + classCoreWidget.html + 550998375e6d5edf99c555f47a3e9ce9 + () + + + void + showOptionsWidget + classCoreWidget.html + d536081ecbc4c4c959a6035a175e1856 + () + QToolBar * mainToolbar_ @@ -3348,6 +4249,13 @@ ecb53a1b74438c95b056a6a501977c70 + + std::vector< QToolBar * > + toolbars_ + classCoreWidget.html + 82fb1b3cc12089599cf6e925314b6c8a + + void slotAddToolbar @@ -3362,81 +4270,137 @@ 0641ddf9a613275830848be3401ed564 (QToolBar *_toolbar) - - void - PluginKeyEvent - classCoreWidget.html - 55e1c8c9061c5826ebeed3337d7a2a4a - (QKeyEvent *) - - + void - PluginKeyReleaseEvent + getToolBar classCoreWidget.html - 96fbfaffc5f55b138dbdb77a354f10f2 - (QKeyEvent *) + a845879932bac0295330842bdad18801 + (QString _name, QToolBar *&_toolbar) - - virtual void - keyPressEvent + + QStatusBar * + statusBar_ classCoreWidget.html - 3ff4c255c761294742c2d94ef578cd78 - (QKeyEvent *_e) + 6f89e3ed6337ea63c6f9e5064551cba7 + - - virtual void - keyReleaseEvent + + QLabel * + statusIcon_ classCoreWidget.html - 6430573bd51a82cd32610ae715634158 - (QKeyEvent *_e) + 5f4110aa004b7358d87766ad3a1d0090 + - + void - clearAll + setupStatusBar classCoreWidget.html - f63331c0a8b58b0545f9a0b95f937aba + e6f7e6214851d0b054574f2974b6b99c () - + void - loadMenu + statusMessage classCoreWidget.html - 0866406ae55fbf42c2fad124bd5b4a0d - () + 0f03b55e06d24f1ee7d5b7d8dddf7267 + (QString _message, int _timeout=0) - + void - addEmptyObjectMenu + clearStatusMessage classCoreWidget.html - 5438bc34b7a0f408485363b00142cdad + a313be9143e350d9386861c0af4bb24c () - + void - saveMenu + setStatus classCoreWidget.html - c5645d9c792b2f4c2b3e45894d0d6e4f - () + 509291d47c1da4955ffc4fe786a423de + (ApplicationStatus::applicationStatus _status) - - void - saveToMenu + + bool + stereoActive_ classCoreWidget.html - 0d9ed8979a14d46a94d71e47acfba75d - () + 5f34285475c2102c7024ca91ebdf754d + - + void - loadIniMenu + slotToggleStereoMode classCoreWidget.html - 7c2d2506bed4659a430f4edf6a09230d + 858e06f8e9167de1867d57e19f4b2d60 () - + void - saveIniMenu + slotProjectionModeChanged classCoreWidget.html - e1b602945b3821a168f1aaba14afec2d + 144f67346455d7b89f46ed342c39300f + (bool _ortho) + + + void + slotActionModeChanged + classCoreWidget.html + 42eab7fb271a4261eb2233ea4cd7f3bd + (QtBaseViewer::ActionMode _mode) + + + void + slotFunctionMenuUpdate + classCoreWidget.html + 6fffbfe2bd33c0ee1881c1c973e86f27 + () + + + void + clearAll + classCoreWidget.html + f63331c0a8b58b0545f9a0b95f937aba + () + + + void + loadMenu + classCoreWidget.html + 0866406ae55fbf42c2fad124bd5b4a0d + () + + + void + addEmptyObjectMenu + classCoreWidget.html + 5438bc34b7a0f408485363b00142cdad + () + + + void + saveMenu + classCoreWidget.html + c5645d9c792b2f4c2b3e45894d0d6e4f + () + + + void + saveToMenu + classCoreWidget.html + 0d9ed8979a14d46a94d71e47acfba75d + () + + + void + loadIniMenu + classCoreWidget.html + 7c2d2506bed4659a430f4edf6a09230d + () + + + void + saveIniMenu + classCoreWidget.html + e1b602945b3821a168f1aaba14afec2d () @@ -3467,12 +4431,26 @@ d289f63b41c01f1b591dcfd06a5886dd () + + void + log + classCoreWidget.html + c63ecedc633251242e33f4a868914391 + (Logtype _type, QString _message) + + + void + log + classCoreWidget.html + 1ead1c75560a1d31b2c0128da48b14c9 + (QString _message) + CoreWidget classCoreWidget.html - 7cd95ae6e498bd95ce83315aec5f0064 - (SeparatorNode *_rootNode, QVector< ViewMode * > &_viewModes, std::vector< PluginInfoT > &_plugins) + 2ed25eb964e15149a83c8a8363d7fd32 + (QVector< ViewMode * > &_viewModes, std::vector< PluginInfo > &_plugins, QList< SlotInfo > &_coreSlots) @@ -3502,11 +4480,53 @@ 3f36a3308b6be434a8d13f52e61a73ce () + + void + toggleFullscreen + classCoreWidget.html + 0c3e9bb8f6f1470b87d044912ea6f6fe + () + + + void + setFullscreen + classCoreWidget.html + 94f65d0721191eaffccf7455b8b7afdc + (bool _state) + + + void + toggleLogger + classCoreWidget.html + 41c9b89e0447999597a7470b17174a0d + () + + + void + showLogger + classCoreWidget.html + 82d4c52515774c4df39458572d32a283 + (bool _state) + + + void + toggleToolbox + classCoreWidget.html + 345aaf88027e405f04c39b2c1636b84f + () + + + void + showToolbox + classCoreWidget.html + 2e693a6a9b572f5193beac0ecfcf2f5c + (bool _state) + - ACG::QtWidgets::QtExaminerViewer * - examiner_widget_ + std::vector< QtBaseViewer * > + examiner_widgets_ classCoreWidget.html - 6788f311ef8cc94302882c8f55e97cc9 + f6dc5701a86c0327e3179b3187406562 @@ -3517,10 +4537,10 @@ - QTextEdit * - textedit_ + LoggerWidget * + logWidget_ classCoreWidget.html - 76e7e75db04d81afb52e01a1e3b23074 + 4d90fc665b506932d8b4bb8380ed4fc6 @@ -3551,6 +4571,13 @@ d96dd4e322d38a6524611aab9fbbc1d6 + + ACG::QtWidgets::QtSceneGraphDialog * + sceneGraphDialog_ + classCoreWidget.html + 8e7f2c7573fe85709fe1638181c59965 + + void closeEvent @@ -3558,6 +4585,13 @@ 7bc83ecda701b3c667f730706a9256fb (QCloseEvent *event) + + void + slotShowSceneGraphDialog + classCoreWidget.html + 0dcacda93e1cae52e5567ca187ccb6e3 + () + void slotLog @@ -3565,18 +4599,32 @@ a51e3d88efc42526907734abc9f0a178 (Logtype _type, QString _message) - - SeparatorNode * - root_node_ + + void + startDrag classCoreWidget.html - 7db67f2b8656c43a53eb81ded51f7fe3 - + 8f0b0cd449b7b5ca15973d9222cfa488 + (QMouseEvent *_event) + + + void + dragEnterEvent + classCoreWidget.html + 3441edd1d244d011de59c4c50c5d84db + (QDragEnterEvent *_event) + + + void + dropEvent + classCoreWidget.html + 3d5b707f4e28ae077aec9b11089f3065 + (QDropEvent *_event) - std::vector< PluginInfoT > & + std::vector< PluginInfo > & plugins_ classCoreWidget.html - e5469938e0b68798c73c414934d64df7 + 36ee50855a24bf54a70471606a84a9f3 @@ -3586,6 +4634,55 @@ 25a5cfb2c398b27ace6d22420881b405 + + int + toolbarCount_ + classCoreWidget.html + f4bb53c8d58205cb03c7e42e4a72c76c + + + + QToolButton * + stereoButton_ + classCoreWidget.html + 1e2a2af299e972e8de85f7d83f29e248 + + + + QToolButton * + projectionButton_ + classCoreWidget.html + 2691fe7852b7a77b904aa1893f53598d + + + + QToolButton * + moveButton_ + classCoreWidget.html + 3a81b859e28a3624364e32cdb742e07c + + + + QToolButton * + lightButton_ + classCoreWidget.html + 58e2ff25c66c38c9a61783e8deb6e988 + + + + QToolButton * + pickButton_ + classCoreWidget.html + 4df262d89e79017b7f4dceb95b405c2c + + + + QToolButton * + questionButton_ + classCoreWidget.html + 98add8278cd6ed013aa428a12cb72e72 + + FileInterface @@ -3594,22 +4691,22 @@ virtual int loadObject classFileInterface.html - 0efbab4d230207cfa77fac0523add4eb - (QString _filename)=0 + e54da5fb8992d7850ea6b2d87851cd27 + (QString)=0 virtual bool saveObject classFileInterface.html - cc96b2af7bbc2e1dc9b9a2f344523939 - (int _id, QString _filename)=0 + 5ed9d6acc10a25f0b2488d0587e3840a + (int, QString)=0 virtual void setObjectRoot classFileInterface.html - 68ee5db86b63128c757892e699af71d9 - (BaseObject *_root)=0 + 2b8b5887fca63d5e94d3f9e273ae6c47 + (BaseObject *)=0 virtual bool @@ -3657,15 +4754,15 @@ virtual QWidget * saveOptionsWidget classFileInterface.html - 4e808d02f1c2e9d96e6af2cc506d24fb - ()=0 + 7c833c5577f76b7fcdeb43ef03fb4b2a + (QString)=0 virtual QWidget * loadOptionsWidget classFileInterface.html - 7d8fabaef4e12549ce0e7867f1c68a19 - ()=0 + 132713e6d18b3ab275b2d174bb220dd7 + (QString)=0 @@ -3682,14 +4779,21 @@ virtual void set_examiner classGlobalAccessInterface.html - 0a5f6fde20190800f9f419b16c57d01f - (ACG::QtWidgets::QtExaminerViewer *_examiner_widget)=0 + 1b74b361292165bfb0da496f4ea7a158 + (QtBaseViewer *)=0 GroupObject classGroupObject.html BaseObject + + + GroupObject + classGroupObject.html + 204d2a4094b02c089a7bd3709ee4edaa + (const GroupObject &_object) + GroupObject @@ -3704,45 +4808,12 @@ 3c818f9d0e04b760e581461f8bcb08d2 () - - - HandleNodeMod - structHandleNodeMod.html - MeshT - - static bool - is_handle - structHandleNodeMod.html - 56dfa797fe5b06a0c5685806b7a34fe2 - (const MeshT &_m, typename MeshT::VertexHandle _vh) - - - static bool - is_handle - structHandleNodeMod.html - 1a4feb8612b192fc091be04c4992e271 - (const MeshT &_m, typename MeshT::FaceHandle _fh) - - - static bool - is_vertex_selected - structHandleNodeMod.html - bf2fe1c37b9809cf3fcb5a5cee828795 - (const MeshT &_mesh, typename MeshT::VertexHandle _vh) - - - static bool - is_edge_selected - structHandleNodeMod.html - 2ddf6d44df06b0921a262f629074806c - (const MeshT &_mesh, typename MeshT::EdgeHandle _eh) - - - static bool - is_face_selected - structHandleNodeMod.html - 3946df6b18a5659cab04991e5faebd21 - (const MeshT &_mesh, typename MeshT::FaceHandle _fh) + + BaseObject * + copy + classGroupObject.html + 31b5c637bc3b7ce91a595e613ea93e3f + () @@ -4113,54 +5184,61 @@ virtual void loadIniFile classINIInterface.html - 66ebf39ccc11383a860dc8c10709fb1e - (INIFile &_ini, int _id) + 5fa6cd1fda2c98f0a6103379f2b5ac6a + (INIFile &, int) virtual void saveIniFile classINIInterface.html - 4e249320fbfd6155523078c7b10de1ac - (INIFile &_ini, int _id) + 7a5f263bef710d0428e0e836392c15e6 + (INIFile &, int) virtual void loadIniFileOptions classINIInterface.html - 3b8ae0e16b554c4b96a6e2c6071dbebb - (INIFile &_ini) + 3e4a73ff680732b8cab88d36622888f1 + (INIFile &) virtual void saveIniFileOptions classINIInterface.html - 85c019af7f106311394d28d844679a59 - (INIFile &_ini) + 5ebbd77a90db14dae3fc3f24ef751893 + (INIFile &) KeyInterface classKeyInterface.html - - virtual - ~KeyInterface - classKeyInterface.html - 6530d2ecdfa3538a0efc350974c24d9d - () - - + virtual void slotKeyEvent classKeyInterface.html - 66e0b9cdc50addcbf20ac78b58e9bff7 - (QKeyEvent *_event) + 7fdc66890e3586a8ef2fce275c282d4f + (QKeyEvent *) - + virtual void slotKeyReleaseEvent classKeyInterface.html - 94d9819293643c5abe9550f9dae8ba6a - (QKeyEvent *_event) + 0457bbb296f3738afae0309ba4f4f8aa + (QKeyEvent *) + + + virtual void + registerKey + classKeyInterface.html + 6384bba90067a6f01455ab70bc9a00c3 + (int, Qt::KeyboardModifiers, QString, bool=false) + + + virtual + ~KeyInterface + classKeyInterface.html + 6530d2ecdfa3538a0efc350974c24d9d + () @@ -4170,50 +5248,68 @@ virtual void load classLoadSaveInterface.html - 152541b680116d103397e2c2a92d049e - (QString _filename, DataType _type, int &_id) + cea4d677acb12a2b9d9efc739bd41e77 + (QString, DataType, int &) virtual void addEmptyObject classLoadSaveInterface.html - 088846b57b3ed0ec478afcda31b64596 - (DataType _type, int &_id) + 75c050bbb947550bf158492009e5b414 + (DataType, int &) virtual void save classLoadSaveInterface.html - b0ff1379c8613bfbac7ecd48e9456bef - (int _id, QString _filename) + 4d48d999bd50e17e26c4b82776260cbb + (int, QString) virtual void openedFile classLoadSaveInterface.html - 07293e70294182d866b9a24873824090 - (int _id) + 854307e9ff2aa4ddb53b584c6e6e80ce + (int) virtual void emptyObjectAdded classLoadSaveInterface.html - cc1d5d24bfe7c2af461becfcdd7927f9 - (int _id) + e5ea89e5ac2764bada47b44710baf2aa + (int) virtual void getAllFilters classLoadSaveInterface.html - 64100c541bb1419dd4d999e8c6debedf - (QStringList &_list) + 45b6a3e59f49fe5d6c522d27fe102d86 + (QStringList &) virtual void fileOpened classLoadSaveInterface.html - 715c23643892f4938aae8ea771ac6e3b - (int _id) + 4402a353c4ed5acacbb36f5fba1f4190 + (int) + + + + LoggerWidget + classLoggerWidget.html + + + LoggerWidget + classLoggerWidget.html + f6d7a2cba0c0a3aaf26f164e4a93e9ab + (QWidget *parent=0) + + + void + keyPressEvent + classLoggerWidget.html + b7629a4dc539aab69b3ab2daf2b24b9f + (QKeyEvent *_event) @@ -4223,22 +5319,22 @@ virtual void log classLoggingInterface.html - 7c755e4f595b6c64aa1c33910ff0cc6f - (Logtype _type, QString _message)=0 + a6485e09bd1b6697bbfebed072ba464e + (Logtype, QString)=0 virtual void log classLoggingInterface.html - 06c95870c2614d5f54c6f15a26fb58d3 - (QString _message)=0 + d9724024d8924ba7bb70f6ba8f8c2de9 + (QString)=0 virtual void logOutput classLoggingInterface.html - eaed8f7c2a62569c7cecbc68ae12e63e - (Logtype _type, QString _message) + e02e6d3c3b6fad33700dd449571b58e5 + (Logtype, QString) @@ -4273,8 +5369,8 @@ virtual void initializeMenu classMenuInterface.html - 33ce7e316efe71d99194d0c8903f750c - (QMenu *_menu, MenuType _type) + b1faf34097bb85003651d8cd1ec05fdf + (QMenu *, MenuType) virtual @@ -4285,244 +5381,34 @@ - MeshObject - classMeshObject.html - MeshT - objectDataType - BaseObjectData - - MeshT * - mesh_ - classMeshObject.html - 4dd9be4f47fbb5d0ccac1187cc5f60ff - - - - MeshT * - mesh - classMeshObject.html - 15935652184030a463adfd10100f5e96 + MouseInterface + classMouseInterface.html + + virtual + ~MouseInterface + classMouseInterface.html + 9adc16b9a1de1cd62d1a8be615576134 () - + virtual void - update - classMeshObject.html - e3498d492e2afc629c30a85767eae400 - () + slotMouseWheelEvent + classMouseInterface.html + c633e305b6c0340f6624c28a73611dce + (QWheelEvent *, const std::string &) - - void - updateSelection - classMeshObject.html - 04acbec78c5c8954092b056d57655f8d - () - - - void - updateModelingRegions - classMeshObject.html - f9b904b8a3cf404dbf5abfee43a970c1 - () - - - void - updateGeometry - classMeshObject.html - 402d0a14795ea3fe334093072e5f0c36 - () - - - void - updateTopology - classMeshObject.html - 61000f44bc2ae8b49136dd2fce8ec9ea - () - - - ACG::SceneGraph::SelectionNodeT< MeshT > * - statusNode_ - classMeshObject.html - cda4b9f9eed1380fb60ff03b07957351 - - - - ACG::SceneGraph::StatusNodeT< MeshT, AreaNodeMod< MeshT > > * - areaNode_ - classMeshObject.html - 2ada01b0c43f8a36e9019c1e19fa59d4 - - - - ACG::SceneGraph::StatusNodeT< MeshT, HandleNodeMod< MeshT > > * - handleNode_ - classMeshObject.html - c0516e0392c97ace7fafcbf1ac9f8679 - - - - ACG::SceneGraph::MeshNodeT< MeshT > * - meshNode_ - classMeshObject.html - 932a42e49511e9d468796d2e4ea3f843 - - - - TextureNode * - textureNode_ - classMeshObject.html - 839df4b20340c62915fb7f61ea2d37b0 - - - - TextureNode * - textureNode - classMeshObject.html - 3aabc5fbdd75b99f2ea0797f89feeef4 - () - - - ACG::SceneGraph::MeshNodeT< MeshT > * - meshNode - classMeshObject.html - e916689aee89b32af64a784ec5f50318 - () - - - void - boundingBox - classMeshObject.html - 613a498d99bd52a3351d807d04530ff0 - (ACG::Vec3f &_bbMin, typename ACG::Vec3f &_bbMax) - - - OMTriangleBSP * - triangle_bsp_ - classMeshObject.html - 64f05dc4a93210193be78aaa47968c5d - - - - OpenMeshTriangleBSPT< MeshT > - OMTriangleBSP - classMeshObject.html - 040327579fcbda65ffff44f89d6675d5 - - - - OMTriangleBSP * - requestTriangleBsp - classMeshObject.html - 069477aa53958c84eba4c5f35319d17c - () - - - OMTriangleBSP * - resetTriangleBsp - classMeshObject.html - 623969419d1d15c24956de8d96a71946 - () - - - std::vector< std::pair< QString, QString > > - textures - classMeshObject.html - 79554c9d41edae8fd5866106a467e559 - - - - void - addTexture - classMeshObject.html - b9e5ce02ba1e5454145a0f53299e31e5 - (QString _property, QString _textureFile) - - - - MeshObject - classMeshObject.html - 7c1a8ef51a7cd328ff7995d509276ba0 - (SeparatorNode *_rootNode) - - - virtual - ~MeshObject - classMeshObject.html - 4f512ad4dc699b6d829527545167b6d3 - () - - - virtual void - cleanup - classMeshObject.html - c07a0d3cb0ed3cbebbc8f32a4811046e - () - - - void - setName - classMeshObject.html - 1bffa16684d9d8612dc2cfe12cad144f - (QString _name) - - - bool - loadMesh - classMeshObject.html - 353794a7196065e4c31948275934499e - (QString _filename) - - - QString - getObjectinfo - classMeshObject.html - 1b37e004a88ffb148a7b845778ef3046 - () - - - bool - picked - classMeshObject.html - 8968ca376aef5ca76bb59bced701bb19 - (uint _node_idx) - - - virtual void - init - classMeshObject.html - 78ed91b444cb303155201f9418fc0ec4 - () - - - - MouseInterface - classMouseInterface.html - - virtual - ~MouseInterface - classMouseInterface.html - 9adc16b9a1de1cd62d1a8be615576134 - () - - - virtual void - slotMouseWheelEvent - classMouseInterface.html - a421d325c2298c063609ab657fe3a528 - (QWheelEvent *_event, const std::string &_mode) - - - virtual void - slotMouseEvent - classMouseInterface.html - d998de7699f7f6ea0e60de3ba5a5503d - (QMouseEvent *_event) - - - virtual void - slotMouseEventIdentify - classMouseInterface.html - aa410150a78e9d6f16501d45ff4f7bdf + + virtual void + slotMouseEvent + classMouseInterface.html + bbc3a474f53f35eea73a96f284e674b8 + (QMouseEvent *) + + + virtual void + slotMouseEventIdentify + classMouseInterface.html + aa410150a78e9d6f16501d45ff4f7bdf () @@ -4586,6 +5472,13 @@ 1fe64ca08678ed09196659e72a3090dd (int _identifier) + + void + get_object_ids + classObjectIDPointerManagerT.html + 78c920860d83bad4f13606d032cf52ce + (std::vector< int > &_ids) + ObjectIDPointerManagerT @@ -4608,6 +5501,31 @@ + + OptionsInterface + classOptionsInterface.html + + virtual + ~OptionsInterface + classOptionsInterface.html + 713235fe3f494de75f7df609a24665b4 + () + + + virtual bool + initializeOptionsWidget + classOptionsInterface.html + 7d3d052659d4e7bb11e927f6104d7561 + (QWidget *&)=0 + + + virtual void + applyOptions + classOptionsInterface.html + c9847526732a7a6582edc037236c4c48 + ()=0 + + PickingInterface classPickingInterface.html @@ -4615,36 +5533,36 @@ virtual void addPickMode classPickingInterface.html - a20f3591f19b492040c5a637c0840853 - (const std::string _mode) + 97de8ae0363a689d3b7777b01979eefc + (const std::string) virtual void addHiddenPickMode classPickingInterface.html - 4f8958a5dce7769e461f290021fc2492 - (const std::string _mode) + 3c7c84d0bda4cb93db62c95437910beb + (const std::string) virtual void - addPickMode + setPickModeCursor classPickingInterface.html - 90c9a345d878a5f5b6c690624c2738c1 - (const std::string _mode, QCursor _cursor) + 622e08acaf09e8dd075a7b8ba52ddba4 + (const std::string, QCursor) virtual void - addHiddenPickMode + setPickModeMouseTracking classPickingInterface.html - 7827061c000690ab805d0fb28d6ac83a - (const std::string _mode, QCursor _cursor) + 9f3b139cd795495088d510fb6ae1bae6 + (const std::string, bool) virtual void slotPickModeChanged classPickingInterface.html - 5bf0bf6559d2b5411d0f3270415242c1 - (const std::string &_mode) + 5a59040e4fb0ada435249ccd363ddf86 + (const std::string &) virtual @@ -4654,56 +5572,91 @@ () - - PluginInfoT - structPluginInfoT.html + + PluginInfo + classPluginInfo.html + + + PluginInfo + classPluginInfo.html + 309ed8b80880a4a13488e7e00b47c4df + (const PluginInfo &_i) + QObject * plugin - structPluginInfoT.html - 049ed3271ccd78b9e54ae71ce3a26cef + classPluginInfo.html + c1338961e3473f964efff5adfead358b QString name - structPluginInfoT.html - 1979cd1bb26aeedfafe6def9ccfc81a2 + classPluginInfo.html + 7945c4808c29fd7417e172dd670d2160 QString description - structPluginInfoT.html - 42d60b2a6cd727f3bd6a166f40a896c6 + classPluginInfo.html + b023ec60a5face635cda00fff669166b + + + + QString + version + classPluginInfo.html + adebbcf67924dc365fb2002e3d1ec674 QString path - structPluginInfoT.html - ee8b616bd31ad545455671b177a90999 + classPluginInfo.html + c4dc50112776f9ff3930a452cc15053b QString rpcName - structPluginInfoT.html - c8848b81b6a5e25bdab3cfca9d06fcae + classPluginInfo.html + 2c4e8ebb242f91b45b87554ef5554994 QStringList rpcFunctions - structPluginInfoT.html - ef6fc0f76d4f82dba44e53b1d460d339 + classPluginInfo.html + 56a485de7a432ad34c77f2bb36b49c9b + + + + QList< SlotInfo > + slotInfos + classPluginInfo.html + c12cb9ea3f45624cbf5ee0535a85dffd + + + + QList< KeyBinding > + keys + classPluginInfo.html + e7dc23d56319dba1cb2ee94d0950f556 QDockWidget * widget - structPluginInfoT.html - f326c76edcff0cfa65a938384ff5891d + classPluginInfo.html + df7f7ca8dfbfc093c7ed3e0de6377f70 + + + + QWidget * + optionsWidget + classPluginInfo.html + f5529de5bd6b2d54549be70562c479c0 @@ -4766,104 +5719,3128 @@ eba9b69cf6ef4cbdaf3ef3c536cf9b9c - - - PolyLineObject - classPolyLineObject.html - BaseObjectData - - PolyLine * - line_ - classPolyLineObject.html - 95914f4d59050f00ad0a9a5532026de7 - + + + QtBaseViewer + classQtBaseViewer.html + + QPoint + lastPoint2D_ + classQtBaseViewer.html + 4729630fd14f55255e660af74b6e816d + + + + double + wZoomFactor_ + classQtBaseViewer.html + 7ec1ac06216aef4862314824c4067bbe + + + + double + wZoomFactorShift_ + classQtBaseViewer.html + 190d62587d446567722550d8a1864716 + + + + ACG::Vec3d + lastPoint3D_ + classQtBaseViewer.html + f1c761e264d4630984da274c12b7acf0 + + + + bool + lastPoint_hitSphere_ + classQtBaseViewer.html + 9f16c09e5cc54e5ddaa3a9c0f4cc2eef + + + + bool + allowRotation_ + classQtBaseViewer.html + 5d5db6f604a4053e0a7e3f8b8fec6d5b + + + + ACG::Vec3d + lastRotationAxis_ + classQtBaseViewer.html + 519488826c2189312ae03c41016f3b9b + + + + double + lastRotationAngle_ + classQtBaseViewer.html + f4c916df31b98e441b3dc06fb830d1d5 + + + + QTime + lastMoveTime_ + classQtBaseViewer.html + 8600f880328a10bdd521af80586cd73f + + + + QTimer * + timer_ + classQtBaseViewer.html + d1d724631139b608b9488160a973596a + + + + void + allowRotation + classQtBaseViewer.html + 8f3cd8428eb17561c62ae4f0515f1845 + (bool _mode) + + + double + wheelZoomFactor + classQtBaseViewer.html + da53979202cfdf1f71d9c861f2a0fe18 + () + + + double + wheelZoomFactorShift + classQtBaseViewer.html + 7744b2fc64d67a82cd995a266343affe + () + + + void + setWheelZoomFactor + classQtBaseViewer.html + 6dd815d9aee41b4b863ad2bd48681772 + (double _factor) + + + void + setWheelZoomFactorShift + classQtBaseViewer.html + 80913427d373fb63091dfd3b74c45bd9 + (double _factor) + + + void + slotAnimation + classQtBaseViewer.html + c19b63bc599bb1a00592c6cf05235410 + () + + + bool + mapToSphere + classQtBaseViewer.html + aef5b685437983c0b71543e6cb8766c2 + (const QPoint &_p, ACG::Vec3d &_result) const + + + bool + stereo_ + classQtBaseViewer.html + adb31cccf67ea8bb9a926933d52301e0 + + + + double + eyeDist_ + classQtBaseViewer.html + d4135d853f61ae3ebe9276d70caa6eae + + + + double + focalDist_ + classQtBaseViewer.html + 6dddf52ab260da48a7df5b652080b642 + + + + void + setEyeDistance + classQtBaseViewer.html + eedba2b97676f2cfd8ab6acf47cf8c4b + (double _distance) + + + double + eyeDistance + classQtBaseViewer.html + 033c12a12a50a159d93c9a2370550a5f + () + + + void + setFocalDistance + classQtBaseViewer.html + 24c135445010a306b69966a43419e544 + (double _distance) + + + double + focalDistance + classQtBaseViewer.html + 31d5121dbbb52e9835508bf9e9107550 + () + + + virtual void + setStereoMode + classQtBaseViewer.html + ca4d007dde32586094ddc4354da94adf + (bool _b) + + + QString + snapshotName_ + classQtBaseViewer.html + 38eea17f989036abc53dc97e6bcfc8c8 + + + + int + snapshotCounter_ + classQtBaseViewer.html + 6e9952531e6ea73af4fd960a3bf48c15 + + + + QImage * + snapshot_ + classQtBaseViewer.html + 9877e73bc651c488dbf8ee27d3e2eb69 + + + + virtual void + snapshotBaseFileName + classQtBaseViewer.html + c829f5e02ab5a8c8709d565b267d67bc + (const QString &_fname) + + + virtual void + snapshot + classQtBaseViewer.html + f33646d99183fb47768741ea63e443ed + () + + + std::vector< PickMode > + pick_modes_ + classQtBaseViewer.html + feba59a42a21c53d27ed8f918bfcd821 + + + + std::string + pick_mode_name_ + classQtBaseViewer.html + 3e68e7e52046d83bcb9e5aa40c28c013 + + + + int + pick_mode_idx_ + classQtBaseViewer.html + 0b99c49ba8f95c5d8ae604e0c2beecd6 + + + + bool + renderPicking_ + classQtBaseViewer.html + c6eeca231b48f80b81e7f6b04cb0f6c3 + + + + ACG::SceneGraph::PickTarget + pickRendererMode_ + classQtBaseViewer.html + efa495b2d83ba33371ed64df3a2c314b + + + + bool + pick + classQtBaseViewer.html + ed78c0e697c52a197ee7cdbc7fb42f82 + (ACG::SceneGraph::PickTarget _pickTarget, const QPoint &_mousePos, unsigned int &_nodeIdx, unsigned int &_targetIdx, ACG::Vec3d *_hitPointPtr=0) + + + bool + fast_pick + classQtBaseViewer.html + e90bb8bd03d73065c78e705c44be55a5 + (const QPoint &_mousePos, ACG::Vec3d &_hitPoint) + + + void + addPickMode + classQtBaseViewer.html + 4c53f370e24f60c68797f88068ff0ec4 + (const std::string &_name, bool _mouse_tracking=false, int _pos=-1, bool _visible=true, QCursor _cursor=Qt::ArrowCursor) + + + void + clearPickModes + classQtBaseViewer.html + 71b3497cce5ff438449bf68714f68216 + () + + + const std::string & + pickMode + classQtBaseViewer.html + a2a93c54ff08bfa7b470d4824786c25e + () const + + + void + pickMode + classQtBaseViewer.html + 0086422d11fe45bd5a0282889beae912 + (const std::string &_name) + + + void + pickMode + classQtBaseViewer.html + b79bbf31602c7f4bc8c2f2c795e4620e + (int _id) + + + void + renderPicking + classQtBaseViewer.html + c8d9edb44c265bbafca81edb0ab61f60 + (bool _renderPicking, ACG::SceneGraph::PickTarget _mode) + + + virtual void + pickingMode + classQtBaseViewer.html + 6fe6d1e49808951a9cd995104c1a12ac + () + + + void + setPickModeCursor + classQtBaseViewer.html + 59cfff97cb74f80b5b809725e2c91036 + (const std::string &_name, QCursor _cursor) + + + void + setPickModeMouseTracking + classQtBaseViewer.html + d8228897e8798c6d71d172e47f646179 + (const std::string &_name, bool _mouseTracking) + + + void + signalPickModeChanged + classQtBaseViewer.html + e8e3772dbe5919a2703972a24ac8fe89 + (const std::string &) + + + void + glDragEnterEvent + classQtBaseViewer.html + 02c9a65780568c5b07dc0232458df999 + (QDragEnterEvent *_event) + + + void + glDropEvent + classQtBaseViewer.html + 7f96657e6c79eca2c23ced3bf792fbfc + (QDropEvent *_event) + + + void + startDragEvent + classQtBaseViewer.html + a90b3a961a8ad11ec3e18b73d76dbe37 + (QMouseEvent *_event) + + + void + dragEnterEvent + classQtBaseViewer.html + 7122ca553f07b0fe77cef7ede416235c + (QDragEnterEvent *_event) + + + void + dropEvent + classQtBaseViewer.html + 83720d0f698b51b6dbff969d3cd0f358 + (QDropEvent *_event) + + + void + setEyeDistance + classQtBaseViewer.html + eedba2b97676f2cfd8ab6acf47cf8c4b + (double _distance) + + + double + eyeDistance + classQtBaseViewer.html + 033c12a12a50a159d93c9a2370550a5f + () + + + void + setFocalDistance + classQtBaseViewer.html + 24c135445010a306b69966a43419e544 + (double _distance) + + + double + focalDistance + classQtBaseViewer.html + 31d5121dbbb52e9835508bf9e9107550 + () + + + virtual void + setStereoMode + classQtBaseViewer.html + a45af932a4a20ec4f08aa4d75459b1a7 + (bool _b) + + + void + glDragEnterEvent + classQtBaseViewer.html + 02c9a65780568c5b07dc0232458df999 + (QDragEnterEvent *_event) + + + void + glDropEvent + classQtBaseViewer.html + 7f96657e6c79eca2c23ced3bf792fbfc + (QDropEvent *_event) + + + void + startDragEvent + classQtBaseViewer.html + a90b3a961a8ad11ec3e18b73d76dbe37 + (QMouseEvent *_event) + + + void + dragEnterEvent + classQtBaseViewer.html + 7122ca553f07b0fe77cef7ede416235c + (QDragEnterEvent *_event) + + + void + dropEvent + classQtBaseViewer.html + 83720d0f698b51b6dbff969d3cd0f358 + (QDropEvent *_event) + + + bool + pick + classQtBaseViewer.html + ed78c0e697c52a197ee7cdbc7fb42f82 + (ACG::SceneGraph::PickTarget _pickTarget, const QPoint &_mousePos, unsigned int &_nodeIdx, unsigned int &_targetIdx, ACG::Vec3d *_hitPointPtr=0) + + + bool + fast_pick + classQtBaseViewer.html + e90bb8bd03d73065c78e705c44be55a5 + (const QPoint &_mousePos, ACG::Vec3d &_hitPoint) + + + void + addPickMode + classQtBaseViewer.html + 4c53f370e24f60c68797f88068ff0ec4 + (const std::string &_name, bool _mouse_tracking=false, int _pos=-1, bool _visible=true, QCursor _cursor=Qt::ArrowCursor) + + + void + clearPickModes + classQtBaseViewer.html + 71b3497cce5ff438449bf68714f68216 + () + + + const std::string & + pickMode + classQtBaseViewer.html + 0aae7010226f171d0b12d9f2d51ebeb2 + () const + + + void + pickMode + classQtBaseViewer.html + 0086422d11fe45bd5a0282889beae912 + (const std::string &_name) + + + void + pickMode + classQtBaseViewer.html + b79bbf31602c7f4bc8c2f2c795e4620e + (int _id) + + + void + renderPicking + classQtBaseViewer.html + c8d9edb44c265bbafca81edb0ab61f60 + (bool _renderPicking, ACG::SceneGraph::PickTarget _mode) + + + virtual void + pickingMode + classQtBaseViewer.html + 4470b4e29692ed48259b3fe21b55ca3b + () + + + void + setPickModeCursor + classQtBaseViewer.html + 59cfff97cb74f80b5b809725e2c91036 + (const std::string &_name, QCursor _cursor) + + + void + setPickModeMouseTracking + classQtBaseViewer.html + d8228897e8798c6d71d172e47f646179 + (const std::string &_name, bool _mouseTracking) + + + void + signalPickModeChanged + classQtBaseViewer.html + e8e3772dbe5919a2703972a24ac8fe89 + (const std::string &) + + + void + allowRotation + classQtBaseViewer.html + 8f3cd8428eb17561c62ae4f0515f1845 + (bool _mode) + + + double + wheelZoomFactor + classQtBaseViewer.html + da53979202cfdf1f71d9c861f2a0fe18 + () + + + double + wheelZoomFactorShift + classQtBaseViewer.html + 7744b2fc64d67a82cd995a266343affe + () + + + void + setWheelZoomFactor + classQtBaseViewer.html + 6dd815d9aee41b4b863ad2bd48681772 + (double _factor) + + + void + setWheelZoomFactorShift + classQtBaseViewer.html + 80913427d373fb63091dfd3b74c45bd9 + (double _factor) + + + void + slotAnimation + classQtBaseViewer.html + c19b63bc599bb1a00592c6cf05235410 + () + + + bool + mapToSphere + classQtBaseViewer.html + aef5b685437983c0b71543e6cb8766c2 + (const QPoint &_p, ACG::Vec3d &_result) const + + + void + signalKeyPressEvent + classQtBaseViewer.html + 4aef0aa498ab88f93fcdac06a166ea23 + (QKeyEvent *) + + + virtual void + glKeyPressEvent + classQtBaseViewer.html + aa06f0d3f7f60fe7a6e1465f6f34b07c + (QKeyEvent *_event) + + + virtual void + glKeyReleaseEvent + classQtBaseViewer.html + 34121e85dcaa2fe5d889926e9bfc6b68 + (QKeyEvent *_event) + + + virtual bool + viewKeyPressEvent + classQtBaseViewer.html + f395aaa5180ad0dbd751ad290fe00e68 + (QKeyEvent *) + + + void + signalKeyPressEvent + classQtBaseViewer.html + 4aef0aa498ab88f93fcdac06a166ea23 + (QKeyEvent *) + + + virtual void + glKeyPressEvent + classQtBaseViewer.html + aa06f0d3f7f60fe7a6e1465f6f34b07c + (QKeyEvent *_event) + + + virtual void + glKeyReleaseEvent + classQtBaseViewer.html + 34121e85dcaa2fe5d889926e9bfc6b68 + (QKeyEvent *_event) + + + virtual bool + viewKeyPressEvent + classQtBaseViewer.html + f395aaa5180ad0dbd751ad290fe00e68 + (QKeyEvent *) + + + ProjectionMode + classQtBaseViewer.html + b438d14ceea328781a08f5dc3aad3d90 + + + + ORTHOGRAPHIC_PROJECTION + classQtBaseViewer.html + b438d14ceea328781a08f5dc3aad3d902270831e9532b25aa88a2692b66268fc + + + + PERSPECTIVE_PROJECTION + classQtBaseViewer.html + b438d14ceea328781a08f5dc3aad3d90109351cfd9a6750abeec5e8e38220118 + + + + ORTHOGRAPHIC_PROJECTION + classQtBaseViewer.html + b438d14ceea328781a08f5dc3aad3d902270831e9532b25aa88a2692b66268fc + + + + PERSPECTIVE_PROJECTION + classQtBaseViewer.html + b438d14ceea328781a08f5dc3aad3d90109351cfd9a6750abeec5e8e38220118 + + + + ActionMode + classQtBaseViewer.html + ef816569cc640d50f2bc2f7a5d24a175 + + + + PickingMode + classQtBaseViewer.html + ef816569cc640d50f2bc2f7a5d24a1754e87bbb96ed8fe3cc9a8a11ea809dc60 + + + + PickingMode + classQtBaseViewer.html + ef816569cc640d50f2bc2f7a5d24a1754e87bbb96ed8fe3cc9a8a11ea809dc60 + + + + FaceOrientation + classQtBaseViewer.html + 3f7b17f9c22ab2ae6c8bf301242b9976 + + + + CCW_ORIENTATION + classQtBaseViewer.html + 3f7b17f9c22ab2ae6c8bf301242b9976c41e8c3183550feea7514b90c3826417 + + + + CW_ORIENTATION + classQtBaseViewer.html + 3f7b17f9c22ab2ae6c8bf301242b99762510de959954e0fd351905e457fb1b62 + + + + CCW_ORIENTATION + classQtBaseViewer.html + 3f7b17f9c22ab2ae6c8bf301242b9976c41e8c3183550feea7514b90c3826417 + + + + CW_ORIENTATION + classQtBaseViewer.html + 3f7b17f9c22ab2ae6c8bf301242b99762510de959954e0fd351905e457fb1b62 + + + + NormalsMode + classQtBaseViewer.html + fb1c58962df518c1aaa593217ec21dc5 + + + + DONT_TOUCH_NORMALS + classQtBaseViewer.html + fb1c58962df518c1aaa593217ec21dc5976f447ffa89a0497a2a8a35ef4f7e5a + + + + NORMALIZE_NORMALS + classQtBaseViewer.html + fb1c58962df518c1aaa593217ec21dc565a4badee0b1d4220167801cab2b4c77 + + + + DONT_TOUCH_NORMALS + classQtBaseViewer.html + fb1c58962df518c1aaa593217ec21dc5976f447ffa89a0497a2a8a35ef4f7e5a + + + + NORMALIZE_NORMALS + classQtBaseViewer.html + fb1c58962df518c1aaa593217ec21dc565a4badee0b1d4220167801cab2b4c77 + + + + ProjectionMode + classQtBaseViewer.html + b438d14ceea328781a08f5dc3aad3d90 + + + + ORTHOGRAPHIC_PROJECTION + classQtBaseViewer.html + b438d14ceea328781a08f5dc3aad3d902270831e9532b25aa88a2692b66268fc + + + + PERSPECTIVE_PROJECTION + classQtBaseViewer.html + b438d14ceea328781a08f5dc3aad3d90109351cfd9a6750abeec5e8e38220118 + + + + ORTHOGRAPHIC_PROJECTION + classQtBaseViewer.html + b438d14ceea328781a08f5dc3aad3d902270831e9532b25aa88a2692b66268fc + + + + PERSPECTIVE_PROJECTION + classQtBaseViewer.html + b438d14ceea328781a08f5dc3aad3d90109351cfd9a6750abeec5e8e38220118 + + + + ActionMode + classQtBaseViewer.html + ef816569cc640d50f2bc2f7a5d24a175 + + + + PickingMode + classQtBaseViewer.html + ef816569cc640d50f2bc2f7a5d24a1754e87bbb96ed8fe3cc9a8a11ea809dc60 + + + + PickingMode + classQtBaseViewer.html + ef816569cc640d50f2bc2f7a5d24a1754e87bbb96ed8fe3cc9a8a11ea809dc60 + + + + FaceOrientation + classQtBaseViewer.html + 3f7b17f9c22ab2ae6c8bf301242b9976 + + + + CCW_ORIENTATION + classQtBaseViewer.html + 3f7b17f9c22ab2ae6c8bf301242b9976c41e8c3183550feea7514b90c3826417 + + + + CW_ORIENTATION + classQtBaseViewer.html + 3f7b17f9c22ab2ae6c8bf301242b99762510de959954e0fd351905e457fb1b62 + + + + CCW_ORIENTATION + classQtBaseViewer.html + 3f7b17f9c22ab2ae6c8bf301242b9976c41e8c3183550feea7514b90c3826417 + + + + CW_ORIENTATION + classQtBaseViewer.html + 3f7b17f9c22ab2ae6c8bf301242b99762510de959954e0fd351905e457fb1b62 + + + + NormalsMode + classQtBaseViewer.html + fb1c58962df518c1aaa593217ec21dc5 + + + + DONT_TOUCH_NORMALS + classQtBaseViewer.html + fb1c58962df518c1aaa593217ec21dc5976f447ffa89a0497a2a8a35ef4f7e5a + + + + NORMALIZE_NORMALS + classQtBaseViewer.html + fb1c58962df518c1aaa593217ec21dc565a4badee0b1d4220167801cab2b4c77 + + + + DONT_TOUCH_NORMALS + classQtBaseViewer.html + fb1c58962df518c1aaa593217ec21dc5976f447ffa89a0497a2a8a35ef4f7e5a + + + + NORMALIZE_NORMALS + classQtBaseViewer.html + fb1c58962df518c1aaa593217ec21dc565a4badee0b1d4220167801cab2b4c77 + + + + void + animation + classQtBaseViewer.html + 8ae8b3eda1e692b2a5176cb655bab471 + (bool _b) + + + void + backFaceCulling + classQtBaseViewer.html + 06a894364978ddaa333fd47a02c13246 + (bool _b) + + + void + twoSidedLighting + classQtBaseViewer.html + 168feeef599d7d45105b1eac38c1707a + (bool _b) + + + virtual void + drawNow + classQtBaseViewer.html + 1a44925f17286bd359c7d5526cc2ee4b + () + + + virtual void + updateGL + classQtBaseViewer.html + 33defd4aba4ccc0eb69320022c118821 + () + + + virtual void + setHome + classQtBaseViewer.html + 5787877acca9b73ec4f0af5d12b70332 + () + + + virtual void + home + classQtBaseViewer.html + 2814bdaca959a7243f997edecdafff06 + () + + + virtual void + viewAll + classQtBaseViewer.html + ddc52a9ddc2e218e5a0d4fefeb0d2c28 + () + + + virtual void + flyTo + classQtBaseViewer.html + 3fa533e633461dd9274f1cfc7abc0898 + (const QPoint &_pos, bool _move_back) + + + virtual void + flyTo + classQtBaseViewer.html + 741d4d4d1fa852d61c765ab48d3ec581 + (const QPoint &_pos) + + + virtual void + flyFrom + classQtBaseViewer.html + 87ad4a7aa9cedad04e2baad92f41bb35 + (const QPoint &_pos) + + + virtual void + flyTo + classQtBaseViewer.html + 086cb42916c33fa96a750136a606339e + (const ACG::Vec3d &_position, const ACG::Vec3d &_center, double _time=1000.0) + + + virtual void + examineMode + classQtBaseViewer.html + ba8cfb409ce8bbc7545deec271b601f2 + () + + + virtual void + lightMode + classQtBaseViewer.html + f2e4e7c06ed6a7461e692661e073d6d7 + () + + + virtual void + questionMode + classQtBaseViewer.html + d66b9a6bbecd8130c9b39dc6b09410ff + () + + + virtual void + perspectiveProjection + classQtBaseViewer.html + b8400deb93b985b0e1e3963ddefc6d31 + () + + + virtual void + orthographicProjection + classQtBaseViewer.html + ca20627619006f4a228e6b602fd74cfd + () + + + virtual void + toggleProjectionMode + classQtBaseViewer.html + 54996970706102ca02ecbe746206ed5f + () + + + virtual void + setView + classQtBaseViewer.html + dd0394d2bd7d12c8964581eb20232320 + (const ACG::GLMatrixd &_modelview, const ACG::GLMatrixd &_inverse_modelview) + + + void + actionDrawMenu + classQtBaseViewer.html + 4b6237d832a15703406e43aa78c36e9a + (QAction *_action) + + + void + actionPickMenu + classQtBaseViewer.html + 811d55d1cea2304984f2544fe129f41c + (QAction *_action) + + + void + actionSnapshotName + classQtBaseViewer.html + 49ff17f19b6e4293c95696e2921b9c13 + () + + + void + actionSnapshot + classQtBaseViewer.html + 451dec21abcfa420199c79ebfbd4846b + () + + + void + actionPasteView + classQtBaseViewer.html + a114e837612ae4648a182660499e5859 + () + + + void + actionCopyView + classQtBaseViewer.html + 6aab74ab04e735ccbc8a6953c17dc40a + () + + + void + animation + classQtBaseViewer.html + 8ae8b3eda1e692b2a5176cb655bab471 + (bool _b) + + + void + backFaceCulling + classQtBaseViewer.html + 06a894364978ddaa333fd47a02c13246 + (bool _b) + + + void + twoSidedLighting + classQtBaseViewer.html + 168feeef599d7d45105b1eac38c1707a + (bool _b) + + + virtual void + drawNow + classQtBaseViewer.html + 08cfe0284102753bf2e6dbe0f266fae2 + () + + + virtual void + updateGL + classQtBaseViewer.html + 8e52cb8b7ff52a9673e94e59ae2257bc + () + + + virtual void + setHome + classQtBaseViewer.html + 334772e7b12144f1e6355846822a2539 + () + + + virtual void + home + classQtBaseViewer.html + 6665c3185c150cf87f4057fb795cd6bf + () + + + virtual void + viewAll + classQtBaseViewer.html + c8d1fb0fcfdaff6966cc9d18ab0d9df9 + () + + + virtual void + flyTo + classQtBaseViewer.html + bfa8a2d83e4ced8ba512eb07dc06a4ed + (const QPoint &_pos, bool _move_back) + + + virtual void + flyTo + classQtBaseViewer.html + 741d4d4d1fa852d61c765ab48d3ec581 + (const QPoint &_pos) + + + virtual void + flyFrom + classQtBaseViewer.html + 87ad4a7aa9cedad04e2baad92f41bb35 + (const QPoint &_pos) + + + virtual void + flyTo + classQtBaseViewer.html + 9d759cd450f93430ca78f61ba0cde207 + (const ACG::Vec3d &_position, const ACG::Vec3d &_center, double _time=1000.0) + + + virtual void + examineMode + classQtBaseViewer.html + ba8cfb409ce8bbc7545deec271b601f2 + () + + + virtual void + lightMode + classQtBaseViewer.html + f2e4e7c06ed6a7461e692661e073d6d7 + () + + + virtual void + questionMode + classQtBaseViewer.html + d66b9a6bbecd8130c9b39dc6b09410ff + () + + + virtual void + perspectiveProjection + classQtBaseViewer.html + e6faa8f5d0039dcb2085633b3d498acb + () + + + virtual void + orthographicProjection + classQtBaseViewer.html + 4754e1ae4978b95d67475a53da23cfaa + () + + + virtual void + toggleProjectionMode + classQtBaseViewer.html + 228a836b535bb2dc0e7fcf5d05cf5acd + () + + + virtual void + setView + classQtBaseViewer.html + 59210a4bea3f638615a8780c954f087e + (const ACG::GLMatrixd &_modelview, const ACG::GLMatrixd &_inverse_modelview) + + + void + actionDrawMenu + classQtBaseViewer.html + 4b6237d832a15703406e43aa78c36e9a + (QAction *_action) + + + void + actionPickMenu + classQtBaseViewer.html + 811d55d1cea2304984f2544fe129f41c + (QAction *_action) + + + void + actionSnapshotName + classQtBaseViewer.html + 49ff17f19b6e4293c95696e2921b9c13 + () + + + void + actionSnapshot + classQtBaseViewer.html + 451dec21abcfa420199c79ebfbd4846b + () + + + void + actionPasteView + classQtBaseViewer.html + a114e837612ae4648a182660499e5859 + () + + + void + actionCopyView + classQtBaseViewer.html + 6aab74ab04e735ccbc8a6953c17dc40a + () + + + virtual void + snapshotBaseFileName + classQtBaseViewer.html + f330524ab0217f0c699af604a4a9fb6b + (const QString &_fname) + + + virtual void + snapshot + classQtBaseViewer.html + d008841c4b51c5d0b5069dbfad7806af + () + + + void + functionMenuUpdate + classQtBaseViewer.html + 5388c91232ee199d4e53427187976d59 + () + + + void + actionModeChanged + classQtBaseViewer.html + e3cd3d76ad427b518771c460027f7fb6 + (QtBaseViewer::ActionMode _mode) + + + void + projectionModeChanged + classQtBaseViewer.html + 335afba64bbadd87fc9ab192c0a5bfca + (bool _ortho) + + + void + signalInitializeGL + classQtBaseViewer.html + 930c42eec3a65af09526eecb41886991 + () + + + void + signalMouseEvent + classQtBaseViewer.html + 7178b121aba1ec913697a3e65f069491 + (QMouseEvent *, const std::string &) + + + void + signalMouseEvent + classQtBaseViewer.html + a63b438704d7d87369b0bc0ce0dc5f96 + (QMouseEvent *) + + + void + signalWheelEvent + classQtBaseViewer.html + bfdbfdb86156276858574bb927c06afb + (QWheelEvent *, const std::string &) + + + void + signalMouseEventIdentify + classQtBaseViewer.html + b666c50873f6fa3123f400db164d04fe + (QMouseEvent *) + + + void + signalSetView + classQtBaseViewer.html + 1a04acbd4c7e48ce47e46e5c11a84bf7 + (const ACG::GLMatrixd &_modelview, const ACG::GLMatrixd &_inverse_modelview) + + + void + signalSceneGraphChanged + classQtBaseViewer.html + 9090641450a5213f1e1f7c17b53d6ff8 + (ACG::SceneGraph::BaseNode *_root) + + + void + signalNodeChanged + classQtBaseViewer.html + 9d10bc8631d5aab8be4244e15f67426c + (ACG::SceneGraph::BaseNode *_node) + + + void + signalActionModeChanged + classQtBaseViewer.html + e86df057b7b2561eb4b05ef95d7ef0ad + (QtBaseViewer::ActionMode _m) + + + void + signalDrawScene + classQtBaseViewer.html + 0b556ff68d2933b40107cd91e7c54b85 + (ACG::GLState *_state) + + + void + signalCustomContextMenuRequested + classQtBaseViewer.html + da91f416fd821898fd09f19da2a911bd + (const QPoint &) + + + void + functionMenuUpdate + classQtBaseViewer.html + 5388c91232ee199d4e53427187976d59 + () + + + void + actionModeChanged + classQtBaseViewer.html + e3cd3d76ad427b518771c460027f7fb6 + (QtBaseViewer::ActionMode _mode) + + + void + projectionModeChanged + classQtBaseViewer.html + 335afba64bbadd87fc9ab192c0a5bfca + (bool _ortho) + + + void + signalInitializeGL + classQtBaseViewer.html + 930c42eec3a65af09526eecb41886991 + () + + + void + signalMouseEvent + classQtBaseViewer.html + 7178b121aba1ec913697a3e65f069491 + (QMouseEvent *, const std::string &) + + + void + signalMouseEvent + classQtBaseViewer.html + a63b438704d7d87369b0bc0ce0dc5f96 + (QMouseEvent *) + + + void + signalWheelEvent + classQtBaseViewer.html + bfdbfdb86156276858574bb927c06afb + (QWheelEvent *, const std::string &) + + + void + signalMouseEventIdentify + classQtBaseViewer.html + b666c50873f6fa3123f400db164d04fe + (QMouseEvent *) + + + void + signalSetView + classQtBaseViewer.html + 1a04acbd4c7e48ce47e46e5c11a84bf7 + (const ACG::GLMatrixd &_modelview, const ACG::GLMatrixd &_inverse_modelview) + + + void + signalSceneGraphChanged + classQtBaseViewer.html + 9090641450a5213f1e1f7c17b53d6ff8 + (ACG::SceneGraph::BaseNode *_root) + + + void + signalNodeChanged + classQtBaseViewer.html + 9d10bc8631d5aab8be4244e15f67426c + (ACG::SceneGraph::BaseNode *_node) + + + void + signalActionModeChanged + classQtBaseViewer.html + e86df057b7b2561eb4b05ef95d7ef0ad + (QtBaseViewer::ActionMode _m) + + + void + signalDrawScene + classQtBaseViewer.html + 0b556ff68d2933b40107cd91e7c54b85 + (ACG::GLState *_state) + + + void + signalCustomContextMenuRequested + classQtBaseViewer.html + da91f416fd821898fd09f19da2a911bd + (const QPoint &) + + + + QtBaseViewer + classQtBaseViewer.html + decdd1b1fa706322909c7ee5c59d3fb6 + (QWidget *_parent=0, const char *_name=0, QStatusBar *_statusBar=0, const QGLFormat *_format=0, const QtBaseViewer *_share=0) + + + virtual + ~QtBaseViewer + classQtBaseViewer.html + 70dd9058ff5663cd6f2729a7f4e30dd2 + () + + + virtual QSize + sizeHint + classQtBaseViewer.html + 0afe56b51fa600a93dc24611efba0952 + () const + + + void + setStatusBar + classQtBaseViewer.html + e2f45f499a2f5efb9eca32c1499871c9 + (QStatusBar *_sb) + + + virtual void + makeCurrent + classQtBaseViewer.html + cc21795d719ce297df9433af6373ef1b + () + + + virtual void + swapBuffers + classQtBaseViewer.html + 1f87c2d2e34375811c2e203601f3156c + () + + + ACG::GLState & + glState + classQtBaseViewer.html + d3c04d0d9b086be8b8f67dcf013f551c + () + + + void + backgroundColor + classQtBaseViewer.html + 85e327823b283dbd355129c3712509d0 + (const ACG::Vec4f &_color) + + + ACG::Vec4f + backgroundColor + classQtBaseViewer.html + a3ade801aaf9d0030aa7d1807c7ce868 + () + + + virtual void + lockUpdate + classQtBaseViewer.html + 0498b5581b45a4242d767d400bd6b187 + () + + + virtual void + unlockUpdate + classQtBaseViewer.html + aba7af0c131972e0cffd37ab60e050b7 + () + + + virtual void + unlockAndUpdate + classQtBaseViewer.html + 5df2e3fcd043b6f49bd1fc9f6a04f2f2 + () + + + bool + isUpdateLocked + classQtBaseViewer.html + 75732ac212fb42164b837755a8a477c7 + () const + + + void + lockProjectionUpdate + classQtBaseViewer.html + c4abb420fd0f6b93fede9b79200ceca0 + (void) + + + void + unlockProjectionUpdate + classQtBaseViewer.html + 62f1e9f2b22c7188e37c4528ecda23b0 + (void) + + + bool + animation + classQtBaseViewer.html + 5e2c8746c7478f72b7871b055445bd10 + () const + + + void + trackMouse + classQtBaseViewer.html + 0893cb0e99276b1dc6aa312d565f8de7 + (bool _track) + + + ACG::SceneGraph::BaseNode * + sceneGraph + classQtBaseViewer.html + d63e0930a24817a583c6b95dc468bca1 + () + + + const ACG::SceneGraph::BaseNode * + sceneGraph + classQtBaseViewer.html + af909c2bf37444fcfc5a281bc3c05ad3 + () const + + + void + sceneGraph + classQtBaseViewer.html + ea9f71bbe505f42025150d8b6248b870 + (ACG::SceneGraph::BaseNode *_root) + + + void + projectionMode + classQtBaseViewer.html + f2df247cb2466aa49dc8a8df90964b0a + (ProjectionMode _p) + + + ProjectionMode + projectionMode + classQtBaseViewer.html + 1b2fae8adb1544dcce67e0ee4d8799fe + () const + + + void + setScenePos + classQtBaseViewer.html + 651a82aea1bdfe55e991de3e756f4ea0 + (const ACG::Vec3d &_center, double _radius) + + + const ACG::Vec3d & + scene_center + classQtBaseViewer.html + 33428e9de9d8789310a93774d3978a8f + () const + + + double + scene_radius + classQtBaseViewer.html + 2583eadf503ce5e2ca96a08f1cf8e551 + () const + + + void + viewingDirection + classQtBaseViewer.html + cc16329acb118390a6d6a8870e24f601 + (const ACG::Vec3d &_dir, const ACG::Vec3d &_up) + + + void + actionMode + classQtBaseViewer.html + dc828d926e75c956c85166ec6ff86f02 + (ActionMode) + + + ActionMode + lastActionMode + classQtBaseViewer.html + d50260d38838796bcd00d3e16ea7a293 + () + + + ActionMode + actionMode + classQtBaseViewer.html + 1b57d04e64a03181d5df2e6746150338 + () const + + + void + faceOrientation + classQtBaseViewer.html + ae4e17e8d01de3a7777cd7d34df1a3d7 + (FaceOrientation) + + + FaceOrientation + faceOrientation + classQtBaseViewer.html + 43f9513d84035bc6eb60b84edf0b1ab7 + () const + + + bool + backFaceCulling + classQtBaseViewer.html + 9a07c928c60fa0de74df71b65157458a + () const + + + bool + twoSidedLighting + classQtBaseViewer.html + c6ba3c7a9e366d1a6f64eef36532d852 + () const + + + void + normalsMode + classQtBaseViewer.html + 9fd9639873d3da2680345f3f48844e6c + (NormalsMode _mode) + + + NormalsMode + normalsMode + classQtBaseViewer.html + 00ddbb818f664f28f3f1d84239a58235 + () const + + + ACG::GLMatrixd & + light_matrix + classQtBaseViewer.html + 2bb0005e5fe11319a6c01da77c1a209c + () + + + void + rotate_lights + classQtBaseViewer.html + a9ae172f7c10500e68edbf9e648ad6c7 + (ACG::Vec3d &_axis, double _angle) + + + void + update_lights + classQtBaseViewer.html + 676b64bbd2f1ce8e36e9f076dbd6a178 + () + + + void + copyToImage + classQtBaseViewer.html + d9b363c92923eaa21d911fbdfdaf00d0 + (QImage &_image, GLenum _buffer=GL_BACK) + + + void + copyToImage + classQtBaseViewer.html + 1845d437520d14661931cd06148ac3b3 + (QImage &_image, unsigned int _left, unsigned int _top, unsigned int _width, unsigned int _height, GLenum _buffer) + + + unsigned int + glWidth + classQtBaseViewer.html + 910ea78828ea946e6707de52c12af59b + () const + + + unsigned int + glHeight + classQtBaseViewer.html + a78e4ebbfedfafb50a812f061a139426 + () const + + + QSize + glSize + classQtBaseViewer.html + 69f078a3c5f15388204c2e4427718c86 + () const + + + QPoint + glMapFromGlobal + classQtBaseViewer.html + 69488e09c17ad39cf74525934d4873e0 + (const QPoint &_pos) const + + + QPoint + glMapToGlobal + classQtBaseViewer.html + efd861f110df39fa8ee28b1dc8b9ff7f + (const QPoint &_pos) const + + + void + drawMode + classQtBaseViewer.html + cd7e7a5d8d093739647e7d7a85ad7660 + (unsigned int _mode) + + + unsigned int + drawMode + classQtBaseViewer.html + a4027f8ed1797845eae7b5b30caf147c + () + + + void + encodeView + classQtBaseViewer.html + b51184071f3f35288c60498881dd9146 + (QString &_view) + + + bool + decodeView + classQtBaseViewer.html + 197c7cd620f853b47c7714b9b6d801ba + (const QString &_view) + + + void + initModelviewMatrix + classQtBaseViewer.html + a8741161ac577755d109377d21eeaef0 + () + + + void + grabGLArea + classQtBaseViewer.html + f96f13ca26f3eb4e5b0e5b6ccc65852a + () + + + void + releaseGLArea + classQtBaseViewer.html + 697bcb7794a1b5eb90061c5704768694 + () + + + void + drawBlendedObjects + classQtBaseViewer.html + 965b1f4d17ef28840d4750f38b4f5a11 + (bool _status) + + + void + translate + classQtBaseViewer.html + 6f563ee4d222c37284525d501fb265c3 + (const ACG::Vec3d &trans) + + + void + rotate + classQtBaseViewer.html + 5850d59e72928fdc5800174b692e33da + (const ACG::Vec3d &axis, double angle) + + + void + rotate + classQtBaseViewer.html + 0d4bd4705f56ebfd12c70f748b2ca8a4 + (const ACG::Vec3d &axis, double angle, const ACG::Vec3d &_center) + + + QMenu * + getPickMenu + classQtBaseViewer.html + d5f4c3cf110be1a2a837fdf493f8e700 + () + + + QMenu * + getDrawMenu + classQtBaseViewer.html + 1a8ea8a08af9d16c4ec5080a28794208 + () + + + + QtBaseViewer + classQtBaseViewer.html + decdd1b1fa706322909c7ee5c59d3fb6 + (QWidget *_parent=0, const char *_name=0, QStatusBar *_statusBar=0, const QGLFormat *_format=0, const QtBaseViewer *_share=0) + + + virtual + ~QtBaseViewer + classQtBaseViewer.html + b5bf746935caef1707f383eefb9b0c96 + () + + + virtual QSize + sizeHint + classQtBaseViewer.html + 47df799d9b3f4679ab2d0fee5f30c6d9 + () const + + + void + setStatusBar + classQtBaseViewer.html + e2f45f499a2f5efb9eca32c1499871c9 + (QStatusBar *_sb) + + + virtual void + makeCurrent + classQtBaseViewer.html + 1e09694059683f6acbeb6d9b529f3066 + () + + + virtual void + swapBuffers + classQtBaseViewer.html + 772e92fb6ff272666338bf518d015e1e + () + + + ACG::GLState & + glState + classQtBaseViewer.html + d3c04d0d9b086be8b8f67dcf013f551c + () + + + void + backgroundColor + classQtBaseViewer.html + 85e327823b283dbd355129c3712509d0 + (const ACG::Vec4f &_color) + + + ACG::Vec4f + backgroundColor + classQtBaseViewer.html + a3ade801aaf9d0030aa7d1807c7ce868 + () + + + virtual void + lockUpdate + classQtBaseViewer.html + 9ab6f1a477fe750c74c86689bba922b6 + () + + + virtual void + unlockUpdate + classQtBaseViewer.html + b9d3997c437e5cc84c438514f5215c3d + () + + + virtual void + unlockAndUpdate + classQtBaseViewer.html + 0d5b2af571abf0fbe71f5e3f4e6180eb + () + + + bool + isUpdateLocked + classQtBaseViewer.html + 75732ac212fb42164b837755a8a477c7 + () const + + + void + lockProjectionUpdate + classQtBaseViewer.html + c4abb420fd0f6b93fede9b79200ceca0 + (void) + + + void + unlockProjectionUpdate + classQtBaseViewer.html + 62f1e9f2b22c7188e37c4528ecda23b0 + (void) + + + bool + animation + classQtBaseViewer.html + 5e2c8746c7478f72b7871b055445bd10 + () const + + + void + trackMouse + classQtBaseViewer.html + 0893cb0e99276b1dc6aa312d565f8de7 + (bool _track) + + + ACG::SceneGraph::BaseNode * + sceneGraph + classQtBaseViewer.html + d63e0930a24817a583c6b95dc468bca1 + () + + + const ACG::SceneGraph::BaseNode * + sceneGraph + classQtBaseViewer.html + af909c2bf37444fcfc5a281bc3c05ad3 + () const + + + void + sceneGraph + classQtBaseViewer.html + ea9f71bbe505f42025150d8b6248b870 + (ACG::SceneGraph::BaseNode *_root) + + + void + projectionMode + classQtBaseViewer.html + f2df247cb2466aa49dc8a8df90964b0a + (ProjectionMode _p) + + + ProjectionMode + projectionMode + classQtBaseViewer.html + 1b2fae8adb1544dcce67e0ee4d8799fe + () const + + + void + setScenePos + classQtBaseViewer.html + 651a82aea1bdfe55e991de3e756f4ea0 + (const ACG::Vec3d &_center, double _radius) + + + const ACG::Vec3d & + scene_center + classQtBaseViewer.html + 33428e9de9d8789310a93774d3978a8f + () const + + + double + scene_radius + classQtBaseViewer.html + 2583eadf503ce5e2ca96a08f1cf8e551 + () const + + + void + viewingDirection + classQtBaseViewer.html + cc16329acb118390a6d6a8870e24f601 + (const ACG::Vec3d &_dir, const ACG::Vec3d &_up) + + + void + actionMode + classQtBaseViewer.html + dc828d926e75c956c85166ec6ff86f02 + (ActionMode) + + + ActionMode + lastActionMode + classQtBaseViewer.html + d50260d38838796bcd00d3e16ea7a293 + () + + + ActionMode + actionMode + classQtBaseViewer.html + 1b57d04e64a03181d5df2e6746150338 + () const + + + void + faceOrientation + classQtBaseViewer.html + ae4e17e8d01de3a7777cd7d34df1a3d7 + (FaceOrientation) + + + FaceOrientation + faceOrientation + classQtBaseViewer.html + 43f9513d84035bc6eb60b84edf0b1ab7 + () const + + + bool + backFaceCulling + classQtBaseViewer.html + 9a07c928c60fa0de74df71b65157458a + () const + + + bool + twoSidedLighting + classQtBaseViewer.html + c6ba3c7a9e366d1a6f64eef36532d852 + () const + + + void + normalsMode + classQtBaseViewer.html + 9fd9639873d3da2680345f3f48844e6c + (NormalsMode _mode) + + + NormalsMode + normalsMode + classQtBaseViewer.html + 00ddbb818f664f28f3f1d84239a58235 + () const + + + ACG::GLMatrixd & + light_matrix + classQtBaseViewer.html + 2bb0005e5fe11319a6c01da77c1a209c + () + + + void + rotate_lights + classQtBaseViewer.html + a9ae172f7c10500e68edbf9e648ad6c7 + (ACG::Vec3d &_axis, double _angle) + + + void + update_lights + classQtBaseViewer.html + 676b64bbd2f1ce8e36e9f076dbd6a178 + () + + + void + copyToImage + classQtBaseViewer.html + d9b363c92923eaa21d911fbdfdaf00d0 + (QImage &_image, GLenum _buffer=GL_BACK) + + + void + copyToImage + classQtBaseViewer.html + 1845d437520d14661931cd06148ac3b3 + (QImage &_image, unsigned int _left, unsigned int _top, unsigned int _width, unsigned int _height, GLenum _buffer) + + + unsigned int + glWidth + classQtBaseViewer.html + 910ea78828ea946e6707de52c12af59b + () const + + + unsigned int + glHeight + classQtBaseViewer.html + a78e4ebbfedfafb50a812f061a139426 + () const + + + QSize + glSize + classQtBaseViewer.html + 69f078a3c5f15388204c2e4427718c86 + () const + + + QPoint + glMapFromGlobal + classQtBaseViewer.html + 69488e09c17ad39cf74525934d4873e0 + (const QPoint &_pos) const + + + QPoint + glMapToGlobal + classQtBaseViewer.html + efd861f110df39fa8ee28b1dc8b9ff7f + (const QPoint &_pos) const + + + void + drawMode + classQtBaseViewer.html + cd7e7a5d8d093739647e7d7a85ad7660 + (unsigned int _mode) + + + unsigned int + drawMode + classQtBaseViewer.html + a4027f8ed1797845eae7b5b30caf147c + () + + + void + encodeView + classQtBaseViewer.html + b51184071f3f35288c60498881dd9146 + (QString &_view) + + + bool + decodeView + classQtBaseViewer.html + 197c7cd620f853b47c7714b9b6d801ba + (const QString &_view) + + + void + initModelviewMatrix + classQtBaseViewer.html + a8741161ac577755d109377d21eeaef0 + () + + + void + grabGLArea + classQtBaseViewer.html + f96f13ca26f3eb4e5b0e5b6ccc65852a + () + + + void + releaseGLArea + classQtBaseViewer.html + 697bcb7794a1b5eb90061c5704768694 + () + + + void + drawBlendedObjects + classQtBaseViewer.html + 965b1f4d17ef28840d4750f38b4f5a11 + (bool _status) + + + void + translate + classQtBaseViewer.html + 6f563ee4d222c37284525d501fb265c3 + (const ACG::Vec3d &trans) + + + void + rotate + classQtBaseViewer.html + 5850d59e72928fdc5800174b692e33da + (const ACG::Vec3d &axis, double angle) + + + void + rotate + classQtBaseViewer.html + 0d4bd4705f56ebfd12c70f748b2ca8a4 + (const ACG::Vec3d &axis, double angle, const ACG::Vec3d &_center) + + + QMenu * + getPickMenu + classQtBaseViewer.html + d5f4c3cf110be1a2a837fdf493f8e700 + () + + + QMenu * + getDrawMenu + classQtBaseViewer.html + 1a8ea8a08af9d16c4ec5080a28794208 + () + + + virtual void + sceneRectChanged + classQtBaseViewer.html + c9cf238ab6eefcdd0443037899a3b0dd + (const QRectF &rect) + + + virtual void + slotWheelX + classQtBaseViewer.html + c6498b7a137cbb6a62a736bfa100a23d + (double _dAngle) + + + virtual void + slotWheelY + classQtBaseViewer.html + 08dd7334d78890a2f1ab167b096b6728 + (double _dAngle) + + + virtual void + slotWheelZ + classQtBaseViewer.html + 1d62352a87a455c8e89ecd12ebeebede + (double _dist) + + + virtual void + slotNodeChanged + classQtBaseViewer.html + 6240779b47a7ea0241100c2a94480720 + (ACG::SceneGraph::BaseNode *_node) + + + virtual void + cleanupEventFilter + classQtBaseViewer.html + 69313663fa907984a446c8495c925f58 + () + + + virtual void + sceneRectChanged + classQtBaseViewer.html + 44b7d82508e0f33c1ca87616e0cf27e7 + (const QRectF &rect) + + + virtual void + slotWheelX + classQtBaseViewer.html + 3c60b7a441d5b621cc8acac23d07567c + (double _dAngle) + + + virtual void + slotWheelY + classQtBaseViewer.html + dad59a4e524c11b8d72180825d7cc727 + (double _dAngle) + + + virtual void + slotWheelZ + classQtBaseViewer.html + 57336dafd18f70818024d1396b4691d4 + (double _dist) + + + virtual void + slotNodeChanged + classQtBaseViewer.html + 50fcdca5f9f276c664beb6f51939ecc8 + (ACG::SceneGraph::BaseNode *_node) + + + virtual void + cleanupEventFilter + classQtBaseViewer.html + 69313663fa907984a446c8495c925f58 + () + + + virtual void + initializeGL + classQtBaseViewer.html + 21ce124f11e67752af852f6f0936a7a0 + () + + + virtual void + paintGL + classQtBaseViewer.html + b40135171ca6fa2e40a298c4053d1e8f + () + + + virtual void + resizeGL + classQtBaseViewer.html + 2047c64cda6107535872d7eeefd3cdbe + (int _w, int _h) + + + virtual void + glMousePressEvent + classQtBaseViewer.html + bfa78d4473a3995c3b9787aabc910239 + (QMouseEvent *_event) + + + virtual void + glMouseDoubleClickEvent + classQtBaseViewer.html + 95b0aea813ea6a1c1f26e892851bc328 + (QMouseEvent *_event) + + + virtual void + glMouseMoveEvent + classQtBaseViewer.html + a4d2cd8fa722927341054380dec3b6f8 + (QMouseEvent *_event) + + + virtual void + glMouseReleaseEvent + classQtBaseViewer.html + 4bdfd794ddfabff387458a0beec6528b + (QMouseEvent *_event) + + + virtual void + glMouseWheelEvent + classQtBaseViewer.html + 33dd1171f6ae1512a44d5e6bfb817e22 + (QWheelEvent *_event) + + + virtual void + glContextMenuEvent + classQtBaseViewer.html + 570446dce76d662a14c01adf5b03ec3b + (QContextMenuEvent *_event) + + + void + viewMouseEvent + classQtBaseViewer.html + 31e89e86fa46226192db092016b9db1c + (QMouseEvent *_event) + + + void + viewWheelEvent + classQtBaseViewer.html + 638711e56bf2cab30cf7daff5b2ecbe8 + (QWheelEvent *_event) + + + void + lightMouseEvent + classQtBaseViewer.html + 08626d70bc0103546f3d33b0fa10fb20 + (QMouseEvent *) + + + void + updateProjectionMatrix + classQtBaseViewer.html + db305d816b1c1d300705c81c98ca88a7 + () + + + void + updatePickMenu + classQtBaseViewer.html + b0609d2a4561964eeef43dc2f1be19b7 + () + + + virtual void + initializeGL + classQtBaseViewer.html + 43974163d9e041bdd6a86ef315da1054 + () + + + virtual void + paintGL + classQtBaseViewer.html + cb6d22df7cb4625071f76a8d59f5dbbd + () + + + virtual void + resizeGL + classQtBaseViewer.html + c88d405d533e23a27f6dd3e31622bdb0 + (int _w, int _h) + + + virtual void + glMousePressEvent + classQtBaseViewer.html + 261ff8cc344c0468ce7643d91d6ff5b6 + (QMouseEvent *_event) + + + virtual void + glMouseDoubleClickEvent + classQtBaseViewer.html + 3d45b2bbfdd7c3ed67542e4f9019c445 + (QMouseEvent *_event) + + + virtual void + glMouseMoveEvent + classQtBaseViewer.html + c7a5cf4ee9beeace941b2a443d1bd54d + (QMouseEvent *_event) + + + virtual void + glMouseReleaseEvent + classQtBaseViewer.html + ad142acba89716d309b8123927c99201 + (QMouseEvent *_event) + + + virtual void + glMouseWheelEvent + classQtBaseViewer.html + b64e14dd09c1ad7951eb7b1ec786db24 + (QWheelEvent *_event) + + + virtual void + glContextMenuEvent + classQtBaseViewer.html + 0f0b43b2cbbb53516cd09b031234daea + (QContextMenuEvent *_event) + + + void + viewMouseEvent + classQtBaseViewer.html + 31e89e86fa46226192db092016b9db1c + (QMouseEvent *_event) + + + void + viewWheelEvent + classQtBaseViewer.html + 638711e56bf2cab30cf7daff5b2ecbe8 + (QWheelEvent *_event) + + + void + lightMouseEvent + classQtBaseViewer.html + 08626d70bc0103546f3d33b0fa10fb20 + (QMouseEvent *) + + + void + updateProjectionMatrix + classQtBaseViewer.html + db305d816b1c1d300705c81c98ca88a7 + () + + + void + updatePickMenu + classQtBaseViewer.html + b0609d2a4561964eeef43dc2f1be19b7 + () + + + ACG::Vec3d + scene_center_ + classQtBaseViewer.html + 770bd3409e163daac78d76278b727cd2 + + + + ACG::Vec3d + trackball_center_ + classQtBaseViewer.html + f0d8d17678269664dab97f688e2d60b0 + + + + double + scene_radius_ + classQtBaseViewer.html + d30f815aad809bf0f6cc69b3b21d6056 + + + + double + trackball_radius_ + classQtBaseViewer.html + 941dab734990b3d962cdd6160c1c4216 + + + + GLdouble + orthoWidth_ + classQtBaseViewer.html + 20e99c54d078dd194cdf8a31de030e4d + + + + GLdouble + near_ + classQtBaseViewer.html + 31311c9f6cfda0cc8a60a61464d10cde + + + + GLdouble + far_ + classQtBaseViewer.html + 57fb64c4734f6e8fb8f58eb2a64d228e + + + + GLdouble + fovy_ + classQtBaseViewer.html + c860b6c41c8d516775ad3f12baee22e6 + + + + ACG::GLState * + glstate_ + classQtBaseViewer.html + c4c1a80dbbca239c86ac0eb3be203340 + + + + bool + isRotating_ + classQtBaseViewer.html + 7d081ec34bee58240f94f24aa98c8d4f + + + + QStatusBar * + statusbar_ + classQtBaseViewer.html + 3e18780090cc9c6eeccc6d2fbd195a6f + + + + void + hidePopupMenus + classQtBaseViewer.html + e19414f1661697c019ac2bd8f3ade2a5 + () + + + void + hidePopupMenus + classQtBaseViewer.html + e19414f1661697c019ac2bd8f3ade2a5 + () + + + + QtBaseViewer + classQtBaseViewer.html + 9f7cab99d438474d22ed50508760c09c + (const QtBaseViewer &) + + + QtBaseViewer & + operator= + classQtBaseViewer.html + 0f09fbd614456007c3216f77e9464b66 + (const QtBaseViewer &) + + + void + createWidgets + classQtBaseViewer.html + ffaf8fdfe1ea901be84c3e4fe36b3f1a + (const QGLFormat *_format, QStatusBar *_sb, const QtBaseViewer *_share) + + + void + drawScene + classQtBaseViewer.html + a49efdd3641c2b2f189e5135bf7f0e9b + () + + + void + drawScene_mono + classQtBaseViewer.html + 62355ae99632e812fec2022663847288 + () + + + void + drawScene_stereo + classQtBaseViewer.html + a0f06bca3872f5fad043e04c94684b42 + () + + + void + updatePopupMenu + classQtBaseViewer.html + e6b35d26b985f05cd78c0027cfffff74 + () + + + + QtBaseViewer + classQtBaseViewer.html + 9f7cab99d438474d22ed50508760c09c + (const QtBaseViewer &) + + + QtBaseViewer & + operator= + classQtBaseViewer.html + 0f09fbd614456007c3216f77e9464b66 + (const QtBaseViewer &) + + + void + createWidgets + classQtBaseViewer.html + ffaf8fdfe1ea901be84c3e4fe36b3f1a + (const QGLFormat *_format, QStatusBar *_sb, const QtBaseViewer *_share) + + + void + drawScene + classQtBaseViewer.html + a49efdd3641c2b2f189e5135bf7f0e9b + () + + + void + drawScene_mono + classQtBaseViewer.html + 62355ae99632e812fec2022663847288 + () + + + void + drawScene_stereo + classQtBaseViewer.html + a0f06bca3872f5fad043e04c94684b42 + () + + + void + updatePopupMenu + classQtBaseViewer.html + e6b35d26b985f05cd78c0027cfffff74 + () + + + ACG::Vec3d + home_center_ + classQtBaseViewer.html + c4a2bb4bf29f09a30d16f6add0d195a5 + + + + double + home_radius_ + classQtBaseViewer.html + a35df75f80feee6ba128512b47cbb944 + + + + ACG::GLMatrixd + home_modelview_ + classQtBaseViewer.html + 833ce3eda0c1d1b0ecd5e65a8c89c097 + + + + ACG::GLMatrixd + home_inverse_modelview_ + classQtBaseViewer.html + 62759212e035a6b209bd79071301f459 + + + + double + homeOrthoWidth_ + classQtBaseViewer.html + fa61d8bf992206bec9387d3b229c4bc2 + + + + ACG::GLMatrixd + light_matrix_ + classQtBaseViewer.html + 8bc83a542080d65c52d30871baab7f94 + + + + NormalsMode + normalsMode_ + classQtBaseViewer.html + 09f2c4bb3d0dbd947e1214a592286945 + + + + FaceOrientation + faceOrientation_ + classQtBaseViewer.html + 0ba496ef0ba88d916fb94c3795e24cca + + + + ProjectionMode + projectionMode_ + classQtBaseViewer.html + 76c940a4cca58d040dceec2dcb478c8a + + + + ActionMode + actionMode_ + classQtBaseViewer.html + b4b2cad297524b04eb124ffc0b2c58e7 + + + + ActionMode + lastActionMode_ + classQtBaseViewer.html + a34b8753c23791b176e90c77f85f732d + + + + bool + backFaceCulling_ + classQtBaseViewer.html + 4e139b2c39237da36ab17e7c702a7c99 + + + + bool + twoSidedLighting_ + classQtBaseViewer.html + 3314fa725c70a0abcaeb07c19593805d + + + + bool + animation_ + classQtBaseViewer.html + 421aace2ba9605ee74f16d1c46e9c55e + + + + bool + trackMouse_ + classQtBaseViewer.html + ca4f68acc451a1a594e97eb340bf14f9 + + + + bool + glareaGrabbed_ + classQtBaseViewer.html + a7df991544a7ba830b25db5d29e09412 + + + + double + frame_time_ + classQtBaseViewer.html + 1208539b4bdab7b7b7c00ed89e6412f9 + + + + QMenu * + pickMenu_ + classQtBaseViewer.html + 36f9ded3237ff3399ca4e3ddf9ff35a4 + + + + QMenu * + drawMenu_ + classQtBaseViewer.html + cf01078cd5309b2430bb1e677673063a + + + + ACG::SceneGraph::BaseNode * + sceneGraphRoot_ + classQtBaseViewer.html + ecdff06b7e63354080b8f24db18d5e1c + + + + unsigned int + curDrawMode_ + classQtBaseViewer.html + d6ab93d32ecce70a18c40f5839f95645 + + + + unsigned int + availDrawModes_ + classQtBaseViewer.html + 430c6783e7c2bb3eb99a040b8616d732 + + + + bool + updateLocked_ + classQtBaseViewer.html + e000c9fa3499a6e86a845d3224542267 + + + + bool + projectionUpdateLocked_ + classQtBaseViewer.html + e6d57b1b0546fb8a0f7faec8f99ada21 + + + + bool + blending_ + classQtBaseViewer.html + a1bdd336186ded3fab632c45b71bb1f5 + + + + QGLWidget * + glWidget_ + classQtBaseViewer.html + 518d66c4c91cab7db298e8949f5f22f5 + + + + QtGLGraphicsScene * + glScene_ + classQtBaseViewer.html + 477a3d8e3ea301c30fc9fa82618b2e03 + + + + QtGLGraphicsView * + glView_ + classQtBaseViewer.html + 44797a3e545934ac7d10ccea7b1fc468 + + + + QGraphicsWidget * + glBase_ + classQtBaseViewer.html + c31a7f32017a5aab38bf49f6fb857a71 + + + + QGraphicsGridLayout * + glBaseLayout_ + classQtBaseViewer.html + 05dda12865842889ea467f3e76ec9d2e + + + + QGridLayout * + glLayout_ + classQtBaseViewer.html + 7b3335f7596e1ea6484082a133b43f71 + + + + ACG::QtWidgets::QtWheel * + wheelX_ + classQtBaseViewer.html + b8136e10c5e0a214e59a5cdceb3563f5 + + + + ACG::QtWidgets::QtWheel * + wheelY_ + classQtBaseViewer.html + d7e918971853d33e69a5afb4e3d4898d + + + + ACG::QtWidgets::QtWheel * + wheelZ_ + classQtBaseViewer.html + 1d045249bffa51877e71a6ccb6ee96e6 + + + + std::vector< QAction * > + drawMenuActions_ + classQtBaseViewer.html + 6bcf2d04818cc4822c400220fab69045 + + + + QTime + redrawTime_ + classQtBaseViewer.html + 6488debd550dac46eee1b5521f2c15b0 + + + + friend class + QtGLGraphicsScene + classQtBaseViewer.html + a4540c148f4ad7bef7de3bbbab2b428d + + + + friend class + QtGLGraphicsView + classQtBaseViewer.html + 0a6d7401fff7b2a2fa86b310200325db + + + QtBaseViewer::PickMode + + + QtBaseViewer::PickMode + structQtBaseViewer_1_1PickMode.html + + + PickMode + structQtBaseViewer_1_1PickMode.html + 86d797ec3fe56845e551bcb302cd7409 + (const std::string &_n, bool _t, bool _v, QCursor _c) + + + + PickMode + structQtBaseViewer_1_1PickMode.html + 86d797ec3fe56845e551bcb302cd7409 + (const std::string &_n, bool _t, bool _v, QCursor _c) + + + std::string + name + structQtBaseViewer_1_1PickMode.html + 91cbf546f9470ef19ef198c44e279ae4 + + + + bool + tracking + structQtBaseViewer_1_1PickMode.html + c8e35d8f194030a14cc0a61947599ed9 + + + + bool + visible + structQtBaseViewer_1_1PickMode.html + 2a359855ad1bd9dab13120f848a1c717 + + + + QCursor + cursor + structQtBaseViewer_1_1PickMode.html + dccf5976fcd3669cccc5dc020d3aaa16 + + + + + QtGLGraphicsScene + classQtGLGraphicsScene.html + + + QtGLGraphicsScene + classQtGLGraphicsScene.html + c48f6445b837cd6d359cf7594ba5662e + (QtBaseViewer *_w) + + + virtual void + drawBackground + classQtGLGraphicsScene.html + 943928a1c8340ce088851b2c9361b8be + (QPainter *_painter, const QRectF &_rect) + + + virtual void + mousePressEvent + classQtGLGraphicsScene.html + 64562e825c46632764346e888ab1ecc3 + (QGraphicsSceneMouseEvent *_e) + + + virtual void + mouseDoubleClickEvent + classQtGLGraphicsScene.html + b0e40ece490c74bbe1d49ad0a0585620 + (QGraphicsSceneMouseEvent *_e) + + + virtual void + mouseReleaseEvent + classQtGLGraphicsScene.html + 26c596fba264d002dc975d202c0f9857 + (QGraphicsSceneMouseEvent *_e) + + + virtual void + mouseMoveEvent + classQtGLGraphicsScene.html + 738637d8cb9769f4c6c5b6d927492882 + (QGraphicsSceneMouseEvent *_e) - - PolyLine * - line - classPolyLineObject.html - d29dbf7491edf76a7203ee3bc511d427 - () + + virtual void + wheelEvent + classQtGLGraphicsScene.html + 0ad6cd993b336420a5d17aa32a4e461d + (QGraphicsSceneWheelEvent *_e) - - ACG::SceneGraph::PolyLineNodeT< PolyLine > * - lineNode_ - classPolyLineObject.html - a8da673952e666a9650676c1fcf7156a - + + virtual void + keyPressEvent + classQtGLGraphicsScene.html + 91c43c1274e70237a1270c2664235cbc + (QKeyEvent *_e) - - ACG::SceneGraph::PolyLineNodeT< PolyLine > * - lineNode - classPolyLineObject.html - c4ba3b255efd8b6f1f78cca2604362ce - () + + virtual void + keyReleaseEvent + classQtGLGraphicsScene.html + 3e561b34dfd7dd8bd3a9d974ec3eaa56 + (QKeyEvent *_e) - - - PolyLineObject - classPolyLineObject.html - 2d054a4c33458fa07005b0bc5945fecf - (SeparatorNode *_rootNode) + + virtual void + contextMenuEvent + classQtGLGraphicsScene.html + 28a04d850bef851d313856a794ab18d3 + (QGraphicsSceneContextMenuEvent *_e) - - virtual - ~PolyLineObject - classPolyLineObject.html - 639a993e9faf7bf7fd5bd5680c54be4b - () + + virtual void + dragEnterEvent + classQtGLGraphicsScene.html + 5be5260c9f1ef4260c44152d9b6a7309 + (QGraphicsSceneDragDropEvent *_e) - + virtual void - cleanup - classPolyLineObject.html - ef0957efb375104aec9f2429b40d1205 - () + dropEvent + classQtGLGraphicsScene.html + 7f4a6ebff95462f33394775cab3daa96 + (QGraphicsSceneDragDropEvent *_e) - - void - setName - classPolyLineObject.html - 941b6a6f21d58a82817f5920c3e19926 - (QString _name) + + QtBaseViewer * + w_ + classQtGLGraphicsScene.html + 0dec8fe344ec27f032f8470afd379e92 + - - QString - getObjectinfo - classPolyLineObject.html - 6db45f20226b95e2704a6ec27ee2c93a - () + + friend class + QtBaseViewer + classQtGLGraphicsScene.html + 5ce77e2986027201318ae0f34efd3dfd + + + + QtGLGraphicsView + classQtGLGraphicsView.html - bool - picked - classPolyLineObject.html - e7d2642deeb351e73e164462f46a47c6 - (uint _node_idx) + + QtGLGraphicsView + classQtGLGraphicsView.html + c67fb85d3a0e312839d2342b6dab68bb + (QtBaseViewer *_w, QWidget *_parent) virtual void - init - classPolyLineObject.html - f78accacad0697b2b622300e7d36bab5 - () - - - - PolyTraits - structPolyTraits.html - - OpenMesh::Vec3d - Point - structPolyTraits.html - a4416f575cc8eb72fa9dccebd2cea40b - + resizeEvent + classQtGLGraphicsView.html + b3127696f62af47c878fc11bef81bd3f + (QResizeEvent *_event) - - OpenMesh::Vec3d - Normal - structPolyTraits.html - 78aa2f9ec459e136f5a0e408f00cb4da + + QtBaseViewer * + w_ + classQtGLGraphicsView.html + 3e86709a1405cce96d605040e0801e57 @@ -4874,29 +8851,43 @@ virtual void pluginExists classRPCInterface.html - 5db569e86875af8d34f4270476f091f3 - (QString _pluginName, bool &_exists) + 32b1a7342cf6cec12c3136a99be76485 + (QString, bool &) virtual void functionExists classRPCInterface.html - 622cd36167ca99bf7f96b7fe407410a0 - (QString _pluginName, QString _functionName, bool &_exists) + e3dc1157a96dc782ebdf89431ad4a6b8 + (QString, QString, bool &) virtual void call classRPCInterface.html - 89509c17f133786937d55fc17ce728a3 - (QString _pluginName, QString _functionName, bool &_success) + 0692bad680b9c2e74c3de4dfb43bf559 + (QString, QString, bool &) virtual void call classRPCInterface.html - cb12c852cdc634d1558ca5326cd46bfe - (QString _expression, bool &_success) + 0fb51e1b53629d889ffe955a27ca25eb + (QString, bool &) + + + virtual void + getValue + classRPCInterface.html + 3e95978bcf6667eeaf53444764c1945b + (QString, QVariant &) + + + virtual void + getPlugin + classRPCInterface.html + 831515a71a6e6effe54d859732a073e1 + (QString, QObject *&) @@ -4945,50 +8936,57 @@ virtual void scriptInfo classScriptInterface.html - ac87b748add6c4b7961d73b8bdb032f8 - (QString _functionName) + becdd70663a2d2c5177f8bf1e9eaef8e + (QString) virtual void executeScript classScriptInterface.html - 70522aa5df14916fa00e3747021d27bd - (QString _script) + 0d83718971027f7ea305e34afda15299 + (QString) virtual void getScriptingEngine classScriptInterface.html - 44edc5563856d3d605d78f58c4c2e94a - (QScriptEngine *&_engine) + 0f67b896b2839095dae6748054d35b12 + (QScriptEngine *&) virtual void getAvailableFunctions classScriptInterface.html - 356df2d1b6bcd96b588c475d7d2d27bf - (QStringList &_functions) + f644d0f626d53f2633816814cdc3290a + (QStringList &) + + + virtual void + getDescription + classScriptInterface.html + 4e79d06e3951a46dfdff03676919763a + (QString, QString &, QStringList &, QStringList &) virtual void slotScriptInfo classScriptInterface.html - 3b389cf3a3da8f04e01b3a2c2d887177 - (QString _pluginName, QString _functionName) + 036652d1d3aec98f871a5d4157cc93f2 + (QString, QString) virtual void slotExecuteScript classScriptInterface.html - c99bbe03eaea82d99ae6f32d13ecec96 - (QString _script) + 07a4010f0dd2bbed2e8737c82a04c5a5 + (QString) virtual void slotExecuteFileScript classScriptInterface.html - 9eae0f44005a7e4eb49d72b83336f4eb - (QString _filename) + 977741eaf99f0cf5b34333bb72d17d21 + (QString) @@ -4998,15 +8996,15 @@ virtual void addTexture classTextureInterface.html - b0806792054ae243388c1be00c1348c6 - (QString _name, QString _filename, uint _dimension) + d696a930402f0b15bb7f44c11c33eaae + (QString, QString, uint) virtual void updateTexture classTextureInterface.html - 823da66c85a5d986addb783ef279cef0 - (QString _textureName, int _identifier) + ac80686b170ed3299b5998606ec82c34 + (QString, int) virtual void @@ -5033,8 +9031,8 @@ virtual void setTextureMode classTextureInterface.html - bd95929bad975b9f792fc1a1ec1c1fb6 - (QString _textureName, QString _mode) + 0464b6c7632b7f42629c7bd4e1ac7377 + (QString, QString) virtual @@ -5047,8 +9045,8 @@ virtual void slotUpdateTexture classTextureInterface.html - 4cdfc4a94990fd274fcfcdd8df416095 - (QString _textureName, int _identifier) + 182ba6590381219a6ab1018523cbd811 + (QString, int) virtual void @@ -5061,29 +9059,29 @@ virtual void slotTextureAdded classTextureInterface.html - 4ee502da91b8593fd70ddd38c3fd4458 - (QString _textureName, QString _filename, uint dimension) + 7cdc9798acb7249162dbad78d2daf480 + (QString, QString, uint) virtual void slotTextureUpdated classTextureInterface.html - dcda2f55fd606faf2177dbbaeef05ebd - (QString _textureName, int _identifier) + 086283839cabb40032e18f7863793b54 + (QString, int) virtual void slotSetTextureMode classTextureInterface.html - 620c99584eb81755830e6fd0aaa9bad1 - (QString _textureName, QString _mode) + cd7c7955071106e3d4ce4f5ebfaf0af6 + (QString, QString) virtual void slotSwitchTexture classTextureInterface.html - 49fefe07bc881d96bb6a5e85607c8f82 - (QString _textureName) + dfb26b10cda3d53c70c1f7af17b995be + (QString) @@ -5093,15 +9091,22 @@ virtual void addToolbar classToolbarInterface.html - f3a0622e6323797c2eb0b29501e379d3 - (QToolBar *_toolbar) + 8c525462e65dc439a7f21a1511d81183 + (QToolBar *) virtual void removeToolbar classToolbarInterface.html - 1cd064609f92063e8bdd6e823710bce5 - (QToolBar *_toolbar) + c2d3e0cdc7c0fac284f8d2460fdeb413 + (QToolBar *) + + + virtual void + getToolBar + classToolbarInterface.html + 5071fcc9ad6ab9e379bf51bbae393f6a + (QString, QToolBar *&) virtual @@ -5118,8 +9123,8 @@ virtual void defineViewMode classToolboxInterface.html - 7ebf36020de161c87b204b309108b602 - (QString &_mode, QStringList &_usedWidgets) + c35c704bd2f170f1d6751286768ca0bf + (QString &, QStringList &) virtual @@ -5132,33 +9137,15 @@ virtual bool initializeToolbox classToolboxInterface.html - 9c874f09fb596bcd94f45bcb91732bc9 - (QWidget *&_widget)=0 + 29a0d5cce8350b9ad40741e8dd80960f + (QWidget *&)=0 virtual void toolboxActivated classToolboxInterface.html - 64aea64085c2bfe4b7098baf088cf0d1 - (bool _active)=0 - - - - TriTraits - structTriTraits.html - - OpenMesh::Vec3d - Point - structTriTraits.html - c40091204d816d1c3a1218477dd485c5 - - - - OpenMesh::Vec3d - Normal - structTriTraits.html - 9bf69372c8c333e445c62d695058e195 - + 2c220f7bbae48edbbaadedaaee719db9 + (bool)=0 @@ -5168,22 +9155,22 @@ virtual void getStackWidget classViewInterface.html - abb3bc612aa1f471208639cbd285e472 - (QString _name, QWidget *&_widget) + 49662427e98da03737e3bc2087f9d738 + (QString, QWidget *&) virtual void updateStackWidget classViewInterface.html - f732ea6b30ea27a65d7fe8c3b2738009 - (QString _name, QWidget *_widget) + 4b4b6a34c42b627b66416255df383394 + (QString, QWidget *) virtual void addStackWidget classViewInterface.html - 1855a401f450afb4c41a80e04d32b5c9 - (QString _name, QWidget *_widget) + 0fb0bff78c9c3b265fc9b87b8d4323a1 + (QString, QWidget *) virtual @@ -5216,10 +9203,10 @@ namespacePluginFunctions.html PluginFunctions::ObjectIterator - ObjectIterator + DLLEXPORT ObjectIterator objects_end namespacePluginFunctions.html - 438f2fcd4d8a661dfc2d1dc880d86daf + d1ebd6bab5cdb61704584c9f7a8fa1e3 () @@ -5230,81 +9217,67 @@ (std::vector< BaseObjectData * > &_objects) - BaseObject * + BaseObject *& objectRoot namespacePluginFunctions.html - bf0ed8a1c2b14f55daf757184ba4688c + 7db0b763935fa0d5933fac6f605b5cba () - DLLEXPORT bool - get_object - namespacePluginFunctions.html - 61a339afd69b4a5dd217498a088a78f9 - (int _identifier, BSplineCurveObject *&_object) - - - DLLEXPORT BSplineCurve * - splineCurve - namespacePluginFunctions.html - aad1f17d9abdd7cf4ddb2ee1bd9f68b1 - (BaseObjectData *_object) - - - DLLEXPORT BSplineCurveObject * - bsplineCurveObject + void + setDataRoot namespacePluginFunctions.html - db8b914a5ff8d51712fce5b738b9f975 - (BaseObjectData *_object) + 500a4c2660d974cc5d9ab8ea0604a5ff + (BaseObject *_root) - DLLEXPORT bool - get_object + void + set_examiner namespacePluginFunctions.html - 84bcca06e54f5ee597175cbf8e1cb52d - (int _identifier, PolyLineObject *&_object) + a6a2fa63b034150cc354b5709fc22f7f + (std::vector< QtBaseViewer * > _examiner_widgets) - DLLEXPORT PolyLine * - polyLine + void + setActiveExaminer namespacePluginFunctions.html - fcde5199276ba3ea227f6e43ad67e111 - (BaseObjectData *_object) + b67d722dc9182c4973603519638e98f8 + (const unsigned int _id) - DLLEXPORT PolyLineObject * - polyLineObject + unsigned int + activeExaminer namespacePluginFunctions.html - 07563d23b56254bfdf9c301774f86f9a - (BaseObjectData *_object) + c092e03e4f2fd8744c6ea4b721bf8c13 + () void - setDataRoot + set_rootNode namespacePluginFunctions.html - 500a4c2660d974cc5d9ab8ea0604a5ff - (BaseObject *_root) + 331db522180614b2e44387ed3f4994e4 + (SeparatorNode *_root_node) void - set_examiner + set_sceneGraphRootNode namespacePluginFunctions.html - 4aa9ac417f6ae18b0b11e4e70576ed4a - (ACG::QtWidgets::QtExaminerViewer *examiner_widget_) + 6c5036444d35d0f7e09966cbffefb479 + (SeparatorNode *_root_node) - void - set_rootNode + bool + scenegraph_pick namespacePluginFunctions.html - 331db522180614b2e44387ed3f4994e4 - (SeparatorNode *_root_node) + e20d1424a44165838009bc1828f982ff + (ACG::SceneGraph::PickTarget _pickTarget, const QPoint &_mousePos, unsigned int &_nodeIdx, unsigned int &_targetIdx, ACG::Vec3d *_hitPointPtr=0) bool scenegraph_pick namespacePluginFunctions.html - d14a50aa769da67743500faa66af8687 - (ACG::SceneGraph::PickTarget _pickTarget, const QPoint &_mousePos, unsigned int &_nodeIdx, unsigned int &_targetIdx, ACG::Vec3d *_hitPointPtr) + da942b5e50f2ca047ed4fc54b6834e51 + (const unsigned int _examiner, ACG::SceneGraph::PickTarget _pickTarget, const QPoint &_mousePos, unsigned int &_nodeIdx, unsigned int &_targetIdx, ACG::Vec3d *_hitPointPtr=0) void @@ -5313,6 +9286,13 @@ 95bf07301b5f4e367e9d6909acbaf7fd (ACG::SceneGraph::MouseEventAction &_action) + + void + traverse + namespacePluginFunctions.html + d95c682f42a2936ed2a7ac62f3068f3d + (const unsigned int _examiner, ACG::SceneGraph::MouseEventAction &_action) + const std::string & pickMode @@ -5327,12 +9307,19 @@ e859622da656e25418714d1f05dd34c5 (std::string _mode) + + void + pickMode + namespacePluginFunctions.html + 354c6201d4629d6607ebd0a43d2125e2 + (const unsigned int _examiner, std::string _mode) + void actionMode namespacePluginFunctions.html - 24821d26bcab4ddbc6c13f7c7f11a997 - (ACG::QtWidgets::QtBaseViewer::ActionMode _mode) + 4c3ccd1bcb83bda20f39e9068853eb84 + (QtBaseViewer::ActionMode _mode) ACG::GLState & @@ -5349,10 +9336,10 @@ (QImage &_image) - ACG::QtWidgets::QtBaseViewer::ActionMode + QtBaseViewer::ActionMode actionMode namespacePluginFunctions.html - 45995def10b964ecb9a43b2f79bd52f4 + a17c404fa6e0bc0a9a08d489533fd01c () @@ -5364,52 +9351,45 @@ ACG::SceneGraph::BaseNode * - getRootNode + getSceneGraphRootNode namespacePluginFunctions.html - 46596260d8ff9904342ff483f9c19591 + db9160f9b0e24053d577b42efe1d37d4 () - bool - get_source_meshes - namespacePluginFunctions.html - 5195874eac70f82dc7e8aeb316b1617f - (std::vector< TriMesh * > &_meshes) - - - bool - get_source_meshes + ACG::SceneGraph::BaseNode * + getRootNode namespacePluginFunctions.html - 243b3c32189a1471dda04f7f25c485c3 - (std::vector< PolyMesh * > &_meshes) + 46596260d8ff9904342ff483f9c19591 + () - bool - get_target_meshes + void + addNode namespacePluginFunctions.html - b4358af396ca69b2e3029e7f2c46d649 - (std::vector< TriMesh * > &_meshes) + f0b8838cfc4bbe0cdb7b91815ecc8477 + (ACG::SceneGraph::BaseNode *_node) - bool - get_target_meshes + void + addGlobalNode namespacePluginFunctions.html - a057a222ce91dd201b545d65cc91f737 - (std::vector< PolyMesh * > &_meshes) + 2458aef543b14b2ac0b06c50d168414e + (ACG::SceneGraph::BaseNode *_node) bool get_picked_object namespacePluginFunctions.html - ef47f6d2b83b68e6587397646220d91a - (uint _node_idx, BaseObjectData *&_object) + 5a5a6830d7f7289647fa6fecec7ab36c + (const unsigned int _node_idx, BaseObjectData *&_object) bool deleteObject namespacePluginFunctions.html - 5b1e3be5d4c7fa2d14535cc0187f1b41 - (int _id) + f781f21a8d2ac7ebb2c027284407ed0f + (const int _id) void @@ -5418,6 +9398,13 @@ 5b045e2632c7378cc2e0150066233b47 () + + int + copyObject + namespacePluginFunctions.html + 9e5cdfe8b47d65f62e51f87b88ef2bfa + (const int _id) + bool get_source_identifiers @@ -5436,43 +9423,22 @@ bool get_object namespacePluginFunctions.html - 1091d2449e9d33118bfab6c1e25db63d - (int _identifier, BaseObject *&_object) - - - bool - get_object - namespacePluginFunctions.html - 3013a288f3318f8718676b06f1921264 - (int _identifier, BaseObjectData *&_object) + 634e1aa080dbbd82e96144b0483fd085 + (const int _identifier, BaseObject *&_object) bool get_object namespacePluginFunctions.html - 5d62a4329854f98844abb898c042ba3c - (int _identifier, TriMeshObject *&_object) - - - bool - get_mesh - namespacePluginFunctions.html - 1172644f56bfb3f5e7ea2221f7501ff9 - (int _identifier, TriMesh *&_mesh) - - - bool - get_mesh - namespacePluginFunctions.html - edb3fc3ac2615a96f6ad631f4d70d892 - (int _identifier, PolyMesh *&_mesh) + 17125357788f11bf91380cd146aa6a3d + (const int _identifier, BaseObjectData *&_object) bool object_exists namespacePluginFunctions.html - dacf0ec50d3ec996ec2edfaf3d95f961 - (int _identifier) + 924e6965de6c3a36291811c121ded9df + (const int _identifier) bool @@ -5523,12 +9489,26 @@ 37a6e72ec175b6ae536f99aa0ca38f61 (OpenMesh::Vec4f _color) + + QPoint + mapToGlobal + namespacePluginFunctions.html + 499ada11f6b60e736f314d03395dd808 + (const QPoint _point) + + + QPoint + mapToLocal + namespacePluginFunctions.html + 6da01f4b28ec6cca2a6699cd7c93f244 + (const QPoint _point) + void setDrawMode namespacePluginFunctions.html - 5676bf850581cb61763b7829ae28a508 - (unsigned int _mode) + a0d5f7587ac6b1cdd1ae5a84feb428ef + (const unsigned int _mode) unsigned int @@ -5562,8 +9542,8 @@ void setScenePos namespacePluginFunctions.html - d129d117d838752a75498affc57cc1ac - (const ACG::Vec3d &_center, double _radius) + 0b648e6b44a59282e5edfc8eda51c675 + (const ACG::Vec3d &_center, const double _radius) void @@ -5597,8 +9577,8 @@ void rotate namespacePluginFunctions.html - 9591fe3955d130d450afe9e8924fc521 - (const ACG::Vec3d &_axis, double _angle, const ACG::Vec3d &_center) + 5edf7564992ebddd3e5b5ed4207c72bc + (const ACG::Vec3d &_axis, const double _angle, const ACG::Vec3d &_center) void @@ -5639,8 +9619,8 @@ void flyTo namespacePluginFunctions.html - 25dd779116f4a9a352c5abc1ff9d86ed - (const TriMesh::Point &_position, const TriMesh::Point &_center, double _time) + b06ba401a82fc57b90afa01f9e29af07 + (const ACG::Vec3d &_position, const ACG::Vec3d &_center, double _time) BaseObjectData * @@ -5649,55 +9629,6 @@ ffb238a514f9754ca2a3680ccb4b59a4 (BaseObject *_object) - - TriMesh * - triMesh - namespacePluginFunctions.html - 11d22dc1c64537f87c014241cacc4340 - (BaseObjectData *_object) - - - PolyMesh * - polyMesh - namespacePluginFunctions.html - fe48c8dedf9bf541678277213548d61a - (BaseObjectData *_object) - - - TriMeshObject * - triMeshObject - namespacePluginFunctions.html - 1f03569cd9ea2c79069f362b84c42661 - (BaseObjectData *_object) - - - PolyMeshObject * - polyMeshObject - namespacePluginFunctions.html - dbb1912ef5640b57a886731049f21413 - (BaseObjectData *_object) - - - bool - get_property_handle - namespacePluginFunctions.html - 86ad67d19dfba2f1e2eabb77b1845435 - (MeshT *_mesh, QString _name, OpenMesh::VPropHandleT< propT > &_property) - - - bool - get_property_handle - namespacePluginFunctions.html - 4e419d2ed41704bc74e90912ad409e9f - (MeshT *_mesh, QString _name, OpenMesh::FPropHandleT< propT > &_property) - - - bool - get_property_handle - namespacePluginFunctions.html - fcb31fc379e793806451080b35dc5fdf - (MeshT *_mesh, QString _name, OpenMesh::HPropHandleT< propT > &_property) - static BaseObject * objectRoot_ @@ -5706,10 +9637,24 @@ - static ACG::QtWidgets::QtExaminerViewer * + static std::vector< QtBaseViewer * > + examiner_widgets_ + namespacePluginFunctions.html + 35a4de47e386a60ce8ce82a3ed34a209 + + + + static QtBaseViewer * examiner_widget_ namespacePluginFunctions.html - 3fe438cdfeb912e1a2987c051c5c6bb3 + 431cd16266a0a4c8bc160e64c7c0dfef + + + + static unsigned int + activeExaminer_ + namespacePluginFunctions.html + c0a023cf73492ad27d6f3141d783a954 @@ -5719,6 +9664,13 @@ f38b951861d0228b1a05909dff038ede + + static SeparatorNode * + sceneGraph_root_node_ + namespacePluginFunctions.html + 4db889b13389632daf3621ce0226c03e + + PluginFunctions::ObjectIterator @@ -5828,6 +9780,13 @@ c08bdae296f4b09334dab82649987a86 () + + void + proceedToNextBaseObjectData + classPluginFunctions_1_1ObjectIterator.html + 007e520bda6bacfd4adeec1eb53ba261 + (BaseObject *&_object) + BaseObjectData * pos_ @@ -5850,6 +9809,20 @@ + + widgets/glWidget/a/ + /data/home1/moebius/projects/OpenFlipper/OpenFlipper/widgets/glWidget/a/ + dir_d7f81bd17360b9c4f49be610a5199881.html + QtBaseViewer.cc + QtBaseViewer.hh + + + widgets/aboutWidget/ + /data/home1/moebius/projects/OpenFlipper/OpenFlipper/widgets/aboutWidget/ + dir_594acadcb55f93dbf4e82c7ef03393dc.html + aboutWidget.cc + aboutWidget.hh + ACGHelper/ /data/home1/moebius/projects/OpenFlipper/OpenFlipper/ACGHelper/ @@ -5863,7 +9836,6 @@ dir_9cc39214bb3808d91bd8644300e632f2.html addEmptyWidget.cc addEmptyWidget.hh - ui_addEmpty.hh BasePlugin/ @@ -5880,16 +9852,14 @@ LoggingInterface.hh MenuInterface.hh MouseInterface.hh + OptionsInterface.hh PickingInterface.hh PluginFunctions.cc PluginFunctions.hh - PluginFunctionsBSplineCurve.cc - PluginFunctionsBSplineCurve.hh - PluginFunctionsPolyLine.cc - PluginFunctionsPolyLine.hh - PluginFunctionsT.cc + PluginFunctionsIterator.cc RPCInterface.hh ScriptInterface.hh + StatusbarInterface.hh TextureInterface.hh ToolbarInterface.hh ToolboxInterface.hh @@ -5905,21 +9875,11 @@ TriangleBSPCoreT.hh TriangleBSPT.hh - - common/BSplineCurve/ - /data/home1/moebius/projects/OpenFlipper/OpenFlipper/common/BSplineCurve/ - dir_d595ab3ccede140d797f2418d1ee28e4.html - BSplineCurveObject.cc - BSplineCurveObject.hh - BSplineCurveTypes.hh - common/ /data/home1/moebius/projects/OpenFlipper/OpenFlipper/common/ dir_1be831ad6813636322aff3cfbb793ba7.html common/bsp/ - common/BSplineCurve/ - common/PolyLine/ BaseObject.cc BaseObject.hh BaseObjectData.cc @@ -5930,13 +9890,13 @@ GlobalOptions.hh GroupObject.cc GroupObject.hh - MeshObjectT.cc - MeshObjectT.hh ObjectIDPointerManagerT.cc ObjectIDPointerManagerT.hh - PolyMeshTypes.hh - StatusNodeMods.hh - TriangleMeshTypes.hh + perObjectData.cc + perObjectData.hh + RecentFiles.cc + RecentFiles.hh + Types.cc Types.hh @@ -5949,42 +9909,69 @@ openFunctions.cc optionHandling.cc ParseIni.cc + ParseObj.cc PluginCommunication.cc + PluginInfo.hh PluginLoader.cc RPC.cc saveFunctions.cc + saveSettings.cc scripting.cc widgets/coreWidget/ /data/home1/moebius/projects/OpenFlipper/OpenFlipper/widgets/coreWidget/ dir_56a69f0fbb49fda25c91167fa202740d.html + About.cc ContextMenu.cc CoreWidget.cc CoreWidget.hh CoreWidgetLogging.cc CoreWidgetToolbar.cc + dragAndDrop.cc Help.cc + keyHandling.cc MenuBar.cc StackWidget.cc + StatusBar.cc + viewerControl.cc viewMode.cc Doxygen/ /data/home1/moebius/projects/OpenFlipper/OpenFlipper/Doxygen/ dir_15ee26eb48dc46c47c455f7f6deafd0c.html + building.docu dataStructure.docu Interfaces.docu mainpage.docu PluginProgramming.docu + + widgets/glWidget/ + /data/home1/moebius/projects/OpenFlipper/OpenFlipper/widgets/glWidget/ + dir_79c40a2d092ad1d2d0a048801101ad10.html + widgets/glWidget/a/ + QtBaseViewer.cc + QtBaseViewer.hh + QtBaseViewerPicking.cc + QtBaseViewerSnapshot.cc + QtBaseViewerStereo.cc + QtGLGraphicsScene.cc + QtGLGraphicsScene.hh + QtGLGraphicsView.cc + QtGLGraphicsView.hh + widgets/helpBrowser/ /data/home1/moebius/projects/OpenFlipper/OpenFlipper/widgets/helpBrowser/ dir_8b62dc7f51b1e3f1ac6e79adf1dca1fc.html + findEdit.cc + findEdit.hh helpWidget.cc helpWidget.hh - ui_helpWidget.hh + webView.cc + webView.hh INIFile/ @@ -6000,7 +9987,13 @@ dir_9fc3c5f491b01d4b75ebd1f8e39005ba.html loadWidget.cc loadWidget.hh - ui_load.hh + + + widgets/loggerWidget/ + /data/home1/moebius/projects/OpenFlipper/OpenFlipper/widgets/loggerWidget/ + dir_3ad0f73889eb06bb2591237bc66f5857.html + loggerWidget.cc + loggerWidget.hh Logging/ @@ -6010,12 +10003,15 @@ PluginLogging.cc - common/PolyLine/ - /data/home1/moebius/projects/OpenFlipper/OpenFlipper/common/PolyLine/ - dir_8c42b1ab889f9bcfbe75b979af966eef.html - PolyLineObject.cc - PolyLineObject.hh - PolyLineTypes.hh + widgets/optionsWidget/ + /data/home1/moebius/projects/OpenFlipper/OpenFlipper/widgets/optionsWidget/ + dir_5b7a6c4897525f4cca230d90bfe7b131.html + downloader.cc + keyBindings.cc + optionsWidget.cc + optionsWidget.hh + ShortcutButton.cc + ShortcutButton.hh Scripting/ @@ -6030,6 +10026,8 @@ Scripting/scriptPrototypes/ /data/home1/moebius/projects/OpenFlipper/OpenFlipper/Scripting/scriptPrototypes/ dir_7f818d5a9e258b6b503d930d08efa4e9.html + prototypeIdList.cc + prototypeIdList.hh prototypeMatrix4x4.cc prototypeMatrix4x4.hh prototypeVec3d.cc @@ -6039,6 +10037,8 @@ Scripting/scriptWrappers/ /data/home1/moebius/projects/OpenFlipper/OpenFlipper/Scripting/scriptWrappers/ dir_08300fed192bcb66f6137dbe84f57711.html + idListWrapper.cc + idListWrapper.hh matrix4x4Wrapper.cc matrix4x4Wrapper.hh vec3dWrapper.cc @@ -6048,7 +10048,6 @@ widgets/unloadPluginsWidget/ /data/home1/moebius/projects/OpenFlipper/OpenFlipper/widgets/unloadPluginsWidget/ dir_3537f2718c44bf5387a0c1cd04e8438d.html - ui_unloadPlugins.hh unloadPluginsWidget.cc unloadPluginsWidget.hh @@ -6056,7 +10055,6 @@ widgets/viewModeWidget/ /data/home1/moebius/projects/OpenFlipper/OpenFlipper/widgets/viewModeWidget/ dir_d90a30b42ac5271b0fe6b95a4c309e07.html - ui_viewMode.hh viewModeWidget.cc viewModeWidget.hh @@ -6064,12 +10062,15 @@ widgets/ /data/home1/moebius/projects/OpenFlipper/OpenFlipper/widgets/ dir_7ca3df6b42838197b5d9bc81f4b4838a.html + widgets/aboutWidget/ widgets/addEmptyWidget/ widgets/coreWidget/ + widgets/glWidget/ widgets/helpBrowser/ widgets/loadWidget/ + widgets/loggerWidget/ + widgets/optionsWidget/ widgets/unloadPluginsWidget/ widgets/viewModeWidget/ - .kdbgrc.PluginCommunication.cc diff --git a/common/ViewerProperties.cc b/common/ViewerProperties.cc new file mode 100644 index 00000000..5f63421a --- /dev/null +++ b/common/ViewerProperties.cc @@ -0,0 +1,70 @@ +//============================================================================= +// +// OpenFlipper +// Copyright (C) 2008 by Computer Graphics Group, RWTH Aachen +// www.openflipper.org +// +//----------------------------------------------------------------------------- +// +// License +// +// OpenFlipper is free software: you can redistribute it and/or modify +// it under the terms of the GNU Lesser General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// OpenFlipper is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with OpenFlipper. If not, see . +// +//----------------------------------------------------------------------------- +// +// $Revision: 4482 $ +// $Author: moebius $ +// $Date: 2009-01-28 11:12:14 +0100 (Mi, 28. Jan 2009) $ +// +//============================================================================= + + + + +//============================================================================= +// +// Property storage Class for glWidgets +// +//============================================================================= + +#include +#include "ViewerProperties.hh" +#include + +namespace Viewer { + + ViewerProperties::ViewerProperties(): + actionMode_(Viewer::PickingMode), + lastActionMode_(Viewer::PickingMode) + { + + } + + ViewerProperties::~ViewerProperties() { + + } + + void ViewerProperties::actionMode(Viewer::ActionMode _am) { + std::cerr << "ActionModeChanged" << std::endl; + if (_am != actionMode_) { + lastActionMode_ = actionMode_; + actionMode_ = _am; + emit actionModeChanged(_am); + } + + } + + + +} \ No newline at end of file diff --git a/common/ViewerProperties.hh b/common/ViewerProperties.hh new file mode 100644 index 00000000..3929b04e --- /dev/null +++ b/common/ViewerProperties.hh @@ -0,0 +1,128 @@ +//============================================================================= +// +// OpenFlipper +// Copyright (C) 2008 by Computer Graphics Group, RWTH Aachen +// www.openflipper.org +// +//----------------------------------------------------------------------------- +// +// License +// +// OpenFlipper is free software: you can redistribute it and/or modify +// it under the terms of the GNU Lesser General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// OpenFlipper is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public License +// along with OpenFlipper. If not, see . +// +//----------------------------------------------------------------------------- +// +// $Revision: 4482 $ +// $Author: moebius $ +// $Date: 2009-01-28 11:12:14 +0100 (Mi, 28. Jan 2009) $ +// +//============================================================================= + + + + +//============================================================================= +// +// Property storage Class for glWidgets +// +//============================================================================= + +/** + * \file ViewerProperties.hh + * This file contains a class for managing all viewer settings + */ + +// +#ifndef VIEWERPROPERTIES_HH +#define VIEWERPROPERTIES_HH + +#include + +namespace Viewer { + + /// How to react on mouse events? + enum ActionMode { + // examine geometry, get transformations from mouse events + ExamineMode, + /** Picking mode. Actually no pick()ing is performed (!) but events are + forwarded to the application via signalMouseEvent(). + */ + PickingMode, + // same as picking, but emit signalMouseEventIdentify() + QuestionMode, + // Ligh rotation mode + LightMode + }; + + class ViewerProperties : public QObject { + + Q_OBJECT + + public: + ViewerProperties(); + ~ViewerProperties(); + + //=========================================================================== + /** @name Action Mode States + * @{ */ + //=========================================================================== + + public slots: + + bool examineMode() { return(actionMode_ == Viewer::ExamineMode ); }; + bool pickingMode() { return(actionMode_ == Viewer::PickingMode ); }; + bool lightMode() { return(actionMode_ == Viewer::LightMode ); }; + bool questionMode(){ return(actionMode_ == Viewer::QuestionMode ); }; + + /** Set action mode. + The ActionMode determines the type of reaction on mouse events. + */ + void setExamineMode() { actionMode(Viewer::ExamineMode ); }; + void setPickingMode() { actionMode(Viewer::PickingMode ); }; + void setLightMode() { actionMode(Viewer::LightMode ); }; + void setQuestionMode(){ actionMode(Viewer::QuestionMode ); }; + + public: + void actionMode(Viewer::ActionMode _am); + Viewer::ActionMode actionMode() { return actionMode_; }; + Viewer::ActionMode lastActionMode() { return lastActionMode_; }; + + private : + Viewer::ActionMode actionMode_, lastActionMode_; + + /** @} */ + + + //=========================================================================== + /** @name Action Mode States + * @{ */ + //=========================================================================== + + + + /** @} */ + + + signals: + /** \brief This signal is emitted when the configuration has been changed + */ + void updated(); + + void actionModeChanged( Viewer::ActionMode ); + }; + +} + + +#endif //VIEWERPROPERTIES_HH \ No newline at end of file diff --git a/widgets/coreWidget/CoreWidget.cc b/widgets/coreWidget/CoreWidget.cc index 43ac83da..4484afb2 100644 --- a/widgets/coreWidget/CoreWidget.cc +++ b/widgets/coreWidget/CoreWidget.cc @@ -48,6 +48,7 @@ #include #include #include +#include #include #include @@ -131,7 +132,7 @@ CoreWidget( QVector& _viewModes, if ( !OpenFlipper::Options::multiView() ) { - QtBaseViewer* examinerWidget = new QtBaseViewer(stackedWidget_, + glViewer* examinerWidget = new glViewer(stackedWidget_, "Examiner Widget", statusBar_ , &format); @@ -148,7 +149,7 @@ CoreWidget( QVector& _viewModes, tmp = new QWidget(stackedWidget_); // Create master examiner widget - QtBaseViewer* examinerWidget = new QtBaseViewer(tmp, + glViewer* examinerWidget = new glViewer(tmp, "Examiner Widget", statusBar_ , &format, @@ -158,7 +159,7 @@ CoreWidget( QVector& _viewModes, // Create all other examiners using the same gl context as the others for ( unsigned int i = 1 ; i < OpenFlipper::Options::examinerWidgets() ; ++i ) { - QtBaseViewer* newWidget = new QtBaseViewer(tmp, + glViewer* newWidget = new glViewer(tmp, "Examiner Widget", statusBar_ , &format, @@ -183,6 +184,9 @@ CoreWidget( QVector& _viewModes, stackedWidget_->addWidget(tmp); } + // Make examiner available to the plugins ( defined in PluginFunctions.hh) + PluginFunctions::setViewers( examiner_widgets_ ); + @@ -232,8 +236,9 @@ CoreWidget( QVector& _viewModes, "
  • Translate using middle mouse button.
  • " "
  • Zoom using left+middle mouse buttons.
  • " ); for ( unsigned int i = 0 ; i < OpenFlipper::Options::examinerWidgets() ; ++i ) { - connect( moveButton_,SIGNAL( clicked() ), examiner_widgets_[i], SLOT( examineMode() ) ); - connect( examiner_widgets_[i],SIGNAL( actionModeChanged( QtBaseViewer::ActionMode ) ),this , SLOT( slotActionModeChanged(QtBaseViewer::ActionMode) ) ); + connect( moveButton_,SIGNAL( clicked() ), &PluginFunctions::viewerProperties(i), SLOT( setExamineMode() ) ); + connect( examiner_widgets_[i] , SIGNAL( signalActionModeChanged( Viewer::ActionMode ) ), + this , SLOT( slotActionModeChanged(Viewer::ActionMode) ) ); } viewerToolbar_->addWidget( moveButton_ )->setText("Move"); @@ -249,7 +254,7 @@ CoreWidget( QVector& _viewModes, "Switch to light mode.
    " "Rotate lights using left mouse button."); for ( unsigned int i = 0 ; i < OpenFlipper::Options::examinerWidgets() ; ++i ) - connect( lightButton_,SIGNAL( clicked() ), examiner_widgets_[i], SLOT( lightMode() ) ); + connect( lightButton_,SIGNAL( clicked() ), &PluginFunctions::viewerProperties(i), SLOT( setLightMode() ) ); viewerToolbar_->addWidget( lightButton_)->setText("Light"); @@ -264,7 +269,7 @@ CoreWidget( QVector& _viewModes, "To change the mode use the right click
    " "context menu in the viewer."); for ( unsigned int i = 0 ; i < OpenFlipper::Options::examinerWidgets() ; ++i ) - connect( pickButton_,SIGNAL( clicked() ), examiner_widgets_[i], SLOT( pickingMode() ) ); + connect( pickButton_,SIGNAL( clicked() ), &PluginFunctions::viewerProperties(i), SLOT( setPickingMode() ) ); viewerToolbar_->addWidget( pickButton_)->setText("Pick"); @@ -280,7 +285,7 @@ CoreWidget( QVector& _viewModes, "the log output for information about the " "object."); for ( unsigned int i = 0 ; i < OpenFlipper::Options::examinerWidgets() ; ++i ) - connect( questionButton_,SIGNAL( clicked() ), examiner_widgets_[i], SLOT( questionMode() ) ); + connect( questionButton_,SIGNAL( clicked() ), &PluginFunctions::viewerProperties(i), SLOT( setQuestionMode() ) ); viewerToolbar_->addWidget( questionButton_)->setText("Question"); viewerToolbar_->addSeparator(); diff --git a/widgets/coreWidget/CoreWidget.hh b/widgets/coreWidget/CoreWidget.hh index f937379a..7610b969 100644 --- a/widgets/coreWidget/CoreWidget.hh +++ b/widgets/coreWidget/CoreWidget.hh @@ -346,7 +346,7 @@ public: public : /// Examiner Widget - std::vector< QtBaseViewer* > examiner_widgets_; + std::vector< glViewer* > examiner_widgets_; ///Spliter between toplevel objects and the textedit at the bottom QSplitter* splitter_; @@ -641,7 +641,7 @@ public: void slotProjectionModeChanged( bool _ortho ); /// Change Icons if action mode is changed in an examiner - void slotActionModeChanged( QtBaseViewer::ActionMode _mode ); + void slotActionModeChanged( Viewer::ActionMode _mode ); /// Called when the functionMenu has to be updated void slotFunctionMenuUpdate(); diff --git a/widgets/coreWidget/keyHandling.cc b/widgets/coreWidget/keyHandling.cc index 0ae77cf7..7c2b7857 100644 --- a/widgets/coreWidget/keyHandling.cc +++ b/widgets/coreWidget/keyHandling.cc @@ -5,6 +5,8 @@ #include +#include + //----------------------------------------------------------------------------- KeyBinding CoreWidget::getKeyBinding(QObject* _plugin, int _keyIndex ){ @@ -260,9 +262,9 @@ void CoreWidget::slotRegisterSlotKeyBindings(){ kb.description = plugins_[i].rpcFunctions[j]; kb.multiUse = true; kb.slot = true; - + plugins_[i].keys.append( kb ); - + keys_.insert( std::make_pair( std::make_pair(-1, 0) , std::make_pair(plugins_[i].plugin, plugins_[i].keys.size()-1) ) ); invKeys_.insert( std::make_pair( std::make_pair(plugins_[i].plugin, plugins_[i].keys.size()-1) , std::make_pair(-1, 0) ) ); } @@ -433,7 +435,7 @@ void CoreWidget::coreKeyPressEvent (QKeyEvent* _e){ switch (_e->key()) { case Qt::Key_Escape: for ( uint i = 0 ; i < examiner_widgets_.size(); ++i) - examiner_widgets_[i]->actionMode(examiner_widgets_[i]->lastActionMode()); + PluginFunctions::viewerProperties(i).actionMode( PluginFunctions::viewerProperties(i).lastActionMode() ); break; case Qt::Key_Print: diff --git a/widgets/coreWidget/viewerControl.cc b/widgets/coreWidget/viewerControl.cc index 6b8c418a..a0359e8f 100644 --- a/widgets/coreWidget/viewerControl.cc +++ b/widgets/coreWidget/viewerControl.cc @@ -76,7 +76,7 @@ void CoreWidget::slotProjectionModeChanged( bool _ortho ) { } -void CoreWidget::slotActionModeChanged( QtBaseViewer::ActionMode _mode ) { +void CoreWidget::slotActionModeChanged( Viewer::ActionMode _mode ) { moveButton_->setDown(false); lightButton_->setDown(false); pickButton_->setDown(false); @@ -84,28 +84,28 @@ void CoreWidget::slotActionModeChanged( QtBaseViewer::ActionMode _mode ) { switch (_mode) { - case QtBaseViewer::ExamineMode: + case Viewer::ExamineMode: { moveButton_->setDown(true); break; } - case QtBaseViewer::LightMode: + case Viewer::LightMode: { lightButton_->setDown(true); break; } - case QtBaseViewer::PickingMode: + case Viewer::PickingMode: { pickButton_->setDown(true); break; } - case QtBaseViewer::QuestionMode: + case Viewer::QuestionMode: { questionButton_->setDown(true); break; diff --git a/widgets/glWidget/QtBaseViewer.cc b/widgets/glWidget/QtBaseViewer.cc index d6ed7ee9..743d483d 100644 --- a/widgets/glWidget/QtBaseViewer.cc +++ b/widgets/glWidget/QtBaseViewer.cc @@ -34,7 +34,7 @@ //============================================================================= // -// CLASS QtBaseViewer - IMPLEMENTATION +// CLASS glViewer - IMPLEMENTATION // //============================================================================= @@ -110,11 +110,11 @@ static const char VIEW_MAGIC[] = //== IMPLEMENTATION ========================================================== -QtBaseViewer::QtBaseViewer( QWidget* _parent, +glViewer::glViewer( QWidget* _parent, const char* /* _name */ , QStatusBar *_statusBar, const QGLFormat* _format, - const QtBaseViewer* _share) : + const glViewer* _share) : QWidget(_parent), statusbar_(_statusBar), glareaGrabbed_(false), @@ -182,12 +182,6 @@ QtBaseViewer::QtBaseViewer( QWidget* _parent, drawMenu_ = 0; - // init action modes: Examine & Pick - actionMode_ = PickingMode; - lastActionMode_ = PickingMode; - examineMode(); - - // Note: we start locked (initialization of updateLocked_) // will be unlocked in initializeGL() @@ -210,13 +204,18 @@ QtBaseViewer::QtBaseViewer( QWidget* _parent, wZoomFactor_ = 1.0; wZoomFactorShift_ = 0.2; + connect( &properties_,SIGNAL(updated()), this, SLOT( slotPropertiesUpdated() ) ); + connect( &properties_,SIGNAL(actionModeChanged(Viewer::ActionMode)), this, SLOT( updateActionMode(Viewer::ActionMode) ) ); + + properties_.setExamineMode(); + } //----------------------------------------------------------------------------- -QtBaseViewer::~QtBaseViewer() +glViewer::~glViewer() { delete snapshot_; delete glstate_; @@ -227,7 +226,7 @@ QtBaseViewer::~QtBaseViewer() QSize -QtBaseViewer::sizeHint() const +glViewer::sizeHint() const { return QSize( 600, 600 ); } @@ -236,7 +235,7 @@ QtBaseViewer::sizeHint() const //----------------------------------------------------------------------------- -void QtBaseViewer::setStatusBar(QStatusBar* _sb) +void glViewer::setStatusBar(QStatusBar* _sb) { statusbar_ = _sb; } @@ -244,11 +243,11 @@ void QtBaseViewer::setStatusBar(QStatusBar* _sb) //----------------------------------------------------------------------------- -void QtBaseViewer::makeCurrent() { +void glViewer::makeCurrent() { glWidget_->makeCurrent(); } -void QtBaseViewer::swapBuffers() { +void glViewer::swapBuffers() { glWidget_->swapBuffers(); } @@ -256,7 +255,7 @@ void QtBaseViewer::swapBuffers() { //----------------------------------------------------------------------------- -void QtBaseViewer::sceneGraph(ACG::SceneGraph::BaseNode* _root) +void glViewer::sceneGraph(ACG::SceneGraph::BaseNode* _root) { sceneGraphRoot_ = _root; @@ -293,21 +292,21 @@ void QtBaseViewer::sceneGraph(ACG::SceneGraph::BaseNode* _root) //----------------------------------------------------------------------------- -void QtBaseViewer::lockUpdate() +void glViewer::lockUpdate() { updateLocked_ = true; // QToolTip::add(moveButton_, "Switch to move mode (display locked)"); } -void QtBaseViewer::unlockUpdate() +void glViewer::unlockUpdate() { // QToolTip::add(moveButton_,"Switch to move mode"); updateLocked_ = false; } -void QtBaseViewer::unlockAndUpdate() +void glViewer::unlockAndUpdate() { unlockUpdate(); updateGL(); @@ -317,7 +316,7 @@ void QtBaseViewer::unlockAndUpdate() //----------------------------------------------------------------------------- -void QtBaseViewer::trackMouse(bool _track) +void glViewer::trackMouse(bool _track) { trackMouse_ = _track; } @@ -325,21 +324,21 @@ void QtBaseViewer::trackMouse(bool _track) //----------------------------------------------------------------------------- -void QtBaseViewer::perspectiveProjection() +void glViewer::perspectiveProjection() { projectionMode(PERSPECTIVE_PROJECTION); updateGL(); } -void QtBaseViewer::orthographicProjection() +void glViewer::orthographicProjection() { projectionMode(ORTHOGRAPHIC_PROJECTION); updateGL(); } -void QtBaseViewer::toggleProjectionMode() +void glViewer::toggleProjectionMode() { if (projectionMode_ == ORTHOGRAPHIC_PROJECTION) projectionMode(PERSPECTIVE_PROJECTION); @@ -353,7 +352,7 @@ void QtBaseViewer::toggleProjectionMode() } -void QtBaseViewer::projectionMode(ProjectionMode _p) +void glViewer::projectionMode(ProjectionMode _p) { if ((projectionMode_ = _p) == ORTHOGRAPHIC_PROJECTION) emit projectionModeChanged( true ); @@ -364,7 +363,7 @@ void QtBaseViewer::projectionMode(ProjectionMode _p) } -void QtBaseViewer::updateProjectionMatrix() +void glViewer::updateProjectionMatrix() { if( projectionUpdateLocked_ ) return; @@ -398,7 +397,7 @@ void QtBaseViewer::updateProjectionMatrix() //----------------------------------------------------------------------------- -void QtBaseViewer::setScenePos(const ACG::Vec3d& _center, double _radius) +void glViewer::setScenePos(const ACG::Vec3d& _center, double _radius) { scene_center_ = trackball_center_ = _center; scene_radius_ = trackball_radius_ = _radius; @@ -415,7 +414,7 @@ void QtBaseViewer::setScenePos(const ACG::Vec3d& _center, double _radius) //---------------------------------------------------------------------------- -void QtBaseViewer::viewingDirection( const ACG::Vec3d& _dir, const ACG::Vec3d& _up ) +void glViewer::viewingDirection( const ACG::Vec3d& _dir, const ACG::Vec3d& _up ) { // calc eye point for this direction ACG::Vec3d eye = scene_center_ - _dir*(3.0*scene_radius_); @@ -428,24 +427,15 @@ void QtBaseViewer::viewingDirection( const ACG::Vec3d& _dir, const ACG::Vec3d& _ //----------------------------------------------------------------------------- -void QtBaseViewer::actionMode(ActionMode _am) +void glViewer::updateActionMode(Viewer::ActionMode _am) { - emit actionModeChanged( _am ); - trackMouse(false); - if (_am != actionMode_) + switch ( properties_.actionMode() ) { - lastActionMode_ = actionMode_; - actionMode_ = _am; - } - - - switch (actionMode_) - { - case ExamineMode: + case Viewer::ExamineMode: { glView_->setCursor(Qt::PointingHandCursor); glBase_->setCursor(Qt::PointingHandCursor); @@ -453,7 +443,7 @@ void QtBaseViewer::actionMode(ActionMode _am) } - case LightMode: + case Viewer::LightMode: { glView_->setCursor(Qt::PointingHandCursor); glBase_->setCursor(Qt::PointingHandCursor); @@ -461,7 +451,7 @@ void QtBaseViewer::actionMode(ActionMode _am) } - case PickingMode: + case Viewer::PickingMode: { glView_->setCursor(Qt::ArrowCursor); glBase_->setCursor(Qt::ArrowCursor); @@ -475,7 +465,7 @@ void QtBaseViewer::actionMode(ActionMode _am) } - case QuestionMode: + case Viewer::QuestionMode: { glView_->setCursor(Qt::WhatsThisCursor); glBase_->setCursor(Qt::WhatsThisCursor); @@ -484,10 +474,10 @@ void QtBaseViewer::actionMode(ActionMode _am) } - emit(signalActionModeChanged(actionMode_)); + emit(signalActionModeChanged( _am )); //emit pickmodeChanged with either the name of the current pickmode or an empty string - if(actionMode_ == PickingMode) + if( properties_.pickingMode() ) emit(signalPickModeChanged(pick_mode_name_)); else emit(signalPickModeChanged("")); @@ -497,7 +487,7 @@ void QtBaseViewer::actionMode(ActionMode _am) //----------------------------------------------------------------------------- -void QtBaseViewer::faceOrientation(FaceOrientation _ori) +void glViewer::faceOrientation(FaceOrientation _ori) { makeCurrent(); @@ -518,7 +508,7 @@ void QtBaseViewer::faceOrientation(FaceOrientation _ori) //----------------------------------------------------------------------------- -void QtBaseViewer::backFaceCulling(bool _b) +void glViewer::backFaceCulling(bool _b) { emit functionMenuUpdate(); @@ -533,7 +523,7 @@ void QtBaseViewer::backFaceCulling(bool _b) } -void QtBaseViewer::twoSidedLighting(bool _b) +void glViewer::twoSidedLighting(bool _b) { emit functionMenuUpdate(); @@ -543,7 +533,7 @@ void QtBaseViewer::twoSidedLighting(bool _b) } -void QtBaseViewer::animation(bool _b) +void glViewer::animation(bool _b) { emit functionMenuUpdate(); makeCurrent(); @@ -555,7 +545,7 @@ void QtBaseViewer::animation(bool _b) //----------------------------------------------------------------------------- -void QtBaseViewer::normalsMode(NormalsMode _mode) +void glViewer::normalsMode(NormalsMode _mode) { makeCurrent(); @@ -578,7 +568,7 @@ void QtBaseViewer::normalsMode(NormalsMode _mode) void -QtBaseViewer::copyToImage( QImage& _image, +glViewer::copyToImage( QImage& _image, unsigned int /* _l */ , unsigned int /* _t */ , unsigned int /* _w */ , unsigned int /* _h */ , GLenum /* _buffer */ ) @@ -591,7 +581,7 @@ QtBaseViewer::copyToImage( QImage& _image, //----------------------------------------------------------------------------- -void QtBaseViewer::drawNow() +void glViewer::drawNow() { makeCurrent(); paintGL(); @@ -599,7 +589,7 @@ void QtBaseViewer::drawNow() glView_->repaint(); } -void QtBaseViewer::updateGL() +void glViewer::updateGL() { if (!isUpdateLocked() && !isHidden() ) { @@ -612,16 +602,37 @@ void QtBaseViewer::updateGL() //----------------------------------------------------------------------------- -void QtBaseViewer::drawScene() +void glViewer::drawScene() { QTime timer; timer.start(); - // adjust clipping planes + // ***************************************************************** + // Adjust clipping planes + // ***************************************************************** + // Far plane ACG::Vec3d c = glstate_->modelview().transform_point(scene_center_); - near_ = std::max(0.0001f * scene_radius_, -(c[2] + scene_radius_)); + + // Set far plane far_ = std::max(0.0002f * scene_radius_, -(c[2] - scene_radius_)); + + // Set near plane + near_ = std::max(0.0001f * scene_radius_, -(c[2] + scene_radius_)); + + // measure distance from scene center ( as projection onto the z-Axis ) +// if ( -c[2] < scene_radius_ ) { +// std::cerr << "Camera in scene radius" << std::endl; +// +// } +// +// std::cerr << "-c[2] : " << -c[2] << std::endl; +// std::cerr << "radius : " << scene_radius_ << std::endl; +// std::cerr << "z-range : " << far_ - near_ << std::endl; +// std::cerr << "Near : " << near_ << std::endl; +// std::cerr << "Far : " << far_ << std::endl; +// near_ = std::max(far_ / 256.0f, -(c[2] + scene_radius_)); + updateProjectionMatrix(); // store time since last repaint in gl state and restart timer @@ -641,7 +652,7 @@ void QtBaseViewer::drawScene() //----------------------------------------------------------------------------- -void QtBaseViewer::drawScene_mono() +void glViewer::drawScene_mono() { emit(signalDrawScene(glstate_)); @@ -680,7 +691,7 @@ void QtBaseViewer::drawScene_mono() void -QtBaseViewer::drawScene_stereo() +glViewer::drawScene_stereo() { double l, r, t, b, w, h, a, radians, wd2, ndfl; @@ -730,7 +741,7 @@ QtBaseViewer::drawScene_stereo() //----------------------------------------------------------------------------- -void QtBaseViewer::setHome() +void glViewer::setHome() { home_modelview_ = glstate_->modelview(); home_inverse_modelview_ = glstate_->inverse_modelview(); @@ -740,7 +751,7 @@ void QtBaseViewer::setHome() } -void QtBaseViewer::home() +void glViewer::home() { makeCurrent(); glstate_->set_modelview(home_modelview_, home_inverse_modelview_); @@ -758,7 +769,7 @@ void QtBaseViewer::home() //----------------------------------------------------------------------------- -void QtBaseViewer::viewAll() +void glViewer::viewAll() { makeCurrent(); @@ -780,7 +791,7 @@ void QtBaseViewer::viewAll() //----------------------------------------------------------------------------- -void QtBaseViewer::flyTo(const QPoint& _pos, bool _move_back) +void glViewer::flyTo(const QPoint& _pos, bool _move_back) { makeCurrent(); @@ -820,7 +831,7 @@ void QtBaseViewer::flyTo(const QPoint& _pos, bool _move_back) } -void QtBaseViewer::flyTo(const ACG::Vec3d& _position, +void glViewer::flyTo(const ACG::Vec3d& _position, const ACG::Vec3d& _center, double _time) { @@ -892,7 +903,7 @@ void QtBaseViewer::flyTo(const ACG::Vec3d& _position, //----------------------------------------------------------------------------- -void QtBaseViewer::setView(const ACG::GLMatrixd& _modelview, +void glViewer::setView(const ACG::GLMatrixd& _modelview, const ACG::GLMatrixd& _inverse_modelview) { makeCurrent(); @@ -904,7 +915,7 @@ void QtBaseViewer::setView(const ACG::GLMatrixd& _modelview, //----------------------------------------------------------------------------- -void QtBaseViewer::initializeGL() +void glViewer::initializeGL() { // we use GLEW to manage extensions // initialize it first @@ -970,7 +981,7 @@ void QtBaseViewer::initializeGL() //----------------------------------------------------------------------------- -void QtBaseViewer::update_lights() +void glViewer::update_lights() { makeCurrent(); @@ -1003,7 +1014,7 @@ void QtBaseViewer::update_lights() } -void QtBaseViewer::rotate_lights(ACG::Vec3d& _axis, double _angle) +void glViewer::rotate_lights(ACG::Vec3d& _axis, double _angle) { light_matrix_.rotate(_angle, _axis[0], _axis[1], _axis[2], ACG::MULT_FROM_LEFT); update_lights(); @@ -1013,7 +1024,7 @@ void QtBaseViewer::rotate_lights(ACG::Vec3d& _axis, double _angle) //----------------------------------------------------------------------------- -void QtBaseViewer::paintGL() +void glViewer::paintGL() { static bool initialized = false; if (!initialized) @@ -1110,7 +1121,7 @@ void QtBaseViewer::paintGL() //----------------------------------------------------------------------------- -void QtBaseViewer::resizeGL(int _w, int _h) +void glViewer::resizeGL(int _w, int _h) { updateProjectionMatrix(); glstate_->viewport(0, 0, _w, _h); @@ -1121,7 +1132,7 @@ void QtBaseViewer::resizeGL(int _w, int _h) //----------------------------------------------------------------------------- -void QtBaseViewer::encodeView(QString& _view) +void glViewer::encodeView(QString& _view) { const ACG::GLMatrixd m = glstate_->modelview(); const ACG::GLMatrixd p = glstate_->projection(); @@ -1150,7 +1161,7 @@ void QtBaseViewer::encodeView(QString& _view) //---------------------------------------------------------------------------- -bool QtBaseViewer::decodeView(const QString& _view) +bool glViewer::decodeView(const QString& _view) { if (_view.left(sizeof(VIEW_MAGIC)-1) != QString(VIEW_MAGIC)) return false; @@ -1207,7 +1218,7 @@ bool QtBaseViewer::decodeView(const QString& _view) //----------------------------------------------------------------------------- -void QtBaseViewer::actionCopyView() +void glViewer::actionCopyView() { QString view; encodeView(view); QApplication::clipboard()->setText(view); @@ -1217,7 +1228,7 @@ void QtBaseViewer::actionCopyView() //----------------------------------------------------------------------------- -void QtBaseViewer::actionPasteView() +void glViewer::actionPasteView() { QString view; view=QApplication::clipboard()->text(); decodeView(view); @@ -1227,7 +1238,7 @@ void QtBaseViewer::actionPasteView() //----------------------------------------------------------------------------- -void QtBaseViewer::actionDrawMenu( QAction * _action ) +void glViewer::actionDrawMenu( QAction * _action ) { unsigned int mode( _action->data().toUInt() ); @@ -1266,9 +1277,9 @@ void QtBaseViewer::actionDrawMenu( QAction * _action ) //----------------------------------------------------------------------------- void -QtBaseViewer::createWidgets(const QGLFormat* _format, +glViewer::createWidgets(const QGLFormat* _format, QStatusBar* _sb, - const QtBaseViewer* _share) + const glViewer* _share) { setStatusBar(_sb); drawMenu_=0; @@ -1399,7 +1410,7 @@ QtBaseViewer::createWidgets(const QGLFormat* _format, //----------------------------------------------------------------------------- -void QtBaseViewer::updatePopupMenu() +void glViewer::updatePopupMenu() { // // Draw mode menu @@ -1449,7 +1460,7 @@ void QtBaseViewer::updatePopupMenu() //----------------------------------------------------------------------------- -void QtBaseViewer::hidePopupMenus() +void glViewer::hidePopupMenus() { if ( drawMenu_ ) { @@ -1470,7 +1481,7 @@ void QtBaseViewer::hidePopupMenus() //----------------------------------------------------------------------------- -void QtBaseViewer::translate(const ACG::Vec3d& _trans) +void glViewer::translate(const ACG::Vec3d& _trans) { makeCurrent(); glstate_->translate(_trans[0], _trans[1], _trans[2], ACG::MULT_FROM_LEFT); @@ -1480,7 +1491,7 @@ void QtBaseViewer::translate(const ACG::Vec3d& _trans) //----------------------------------------------------------------------------- -void QtBaseViewer::initModelviewMatrix() +void glViewer::initModelviewMatrix() { makeCurrent(); glstate_->reset_modelview(); @@ -1490,7 +1501,7 @@ void QtBaseViewer::initModelviewMatrix() //----------------------------------------------------------------------------- -void QtBaseViewer::rotate(const ACG::Vec3d& _axis, +void glViewer::rotate(const ACG::Vec3d& _axis, double _angle, const ACG::Vec3d& _center) { @@ -1505,20 +1516,20 @@ void QtBaseViewer::rotate(const ACG::Vec3d& _axis, //----------------------------------------------------------------------------- -unsigned int QtBaseViewer::glWidth() const { +unsigned int glViewer::glWidth() const { return glView_->width(); } -unsigned int QtBaseViewer::glHeight() const { +unsigned int glViewer::glHeight() const { return glView_->height(); } -QSize QtBaseViewer::glSize() const { +QSize glViewer::glSize() const { return glView_->size(); } -QPoint QtBaseViewer::glMapFromGlobal( const QPoint& _pos ) const { +QPoint glViewer::glMapFromGlobal( const QPoint& _pos ) const { return glView_->mapFromGlobal(_pos); } -QPoint QtBaseViewer::glMapToGlobal( const QPoint& _pos ) const { +QPoint glViewer::glMapToGlobal( const QPoint& _pos ) const { return glView_->mapToGlobal(_pos); } @@ -1527,7 +1538,7 @@ QPoint QtBaseViewer::glMapToGlobal( const QPoint& _pos ) const { void -QtBaseViewer::slotNodeChanged(ACG::SceneGraph::BaseNode* _node) +glViewer::slotNodeChanged(ACG::SceneGraph::BaseNode* _node) { emit(signalNodeChanged(_node)); updateGL(); @@ -1537,7 +1548,7 @@ QtBaseViewer::slotNodeChanged(ACG::SceneGraph::BaseNode* _node) //----------------------------------------------------------------------------- -void QtBaseViewer::slotWheelX(double _dAngle) +void glViewer::slotWheelX(double _dAngle) { rotate(ACG::Vec3d(1,0,0),ACG::QtWidgets::QtWheel::deg(ACG::QtWidgets::QtWheel::clip(_dAngle))); updateGL(); @@ -1546,7 +1557,7 @@ void QtBaseViewer::slotWheelX(double _dAngle) emit(signalSetView(glstate_->modelview(), glstate_->inverse_modelview())); } -void QtBaseViewer::slotWheelY(double _dAngle) +void glViewer::slotWheelY(double _dAngle) { rotate(ACG::Vec3d(0,1,0),ACG::QtWidgets::QtWheel::deg(ACG::QtWidgets::QtWheel::clip(_dAngle))); updateGL(); @@ -1555,7 +1566,7 @@ void QtBaseViewer::slotWheelY(double _dAngle) emit(signalSetView(glstate_->modelview(), glstate_->inverse_modelview())); } -void QtBaseViewer::slotWheelZ(double _dist) +void glViewer::slotWheelZ(double _dist) { double dz=_dist*0.5/M_PI*scene_radius_*2.0; translate(ACG::Vec3d(0,0,dz)); @@ -1568,7 +1579,7 @@ void QtBaseViewer::slotWheelZ(double _dist) //----------------------------------------------------------------------------- -void QtBaseViewer::sceneRectChanged(const QRectF &rect) +void glViewer::sceneRectChanged(const QRectF &rect) { glBase_->setGeometry (rect); } @@ -1576,7 +1587,7 @@ void QtBaseViewer::sceneRectChanged(const QRectF &rect) //----------------------------------------------------------------------------- -void QtBaseViewer::grabGLArea() +void glViewer::grabGLArea() { glareaGrabbed_ = true; @@ -1586,7 +1597,7 @@ void QtBaseViewer::grabGLArea() glView_->grabKeyboard(); } -void QtBaseViewer::releaseGLArea() +void glViewer::releaseGLArea() { glareaGrabbed_ = false; @@ -1600,7 +1611,7 @@ void QtBaseViewer::releaseGLArea() //----------------------------------------------------------------------------- -void QtBaseViewer::glContextMenuEvent(QContextMenuEvent* _event) +void glViewer::glContextMenuEvent(QContextMenuEvent* _event) { } @@ -1609,30 +1620,30 @@ void QtBaseViewer::glContextMenuEvent(QContextMenuEvent* _event) //----------------------------------------------------------------------------- -void QtBaseViewer::glMousePressEvent(QMouseEvent* _event) +void glViewer::glMousePressEvent(QMouseEvent* _event) { // right button pressed => popup menu (ignore here) if (_event->button() != Qt::RightButton ) { - switch (actionMode_) + switch (properties_.actionMode()) { - case ExamineMode: + case Viewer::ExamineMode: if ((_event->modifiers() & Qt::ControlModifier)) // drag&drop emit startDragEvent( _event ); else viewMouseEvent(_event); // examine break; - case LightMode: + case Viewer::LightMode: lightMouseEvent(_event); break; - case PickingMode: // give event to application + case Viewer::PickingMode: // give event to application emit(signalMouseEvent(_event, pick_mode_name_)); emit(signalMouseEvent(_event)); break; - case QuestionMode: // give event to application + case Viewer::QuestionMode: // give event to application emit(signalMouseEventIdentify(_event)); break; } @@ -1643,24 +1654,24 @@ void QtBaseViewer::glMousePressEvent(QMouseEvent* _event) //----------------------------------------------------------------------------- -void QtBaseViewer::glMouseDoubleClickEvent(QMouseEvent* _event) +void glViewer::glMouseDoubleClickEvent(QMouseEvent* _event) { - switch (actionMode_) + switch (properties_.actionMode()) { - case ExamineMode: + case Viewer::ExamineMode: viewMouseEvent(_event); break; - case LightMode: + case Viewer::LightMode: lightMouseEvent(_event); break; - case PickingMode: // give event to application + case Viewer::PickingMode: // give event to application emit(signalMouseEvent(_event, pick_mode_name_)); emit(signalMouseEvent(_event)); break; - case QuestionMode: // give event to application + case Viewer::QuestionMode: // give event to application emit(signalMouseEventIdentify(_event)); break; } @@ -1670,19 +1681,19 @@ void QtBaseViewer::glMouseDoubleClickEvent(QMouseEvent* _event) //----------------------------------------------------------------------------- -void QtBaseViewer::glMouseMoveEvent(QMouseEvent* _event) +void glViewer::glMouseMoveEvent(QMouseEvent* _event) { - switch ( actionMode_ ) + switch ( properties_.actionMode() ) { - case ExamineMode: + case Viewer::ExamineMode: viewMouseEvent(_event); break; - case LightMode: + case Viewer::LightMode: lightMouseEvent(_event); break; - case PickingMode: + case Viewer::PickingMode: // give event to application // deliver mouse moves with no button down, if tracking is enabled, if ((_event->buttons() & (Qt::LeftButton | Qt::MidButton | Qt::RightButton)) @@ -1693,7 +1704,7 @@ void QtBaseViewer::glMouseMoveEvent(QMouseEvent* _event) } break; - case QuestionMode: // give event to application + case Viewer::QuestionMode: // give event to application emit(signalMouseEventIdentify(_event)); break; @@ -1706,30 +1717,30 @@ void QtBaseViewer::glMouseMoveEvent(QMouseEvent* _event) //----------------------------------------------------------------------------- -void QtBaseViewer::glMouseReleaseEvent(QMouseEvent* _event) +void glViewer::glMouseReleaseEvent(QMouseEvent* _event) { // if (_event->button() == Qt::RightButton ) // hidePopupMenus(); if (_event->button() != Qt::RightButton || - (actionMode_ == PickingMode ) ) + properties_.pickingMode() ) { - switch ( actionMode_ ) + switch ( properties_.actionMode() ) { - case ExamineMode: + case Viewer::ExamineMode: viewMouseEvent(_event); break; - case LightMode: + case Viewer::LightMode: lightMouseEvent(_event); break; - case PickingMode: // give event to application + case Viewer::PickingMode: // give event to application emit(signalMouseEvent(_event, pick_mode_name_)); emit(signalMouseEvent(_event)); break; - case QuestionMode: // give event to application + case Viewer::QuestionMode: // give event to application emit(signalMouseEventIdentify(_event)); break; @@ -1745,15 +1756,15 @@ void QtBaseViewer::glMouseReleaseEvent(QMouseEvent* _event) //----------------------------------------------------------------------------- -void QtBaseViewer::glMouseWheelEvent(QWheelEvent* _event) +void glViewer::glMouseWheelEvent(QWheelEvent* _event) { - switch ( actionMode_ ) + switch ( properties_.actionMode() ) { - case ExamineMode: + case Viewer::ExamineMode: viewWheelEvent(_event); break; - case PickingMode: // give event to application + case Viewer::PickingMode: // give event to application emit(signalWheelEvent(_event, pick_mode_name_)); break; @@ -1767,7 +1778,7 @@ void QtBaseViewer::glMouseWheelEvent(QWheelEvent* _event) //----------------------------------------------------------------------------- -void QtBaseViewer::updatePickMenu() +void glViewer::updatePickMenu() { delete pickMenu_; @@ -1808,7 +1819,7 @@ void QtBaseViewer::updatePickMenu() //----------------------------------------------------------------------------- -void QtBaseViewer::actionPickMenu( QAction * _action ) +void glViewer::actionPickMenu( QAction * _action ) { int _id = _action->data().toInt(); if (_id < (int) pick_modes_.size() ) @@ -1816,7 +1827,7 @@ void QtBaseViewer::actionPickMenu( QAction * _action ) pickMode( _id ); } - actionMode( PickingMode ); + properties_.setPickingMode(); hidePopupMenus(); } @@ -1826,7 +1837,7 @@ void QtBaseViewer::actionPickMenu( QAction * _action ) void -QtBaseViewer::viewMouseEvent(QMouseEvent* _event) +glViewer::viewMouseEvent(QMouseEvent* _event) { switch (_event->type()) { @@ -1982,7 +1993,7 @@ QtBaseViewer::viewMouseEvent(QMouseEvent* _event) void -QtBaseViewer::lightMouseEvent(QMouseEvent* _event) +glViewer::lightMouseEvent(QMouseEvent* _event) { switch (_event->type()) { @@ -2047,31 +2058,31 @@ QtBaseViewer::lightMouseEvent(QMouseEvent* _event) //----------------------------------------------------------------------------- -double QtBaseViewer::wheelZoomFactor(){ +double glViewer::wheelZoomFactor(){ return wZoomFactor_; } //----------------------------------------------------------------------------- -double QtBaseViewer::wheelZoomFactorShift(){ +double glViewer::wheelZoomFactorShift(){ return wZoomFactorShift_; } //----------------------------------------------------------------------------- -void QtBaseViewer::setWheelZoomFactor(double _factor){ +void glViewer::setWheelZoomFactor(double _factor){ wZoomFactor_ = _factor; } //----------------------------------------------------------------------------- -void QtBaseViewer::setWheelZoomFactorShift(double _factor){ +void glViewer::setWheelZoomFactorShift(double _factor){ wZoomFactorShift_ = _factor; } //----------------------------------------------------------------------------- -void QtBaseViewer::viewWheelEvent( QWheelEvent* _event) +void glViewer::viewWheelEvent( QWheelEvent* _event) { double factor = wZoomFactor_; @@ -2107,7 +2118,7 @@ void QtBaseViewer::viewWheelEvent( QWheelEvent* _event) //----------------------------------------------------------------------------- -bool QtBaseViewer::mapToSphere(const QPoint& _v2D, ACG::Vec3d& _v3D) const +bool glViewer::mapToSphere(const QPoint& _v2D, ACG::Vec3d& _v3D) const { if ( (_v2D.x() >= 0) && (_v2D.x() < (int)glWidth()) && (_v2D.y() >= 0) && (_v2D.y() < (int)glHeight()) ) @@ -2131,7 +2142,7 @@ bool QtBaseViewer::mapToSphere(const QPoint& _v2D, ACG::Vec3d& _v3D) const //----------------------------------------------------------------------------- -void QtBaseViewer::slotAnimation() +void glViewer::slotAnimation() { static int msecs=0, count=0; QTime t; @@ -2154,5 +2165,9 @@ void QtBaseViewer::slotAnimation() } } +void glViewer::slotPropertiesUpdated() { + std::cerr << "glViewer : Properties updated" << std::endl; +} + //============================================================================= //============================================================================= diff --git a/widgets/glWidget/QtBaseViewer.hh b/widgets/glWidget/QtBaseViewer.hh index 584b02b9..77acf770 100644 --- a/widgets/glWidget/QtBaseViewer.hh +++ b/widgets/glWidget/QtBaseViewer.hh @@ -34,7 +34,7 @@ //============================================================================= // -// CLASS QtBaseViewer +// CLASS glViewer // //============================================================================= @@ -43,7 +43,8 @@ //== INCLUDES ================================================================= -#include +#include +#include #include #include @@ -101,14 +102,14 @@ class QtShiftPopupMenu; //== CLASS DEFINITION ========================================================= -/** \class QtBaseViewer QtBaseViewer.hh +/** \class glViewer glViewer.hh Base Viewer Widget: All viewers are derived from this one. Implement Mouse & Keyboard Events. Redefine Signals and Slots. See for example "QtExaminerViewer" **/ -class DLLEXPORT QtBaseViewer : public QWidget +class DLLEXPORT glViewer : public QWidget { Q_OBJECT @@ -117,21 +118,21 @@ public: //--------------------------------------------------- constructor / destructor - /** Create a QtBaseViewer. + /** Create a glViewer. \param _parent parent widget \param _name name (qt internal, qt debugging) \param _statusBar pointer to an existing status bar for this widget, if \c statusBar==0 then a \a private status bar will be created \param _format OpenGL context settings, will be passed to glarea() */ - QtBaseViewer( QWidget* _parent=0, + glViewer( QWidget* _parent=0, const char* _name=0, QStatusBar *_statusBar=0, const QGLFormat* _format=0, - const QtBaseViewer* _share=0); + const glViewer* _share=0); /// Destructor. - virtual ~QtBaseViewer(); + virtual ~glViewer(); @@ -251,44 +252,6 @@ public: /// set the viewing direction void viewingDirection( const ACG::Vec3d& _dir, const ACG::Vec3d& _up ); - - - - - - - /// How to react on mouse events? - enum ActionMode { - // examine geometry, get transformations from mouse events - ExamineMode, - /** Picking mode. Actually no pick()ing is performed (!) but events are - forwarded to the application via signalMouseEvent(). - */ - PickingMode, - // same as picking, but emit signalMouseEventIdentify() - QuestionMode, - // Ligh rotation mode - LightMode - }; - - - /** Set action mode. - The ActionMode determines the type of reaction on mouse events. - \a Note: You may also use the slots examineMode(), etc. to set this - mode. - */ - void actionMode(ActionMode); - - /// Return the last action mode - ActionMode lastActionMode(){ return lastActionMode_; }; - - /// get action mode - ActionMode actionMode() const { return actionMode_; } - - signals: - void actionModeChanged( QtBaseViewer::ActionMode _mode ); - - public: @@ -447,13 +410,6 @@ public slots: const ACG::Vec3d& _center, double _time = 1000.0); - /// calls actionMode() with \c ExamineMode (cf. ActionMode) - virtual void examineMode() { actionMode(ExamineMode); } - /// calls actionMode() with \c LightMode (cf. ActionMode) - virtual void lightMode() { actionMode(LightMode); } - /// calls actionMode() with \c QuestionMode (cf. ActionMode) - virtual void questionMode() { actionMode(QuestionMode); } - /// set perspective view (projectionMode(PERSPECTIVE_PROJECTION)) virtual void perspectiveProjection(); /// set orthographic view (projectionMode(ORTHOGRAPHIC_PROJECTION)) @@ -520,7 +476,7 @@ signals: /// scene graph has changed void signalNodeChanged(ACG::SceneGraph::BaseNode* _node); /// action mode was changed - void signalActionModeChanged( QtBaseViewer::ActionMode _m); + void signalActionModeChanged( Viewer::ActionMode _m); /// render callback void signalDrawScene(ACG::GLState* _state); @@ -612,13 +568,13 @@ private slots: private: /// Copy constructor. Never used! - QtBaseViewer(const QtBaseViewer&); + glViewer(const glViewer&); /// Assignment operator. Never used! - QtBaseViewer& operator=(const QtBaseViewer&); + glViewer& operator=(const glViewer&); // create widgets void createWidgets(const QGLFormat* _format,QStatusBar* _sb, - const QtBaseViewer* _share); + const glViewer* _share); /* Recursively draws each node in the scene graph. Called by paintGL(). */ @@ -679,7 +635,6 @@ private: NormalsMode normalsMode_; FaceOrientation faceOrientation_; ProjectionMode projectionMode_; - ActionMode actionMode_, lastActionMode_; bool backFaceCulling_; bool twoSidedLighting_; bool animation_; @@ -948,11 +903,6 @@ private: public slots: - /** calls actionMode() with \c PickingMode (cf. ActionMode) - * Switches to pickingMode - */ - virtual void pickingMode(); - /** \brief set a new cursor for the pick mode * * @param _name Name of the Pick Mode @@ -1023,13 +973,6 @@ private: /** @} */ - - - - - - - //=========================================================================== /** @name Merge from examiner * @{ */ @@ -1080,6 +1023,26 @@ private: QTimer* timer_; /** @} */ + + //=========================================================================== + /** @name Viewer State + * @{ */ + //=========================================================================== + + public: + /// Returns a pointer to the Viewer Status + Viewer::ViewerProperties* properties(){ return &properties_; }; + + private: + Viewer::ViewerProperties properties_; + + private slots: + void slotPropertiesUpdated(); + + /// Called when the actionMode has been updated + void updateActionMode(Viewer::ActionMode _am); + + /** @} */ }; diff --git a/widgets/glWidget/QtBaseViewerPicking.cc b/widgets/glWidget/QtBaseViewerPicking.cc index 33bd55c7..c8908b48 100644 --- a/widgets/glWidget/QtBaseViewerPicking.cc +++ b/widgets/glWidget/QtBaseViewerPicking.cc @@ -34,7 +34,7 @@ //============================================================================= // -// CLASS QtBaseViewer - IMPLEMENTATION +// CLASS glViewer - IMPLEMENTATION // //============================================================================= @@ -55,7 +55,7 @@ static const unsigned int NAME_STACK_SIZE = 2; //== IMPLEMENTATION ========================================================== -void QtBaseViewer::renderPicking(bool _renderPicking, ACG::SceneGraph::PickTarget _mode) { +void glViewer::renderPicking(bool _renderPicking, ACG::SceneGraph::PickTarget _mode) { renderPicking_ = _renderPicking; pickRendererMode_ = _mode; } @@ -63,7 +63,7 @@ void QtBaseViewer::renderPicking(bool _renderPicking, ACG::SceneGraph::PickTarge //----------------------------------------------------------------------------- -bool QtBaseViewer::pick( ACG::SceneGraph::PickTarget _pickTarget, +bool glViewer::pick( ACG::SceneGraph::PickTarget _pickTarget, const QPoint& _mousePos, unsigned int& _nodeIdx, unsigned int& _targetIdx, @@ -126,7 +126,7 @@ bool QtBaseViewer::pick( ACG::SceneGraph::PickTarget _pickTarget, num_names = *ptr++; if ( num_names != NAME_STACK_SIZE ) { - std::cerr << "QtBaseViewer::pick() : namestack error\n\n"; + std::cerr << "glViewer::pick() : namestack error\n\n"; return false; } @@ -155,7 +155,7 @@ bool QtBaseViewer::pick( ACG::SceneGraph::PickTarget _pickTarget, return true; } else if (hits < 0) - std::cerr << "QtBaseViewer::pick() : selection buffer overflow\n\n"; + std::cerr << "glViewer::pick() : selection buffer overflow\n\n"; } return false; @@ -166,7 +166,7 @@ bool QtBaseViewer::pick( ACG::SceneGraph::PickTarget _pickTarget, bool -QtBaseViewer:: +glViewer:: fast_pick( const QPoint& _mousePos, ACG::Vec3d& _hitPoint ) { @@ -192,7 +192,7 @@ fast_pick( const QPoint& _mousePos, //----------------------------------------------------------------------------- -void QtBaseViewer::pickMode( int _id ) +void glViewer::pickMode( int _id ) { if (_id < (int) pick_modes_.size() ) { @@ -200,11 +200,11 @@ void QtBaseViewer::pickMode( int _id ) pick_mode_name_ = pick_modes_[pick_mode_idx_].name; // adjust mouse tracking - if ( actionMode_ == PickingMode ) + if ( properties_.pickingMode() ) trackMouse(pick_modes_[pick_mode_idx_].tracking); // adjust Cursor - if ( actionMode_ == PickingMode ) + if ( properties_.pickingMode() ) glView_->setCursor( pick_modes_[pick_mode_idx_].cursor); // emit signal @@ -216,7 +216,7 @@ void QtBaseViewer::pickMode( int _id ) //----------------------------------------------------------------------------- -void QtBaseViewer::addPickMode(const std::string& _name, +void glViewer::addPickMode(const std::string& _name, bool _tracking, int _pos, bool _visible, @@ -236,14 +236,14 @@ void QtBaseViewer::addPickMode(const std::string& _name, //----------------------------------------------------------------------------- -void QtBaseViewer::setPickModeCursor(const std::string& _name, QCursor _cursor) +void glViewer::setPickModeCursor(const std::string& _name, QCursor _cursor) { for (uint i=0; i < pick_modes_.size(); i++) if ( pick_modes_[i].name == _name ){ pick_modes_[i].cursor = _cursor; //switch cursor if pickMode is active - if (pick_mode_name_ == _name && actionMode_ == PickingMode) + if (pick_mode_name_ == _name && properties_.pickingMode() ) glView_->setCursor(_cursor); break; } @@ -251,14 +251,14 @@ void QtBaseViewer::setPickModeCursor(const std::string& _name, QCursor _cursor) //----------------------------------------------------------------------------- -void QtBaseViewer::setPickModeMouseTracking(const std::string& _name, bool _mouseTracking) +void glViewer::setPickModeMouseTracking(const std::string& _name, bool _mouseTracking) { for (uint i=0; i < pick_modes_.size(); i++) if ( pick_modes_[i].name == _name ){ pick_modes_[i].tracking = _mouseTracking; //switch cursor if pickMode is active - if (pick_mode_name_ == _name && actionMode_ == PickingMode) + if (pick_mode_name_ == _name && properties_.pickingMode() ) trackMouse(_mouseTracking); break; } @@ -267,7 +267,7 @@ void QtBaseViewer::setPickModeMouseTracking(const std::string& _name, bool _mous //----------------------------------------------------------------------------- -void QtBaseViewer::clearPickModes() +void glViewer::clearPickModes() { pick_modes_.clear(); pick_mode_idx_ = -1; @@ -279,7 +279,7 @@ void QtBaseViewer::clearPickModes() //----------------------------------------------------------------------------- -const std::string& QtBaseViewer::pickMode() const +const std::string& glViewer::pickMode() const { return pick_mode_name_; } @@ -288,7 +288,7 @@ const std::string& QtBaseViewer::pickMode() const //----------------------------------------------------------------------------- -void QtBaseViewer::pickMode(const std::string& _name) +void glViewer::pickMode(const std::string& _name) { for (unsigned int i=0; i