Developer Documentation
|
#include <OpenFlipper/widgets/coreWidget/CoreWidget.hh>
Signals | |
void | clearAll () |
void | loadMenu () |
void | addEmptyObjectMenu () |
void | saveMenu () |
void | saveToMenu () |
void | loadIniMenu () |
void | saveIniMenu () |
void | recentOpen (QAction *) |
void | exit () |
void | loadPlugin () |
void | showPlugins () |
Logger | |
void | log (Logtype _type, QString _message) |
void | log (QString _message) |
Public Member Functions | |
CoreWidget (QVector< ViewMode * > &_viewModes, QList< SlotInfo > &_coreSlots) | |
constructor More... | |
~CoreWidget () | |
destructor More... | |
Recent File Menu handling | |
void | addRecent (QString _filename, DataType _type) |
Add a recent file and update menu. More... | |
void | updateRecent () |
Update the recent files menu. More... | |
Private Slots | |
void | closeEvent (QCloseEvent *event) |
Called on applications close. More... | |
void | slotShowSceneGraphDialog () |
void | slotActivateExaminer () |
void | slotLog (Logtype _type, QString _message) |
Slot writing everything to the Logger widget. More... | |
void | sceneRectChanged (const QRectF &rect) |
Friends | |
class | Core |
Keys | |
typedef std::multimap< std::pair< int, Qt::KeyboardModifiers >, std::pair< QObject *, int > > | KeyMap |
typedefs More... | |
typedef std::pair< KeyMap::iterator, KeyMap::iterator > | KeyRange |
typedefs More... | |
std::vector< KeyBinding > | coreKeys_ |
vector of keys registered to the core More... | |
KeyMap | keys_ |
mapping of all keys to registered keys and the corresponding plugins More... | |
InverseKeyMap | invKeys_ |
mapping of all registered keys and the corresponding plugins to currently assigned keys More... | |
QList< SlotInfo > & | coreSlots_ |
list of scripting slots from core More... | |
bool | shiftPressed_ |
Store the state of the shift key. More... | |
void | loadKeyBindings (INIFile &_ini) |
Load key assignments from a given INI file. More... | |
void | saveKeyBindings (INIFile &_ini) |
Store current key assignments to a given INI file. More... | |
void | showReducedMenuBar (bool reduced) |
typedefs More... | |
void | PluginKeyEvent (QKeyEvent *) |
void | PluginKeyReleaseEvent (QKeyEvent *) |
void | registerKey (int _key, Qt::KeyboardModifiers _modifiers, QString _description, bool _multiUse=false) |
internal signal to register CoreWidget keys | |
void | call (QString _expression, bool &_success) |
call a scripting function | |
void | slotRegisterKey (int _key, Qt::KeyboardModifiers _modifiers, const QString &_description, bool _multiUse=false) |
key registration More... | |
virtual void | keyPressEvent (QKeyEvent *_e) |
Handle key events. More... | |
virtual void | keyReleaseEvent (QKeyEvent *_e) |
passes keyReleaseEvents to either the Core or a Plugin depending on who has registered the key More... | |
bool | event (QEvent *event) |
typedefs More... | |
bool | eventFilter (QObject *_obj, QEvent *_event) |
typedefs More... | |
void | registerCoreKeys () |
Register all events related to the core. More... | |
void | coreKeyPressEvent () |
handle key events for the core More... | |
void | coreKeyPressEvent (QKeyEvent *_e) |
Handle core key events. More... | |
void | coreKeyReleaseEvent (QKeyEvent *_e) |
if a keyReleaseEvent belongs to the core this functions is called More... | |
KeyBinding | getKeyBinding (QObject *_plugin, int _keyIndex) |
typedefs More... | |
QString | getRPCName (QObject *_plugin) |
typedefs More... | |
void | slotAddKeyMapping (int _key, Qt::KeyboardModifiers _modifiers, QObject *_plugin, int _keyBindingID) |
add a new key Mapping More... | |
void | slotRegisterSlotKeyBindings () |
register scripting slots to allow keyBindings More... | |
Basic Gui Elements | |
typedef std::map< QToolBar *, QGraphicsProxyWidget * > | PickToolBarMap |
Handle to picking toolbar. More... | |
std::vector< glViewer * > | examiner_widgets_ |
Examiner Widget. More... | |
QSplitter * | splitter_ |
Spliter between toplevel objects and the textedit at the bottom. More... | |
QWidget * | viewModeControlBox_ |
Group box containing Task Switcher Controls. More... | |
LoggerWidget * | logWidget_ |
Textedit at the bottom for log messages. More... | |
int | originalLoggerSize_ |
Size of the logging window ( defaults to 240 ) More... | |
QMenu * | recentFilesMenu_ |
QMenu containing the recently opened files. More... | |
QMenu * | algorithmMenu_ |
Algorithms Menu. More... | |
QMenu * | helpMenu_ |
Help Menu. More... | |
QMenu * | windowMenu_ |
Window Menu. More... | |
QAction * | AC_ShowViewModeControls_ |
Action for View Mode Widget Conrol in Menu. More... | |
OFGLWidget * | glWidget_ |
gl widget used as drawing area to paint the graphics scene More... | |
QtGLGraphicsScene * | glScene_ |
graphics scene used to paint gl context and widgets More... | |
QtGLGraphicsView * | glView_ |
graphics view that holds the gl scene More... | |
QGraphicsWidget * | centerWidget_ |
center widged More... | |
QtMultiViewLayout * | baseLayout_ |
Base layout that holds gl views. More... | |
QtSlideWindow * | slidingLogger_ |
Class that holds the animated log widget. More... | |
QWidget * | toolBoxArea_ |
Widget for toolBox. More... | |
QToolButton * | viewModePopupBtn_ |
view mode gear icon at the upper left of the tool box More... | |
QSplitter * | toolSplitter_ |
Spliter between toplevel objects and toolbox. More... | |
SideArea * | toolBox_ |
Toolbox. More... | |
QScrollArea * | toolBoxScroll_ |
Toolbox scroll area. More... | |
PickToolBarMap | curPickingToolbarItems_ |
Handle to picking toolbar. More... | |
QToolBar * | pickToolBarExternal_ |
Extra toolbar not in scene for picking. More... | |
std::set< QToolBar * > | registeredToolbars_ |
Store all toolbars that once have been registered. More... | |
CursorPainter * | cursorPainter_ |
Cursor handling. More... | |
ACG::QtWidgets::QtSceneGraphDialog * | sceneGraphDialog_ |
Handle to picking toolbar. More... | |
QWidgetAction * | viewModeChangePopupAction_ |
Handle to picking toolbar. More... | |
viewModeChangeWidget * | modeChangeWidget |
Handle to picking toolbar. More... | |
GUI Controls | |
OpenFlipper::Options::LoggerState | loggerState_ |
Show logger in splitter or not. More... | |
QSize | defaultIconSize_ |
Show logger in splitter or not. More... | |
void | showLoggerInSplitView (bool _show) |
Show logger in splitter or not. More... | |
void | updateInSceneLoggerGeometry () |
Set in-scene logger geometry right. More... | |
void | setForceNativeCursor (bool _state) |
Use native or gl painted cursor. More... | |
QSize | defaultIconSize () |
Show logger in splitter or not. More... | |
QScrollArea * | getToolboxScrollArea () |
Show logger in splitter or not. More... | |
QWidget * | getToolboxArea () |
Show logger in splitter or not. More... | |
SideArea * | getToolbox () |
Show logger in splitter or not. More... | |
void | toolBarVisChanged (bool _state) |
will be emitted if the visibility of the toolbar is changed | |
void | toolBoxVisChanged (bool _state) |
will be emitted if the visibility of the toolbox is changed | |
void | statusBarVisChanged (bool _state) |
will be emitted if the visibility of the statusbar is changed | |
void | menuBarVisChanged (bool _state) |
will be emitted if the visibility of the menubar is changed | |
void | fullScreenChanged (bool _state) |
will be emitted if the fullscreen state is changed (_state = true => in fullscreen) | |
void | toggleFullscreen () |
Set application to Fullscreen and back. More... | |
void | setFullscreen (bool _state) |
Enable or disable fullscreen mode. More... | |
void | toggleLogger () |
Hide or show logging area. More... | |
void | showLogger (OpenFlipper::Options::LoggerState _state) |
Change visibility of the logger. More... | |
void | toggleToolbox () |
Hide or show toolbox area. More... | |
void | showToolbox (bool _state) |
Show or hide toolbox. More... | |
void | toggleStatusBar () |
Change visibility of the Status Bar. More... | |
void | showStatusBar (bool _state) |
Show or hide status bar. More... | |
void | showMenuBar (bool _state) |
Show or hide menubar. More... | |
void | toggleMenuBar () |
Hide or show menu bar. More... | |
void | toggleToolBar () |
Hide or show current toolbar. More... | |
void | showToolBar (bool _state) |
Show or hide toolbar, emits toolBarToggled( bool _state ) More... | |
Tool Widgets / View Modes | |
QVector< QWidget * > | toolWidgets_ |
a List of all widgets in the toolbar More... | |
QAction * | viewModeButton_ |
a List of all widgets in the toolbar More... | |
QMenu * | viewModeMenu_ |
Submenu holding all ViewMode actions. More... | |
QVector< ViewMode * > & | viewModes_ |
List of currently available viewModes. More... | |
void | slotRemoveViewMode (const QString &_name) |
Remove viewMode. More... | |
void | slotSetViewMode (QAction *action) |
Slot for setting ViewMode from Menu. More... | |
void | slotViewModeDialog () |
Show a dialog in which the viewMode can be edited. More... | |
void | closeChangeViewModePopup () |
Closes the change view mode popup. More... | |
void | slotUpdateExaminer (unsigned _id) |
update the content of the specified examiner More... | |
void | initViewModes () |
init ViewModes that were loaded via ini-file More... | |
void | slotAddViewModeToolboxes (const QString &_mode, const QStringList &_usedWidgets) |
Add or change Toolboxes for a ViewMode (non-userdefined viewMode) More... | |
void | slotAddViewModeToolboxes (const QString &_mode, bool _custom, const QStringList &_usedWidgets) |
Add or change Toolboxes for a ViewMode (_custom == userdefined viewMode) More... | |
void | slotAddViewModeToolbars (const QString &_mode, const QStringList &_usedToolbars) |
Add or change Toolbars for a ViewMode (non-userdefined viewMode) More... | |
void | slotAddViewModeToolbars (const QString &_mode, bool _custom, const QStringList &_usedToolbars) |
Add or change Toolbars for a ViewMode (_custom == userdefined viewMode) More... | |
void | slotAddViewModeContextMenus (const QString &_mode, const QStringList &_usedToolbars) |
Add or change Toolbars for a ViewMode (non-userdefined viewMode) More... | |
void | slotAddViewModeContextMenus (const QString &_mode, bool _custom, const QStringList &_usedToolbars) |
Add or change Toolbars for a ViewMode (_custom == userdefined viewMode) More... | |
void | slotAddViewModeComplete (const QString &_mode, bool _custom, const QStringList &_toolboxes, const QStringList &_toolbars, const QStringList &_contextmenus) |
Completly configure a view mode ( set toolbars, toolboxes, context menus, ... ) More... | |
void | slotSetViewModeIcon (const QString &_mode, const QString &_iconName) |
Sets the Icon for a given View Mode (non-userdefined viewMode) More... | |
void | slotSetViewModeIcon (const QString &_mode, bool _custom, const QString &_iconName) |
Sets the Icon for a given View Mode (_custom == userdefined viewMode) More... | |
void | slotChangeView (QString _mode, QStringList _toolboxWidgets, QStringList _toolbars, QStringList _contextmenus, bool _expandAll=false) |
Slot for Changing visible toolWidgets. More... | |
void | slotFilterToolboxes (QString searchBarText) |
Slot for Filtering visible Toolboxes. More... | |
void | setToolBoxOrientationOnTheRight (bool _toolBoxRight) |
Set orientation of tool box (either on the right or the left side of the screen) More... | |
void | showViewModeControls (bool _show) |
Hide or show the View Mode controls. More... | |
void | slotHideContextMenu () |
Hide the context menu. More... | |
void | setViewMode (const QString &_mode, bool _expandAll=false) |
Set the view Mode to the given Mode. More... | |
void | moveToolBoxToTop (QString _name) |
Move a specific toolbox widget to the top of the side area. More... | |
void | moveToolBoxToBottom (QString _name) |
Move a specific toolbox widget to the bottom of the side area. More... | |
Menubar controls | |
QMenu * | fileMenu_ |
File Menu. More... | |
QMenu * | viewMenu_ |
View Menu. More... | |
QMenu * | pythonMenu_ |
Python Menu. More... | |
QMenu * | toolsMenu_ |
Tools Menu. More... | |
QAction * | fileMenuEnd_ |
First entry after all relevant parts of the File Menu. More... | |
QMap< QString, QMenu * > | menus_ |
All available menus. More... | |
void | slotAddMenubarAction (QAction *_action, QString _name) |
File Menu. More... | |
void | slotAddMenubarActions (std::vector< QAction * > _actions, QString _name) |
File Menu. More... | |
void | slotGetMenubarMenu (QString _name, QMenu *&_menu, bool _create) |
File Menu. More... | |
ToolBar controls | |
QToolBar * | viewerToolbar_ |
Called by Plugins to add a Toolbar. More... | |
int | toolbarCount_ |
Called by Plugins to add a Toolbar. More... | |
QToolButton * | stereoButton_ |
Called by Plugins to add a Toolbar. More... | |
QToolButton * | moveButton_ |
Called by Plugins to add a Toolbar. More... | |
QToolButton * | pickButton_ |
Called by Plugins to add a Toolbar. More... | |
QToolButton * | questionButton_ |
Called by Plugins to add a Toolbar. More... | |
QComboBox * | viewerLayoutBox_ |
Called by Plugins to add a Toolbar. More... | |
QToolBar * | mainToolbar_ |
Called by Plugins to add a Toolbar. More... | |
std::vector< QToolBar * > | toolbars_ |
Called by Plugins to add a Toolbar. More... | |
void | slotAddToolbar (QToolBar *_toolbar) |
Called by Plugins to add a Toolbar. More... | |
void | slotRemoveToolbar (QToolBar *_toolbar) |
Called by Plugins to remove a Toolbar. More... | |
void | getToolBar (QString _name, QToolBar *&_toolbar) |
Called by Plugins to get access to specific Toolbars by name. More... | |
View Menu | |
QMenu * | globalDrawMenu_ |
This variable holds the global draw menu. More... | |
QMenu * | rendererMenu_ |
This variable holds the global renderer menu. More... | |
QActionGroup * | drawGroup_ |
This variable holds the global draw menu. More... | |
QActionGroup * | rendererGroup_ |
Group for all renderers. More... | |
QActionGroup * | viewGroup_ |
Group for all menu items. More... | |
QAction * | perspectiveProjectionAction_ |
This variable holds the global draw menu. More... | |
QAction * | orthogonalProjectionAction_ |
This variable holds the global draw menu. More... | |
QAction * | globalAnimationAction_ |
Action to globally set animation. More... | |
QAction * | globalBackfaceCullingAction_ |
Action to globally set backface culling. More... | |
QAction * | globalTwosidedLightingAction_ |
Action to globally set two-sided lighting. More... | |
QAction * | globalMultisamplingAction_ |
Action to globally set multisampling. More... | |
QAction * | globalMipmappingAction_ |
Action to globally set mipmapping. More... | |
ACG::SceneGraph::DrawModes::DrawMode | activeDrawModes_ |
This variable holds the global draw menu. More... | |
ACG::SceneGraph::DrawModes::DrawMode | availableGlobalDrawModes_ |
This variable holds the global draw menu. More... | |
void | nextViewerLayout () |
Switches over to the next view mode. More... | |
void | slotGlobalDrawMenu (QAction *_action) |
Called when the global drawMode is selected. More... | |
void | slotViewMenuAboutToShow () |
Called before the view Menu is shown. More... | |
void | slotGlobalRendererMenu (QAction *_action) |
Called when the global renderer is selected. More... | |
void | slotGlobalPostProcessorMenu (QAction *_action) |
Called when the global postprocessor is selected. More... | |
void | slotUpdateGlobalDrawMenu () |
Setup and update the global draw menu. More... | |
void | slotUpdateRendererMenu () |
Setup and update the global renderer menu. More... | |
void | setViewerLayout (int _idx) |
Change viewer layout that was selected in the combo box. More... | |
Context Menu | |
QMenu * | contextMenu_ |
context Menu for the gl area More... | |
QMenu * | contextSelectionMenu_ |
Context Menu containing all selection elements. More... | |
std::vector< MenuInfo > | contextMenus_ |
All real context menu entries. More... | |
QActionGroup * | drawGroupViewer_ |
DrawGroup for per Viewer Draw Modes. More... | |
QMenu * | viewerDrawMenu_ |
Draw Menu for per Viewer Draw Modes. More... | |
QWidget * | viewerDrawMenuWidget_ |
owns all the checkboxes of viewerDrawMenu_ More... | |
QMenu * | coordSysMenu_ |
void | updateContextMenu (int) |
tells the plugins to update their context menu when an object is picked | |
void | updateContextMenuNode (int) |
tells the plugins to update their context menu when a node is picked | |
void | updateContextMenuBackground () |
tells the plugins to update their context menu when the background is picked | |
void | slotCustomContextMenu (const QPoint &_point) |
This slot is called by the examiner widgets gl area when a context menu is requested. More... | |
void | slotAddContextItem (QAction *_entry, ContextMenuType _type) |
called by plugins to add a new context menu item More... | |
void | slotAddContextItem (QAction *_entry, DataType _dataType, ContextMenuType type_) |
called by plugins to add a real context menu item depending on DataType More... | |
void | slotAddContextItemToViewMode (QAction *_entry) |
called by slotAddContextItem to add the item to the view mode More... | |
void | slotPasteView () |
Paste the view to the last active examiner. More... | |
void | slotPasteViewAndWindow () |
Paste the view, the window and toolbox size to the last active examiner. More... | |
void | slotSetView (QString view) |
Set the supplied serialized view. More... | |
void | slotSetViewAndWindowGeometry (QString view) |
Set the supplied serialized view. More... | |
void | slotCopyView () |
Copy view from the last active examiner. More... | |
void | slotViewerDrawMenu (QAction *_action) |
Called when a coordsys drawMode has been changed. More... | |
void | slotPostProcessorMenu (QAction *_action) |
Called when a different post processor has been chosen. More... | |
void | slotRenderMenu (QAction *_action) |
Called when a different renderer has been chosen. More... | |
void | slotUpdateViewerDrawMenu () |
Creates a draw Menu for the currently active Viewer. More... | |
void | slotExaminerSnapshot () |
Create a snapshot of the last active examiner. More... | |
void | slotSwitchWheels (bool _state) |
Show / hide wheels. More... | |
void | slotSwitchNavigation (bool _egomode) |
Switch navigation mode. More... | |
void | slotSnapshotName () |
Set the snapShot name for all examiners. More... | |
void | slotCoordSysVisibility (bool _visible) |
Hide coordinate systems in all viewers. More... | |
void | updatePopupMenu (const QPoint &_point) |
check current context and initialize context menu according to this context. More... | |
void | updatePopupMenuCoordsysNode (QMenu *_menu, const int _part) |
Update context Menu when Coordsys node has been clicked on. More... | |
void | updatePopupMenuObject (QMenu *_menu, BaseObjectData *_object) |
Update popup Menu when an object has been clicked on. More... | |
void | updatePopupMenuBackground (QMenu *_menu, const QPoint &_point) |
Update context Menu when background has been clicked on. More... | |
void | updatePopupMenuNode (QMenu *_menu, ACG::SceneGraph::BaseNode *_node) |
Update context Menu when an arbitrary node has been clicked on. More... | |
bool | addContextMenus (QMenu *_menu, ContextMenuType _type, int _id=-1) |
Snapshots | |
QString | snapshotName_ |
Create a snapshot of the whole app with fileDialog. More... | |
int | snapshotCounter_ |
Create a snapshot of the whole app with fileDialog. More... | |
void | viewerSnapshotDialog () |
Create a snapshot of the whole app with fileDialog. More... | |
void | viewerSnapshot () |
Create a snapshot of the whole app. More... | |
void | applicationSnapshotDialog () |
Create a snapshot of the whole app with fileDialog. More... | |
void | applicationSnapshot () |
Create a snapshot of the whole app. More... | |
void | applicationSnapshotName (const QString &_name) |
Set the snapshot name. More... | |
void | viewerSnapshot (QString file_name, bool store_comments, bool comments_visible_only, bool comments_targeted_only, bool store_material_info, int snapshot_width, int snapshot_height, bool snapshot_transparent, bool hide_coord_sys, int snapshot_multisampling, bool store_view) |
Scriptable snapshot method offering full control. More... | |
Thread-safe functions using QFuture | |
std::map< QFutureWatcher< void > *, QFuture< void > * > | watcher_garbage_ |
QMutex | map_mutex_ |
void | writeImageAsynchronously (QImage *_image, const QString &_name) |
void | delete_garbage () |
StackWidget controls | |
QMenu * | stackMenu_ |
QMenu containing the recently opened files. More... | |
std::vector< StackWidgetInfo > | stackWidgetList_ |
QMenu containing the recently opened files. More... | |
QStackedWidget * | stackedWidget_ |
Container widget for holding multiple views. More... | |
void | slotGetStackWidget (const QString &_name, QWidget *&_widget) |
QMenu containing the recently opened files. More... | |
void | slotAddStackWidget (QString _name, QWidget *_widget) |
QMenu containing the recently opened files. More... | |
void | slotUpdateStackWidget (QString _name, QWidget *_widget) |
QMenu containing the recently opened files. More... | |
void | slotViewMenuAction (QAction *_action) |
QMenu containing the recently opened files. More... | |
void | slotUpdateStackMenu () |
QMenu containing the recently opened files. More... | |
Help System | |
HelpWidget * | helpWidget_ |
Pointer to the help Browser. More... | |
static const QString | homePage_ = "qthelp://org.openflipper.user/user/index.html" |
Pointer to the help Browser. More... | |
void | changeHelpSite (QUrl) |
Pointer to the help Browser. | |
void | showHelpBrowser (const QString &page=homePage_) |
Display the help Browser. More... | |
PostProcessor dialog | |
PostProcessorDialog * | postProcessorDialog_ |
void | slotShowPostProcessorManager () |
Renderer dialog | |
RendererDialog * | rendererDialog_ |
shows the widget for the rendermanager More... | |
RendererObjectWidget * | rendererObjectWidget_ |
shows the widget for the rendermanager More... | |
void | slotShowRenderManager () |
shows the widget for the rendermanager More... | |
void | slotShowRenderObjectWidget () |
Shows the widget containing the current render objects. More... | |
Stereo View Mode | |
StereoSettingsWidget * | stereoSettingsWidget_ |
Widget to change stereo settings. More... | |
void | stereoButtonContextMenu (const QPoint &_pos) |
Creates custom context menu for stereo viewer settings. More... | |
void | slotApplyStereoSettings (int _tmpParam=0) |
About System | |
AboutWidget * | aboutWidget_ |
Pointer to the about widget. More... | |
QMap< QString, QString > | additionalAboutTabs_ |
Additional tab information, that could be provided by plugins. More... | |
void | addCoreLicenseInfo () |
Add license information about core parts. More... | |
void | showAboutWidget () |
Display the about widget. More... | |
void | addAboutInfo (const QString &_text, const QString &_tabName) |
Adds an entry to the about dialog. More... | |
Options System | |
OptionsWidget * | optionsWidget_ |
Pointer to the OptionsWidget. More... | |
PythonWidget * | pythonWidget_ |
Pointer to the about widget. More... | |
void | applyOptions () |
Pointer to the OptionsWidget. | |
void | saveOptions () |
Pointer to the OptionsWidget. | |
void | showOptionsWidget () |
Display the Options Browser. More... | |
void | showPythonScriptInterpreter () |
Pointer to the OptionsWidget. More... | |
StatusBar controls | |
ColorStatusBar * | statusBar_ |
QLabel * | statusIcon_ |
void | setupStatusBar () |
void | statusMessage (QString _message, int _timeout=0) |
void | clearStatusMessage () |
void | setStatus (ApplicationStatus::applicationStatus _status) |
void | addWidgetToStatusbar (QWidget *_widget) |
Viewer Controls | |
bool | stereoActive_ |
The viewer with id _viewerId changed its draw Mode. More... | |
void | drawModeChanged (int _viewerId) |
The viewer with id _viewerId changed its draw Mode. | |
void | slotToggleStereoMode () |
Enable or disable Stereo. More... | |
void | slotSetGlobalBackgroundColor () |
Set Background Color for all viewers at once. More... | |
void | slotSetContextBackgroundColor () |
Set Background Color for one viewer. More... | |
void | slotContextHomeView () |
Set the active viewer to home position. More... | |
void | slotGlobalHomeView () |
Set the viewer to home position. More... | |
void | slotContextSetHomeView () |
Set the active viewers home position. More... | |
void | slotGlobalSetHomeView () |
Set the home position for all viewers. More... | |
void | slotContextViewAll () |
Change view on active viewer to view complete scene. More... | |
void | slotGlobalViewAll () |
Change view on all viewers to view complete scene. More... | |
void | slotContextSwitchProjection () |
Toggle projection mode of the active viewer. More... | |
ACG::SceneGraph::CoordsysNode::ProjectionMode | getCoordsysProjection () |
Toggle coordsys projection mode of the active viewer. More... | |
void | slotContextSwitchCoordsysProjection () |
Toggle coordsys projection mode of the active viewer. More... | |
void | slotGlobalPerspectiveProjection () |
Toggle projection mode of all viewers to perspective projection. More... | |
void | slotGlobalOrthographicProjection () |
Toggle projection mode of all viewers to orthographic projection. More... | |
void | slotSetViewingDirection (QAction *_action) |
Change the viewing direction from context-menu. More... | |
void | slotLockRotation (bool _lock) |
Lock rotation in current examiner widget. More... | |
void | slotGlobalToggleAnimation () |
If animation is disabled in all viewers, enable it in all viewers. Otherwise disable it. More... | |
void | slotGlobalChangeAnimation (bool _animation) |
Set the animation mode for all viewers. More... | |
void | slotLocalChangeAnimation (bool _animation) |
Set the animation mode for active viewer. More... | |
void | slotGlobalToggleBackFaceCulling () |
If backface culling is disabled in all viewers, enable it in all viewers. Otherwise disable it. More... | |
void | slotGlobalChangeBackFaceCulling (bool _backFaceCulling) |
Set backface culling for all viewers. More... | |
void | slotLocalChangeBackFaceCulling (bool _backFaceCulling) |
Set backface culling for active viewer. More... | |
void | slotGlobalToggleTwoSidedLighting () |
If two-sided lighting is disabled in all viewers, enable it in all viewers. Otherwise disable it. More... | |
void | slotGlobalChangeTwoSidedLighting (bool _lighting) |
Set two-sided lighting for all viewers. More... | |
void | slotLocalChangeTwoSidedLighting (bool _lighting) |
Set two-sided lighting for active viewer. More... | |
void | slotGlobalToggleMultisampling () |
If multisampling is disabled in all viewers, enable it in all viewers. Otherwise disable it. More... | |
void | slotGlobalChangeMultisampling (bool _multisampling) |
Set multisampling for all viewers. More... | |
void | slotLocalChangeMultisampling (bool _multisampling) |
Set multisampling for active viewer. More... | |
void | slotGlobalToggleMipmapping () |
If mipmapping is disabled in all viewers, enable it in all viewers. Otherwise disable it. More... | |
void | slotGlobalChangeMipmapping (bool _multisampling) |
Set mipmapping for all viewers. More... | |
void | slotLocalChangeMipmapping (bool _mipmapping) |
Set mipmapping for active viewer. More... | |
void | moveBack () |
When using first person mode move backward. More... | |
void | moveForward () |
When using first person mode move forward. More... | |
void | strafeLeft () |
When using first person mode strafe to the left. More... | |
void | strafeRight () |
When using first person mode strafe to the right. More... | |
Action Mode States | |
Viewer::ActionMode | actionMode_ |
Viewer::ActionMode | lastActionMode_ |
bool | pickingMode () |
bool | lightMode () |
bool | questionMode () |
void | setExamineMode () |
void | setPickingMode () |
void | setQuestionMode () |
void | setActionMode (const Viewer::ActionMode _am) |
void | getActionMode (Viewer::ActionMode &_am) |
Viewer::ActionMode | actionMode () |
Viewer::ActionMode | lastActionMode () |
bool | examineMode () |
PickModes | |
QMenu * | pickMenu_ |
std::vector< PickMode > | pick_modes_ |
std::string | pick_mode_name_ |
int | pick_mode_idx_ |
std::vector< QAction * > | extended_actions |
void | addPickMode (const std::string &_name, bool _mouse_tracking=false, int _pos=-1, bool _visible=true, QCursor _cursor=Qt::ArrowCursor) |
add pick mode More... | |
void | clearPickModes () |
const std::string & | pickMode () const |
void | pickMode (int _id) |
void | expandToolBoxWidget (QWidget *widget, bool expand) |
void | signalPickModeChanged (const std::string &) |
void | hidePopupMenus () |
void | updatePickMenu () |
update pick mode menu More... | |
void | setPickMode (const std::string &_name) |
void | getPickMode (std::string &_name) |
void | setActivePickToolBar (QToolBar *_tool) |
Set toolbar to be active pick toolbar. More... | |
void | hidePickToolBar () |
Hide picking toolbar. More... | |
void | setPickModeCursor (const std::string &_name, QCursor _cursor) |
set a new cursor for the pick mode More... | |
void | setPickModeMouseTracking (const std::string &_name, bool _mouseTracking) |
set mouseTracking for the pick mode More... | |
void | setPickModeToolbar (const std::string &_mode, QToolBar *_toolbar) |
Set the additional toolbar of the given PickMode. More... | |
void | removePickModeToolbar (const std::string &_mode) |
Removes the additional toolbar of the given PickMode. More... | |
void | actionPickMenu (QAction *_action) |
GUI creation | |
void | setupMenuBar () |
Setup the main menubar. More... | |
std::vector< PluginInfo > & | plugins () |
Convenient way to access plugin list. More... | |
Video Capturing | |
void | startVideoCapture (QString _baseName, int _fps, bool _captureViewers) |
void | stopVideoCapture () |
void | resizeViewers (int _width, int _height) |
void | resizeApplication (int _width, int _height) |
void | startVideoCaptureDialog () |
Drag and Drop | |
void | dragOpenFile (QString _filename) |
void | startDrag (QMouseEvent *_event) |
void | dragEnterEvent (QDragEnterEvent *_event) |
void | dropEvent (QDropEvent *_event) |
Core Widget of the Application
Definition at line 283 of file CoreWidget.hh.
|
private |
typedefs
Definition at line 368 of file CoreWidget.hh.
|
private |
typedefs
Definition at line 370 of file CoreWidget.hh.
|
private |
Handle to picking toolbar.
Definition at line 747 of file CoreWidget.hh.
CoreWidget::~CoreWidget | ( | ) |
destructor
Definition at line 672 of file CoreWidget.cc.
|
inline |
Set action mode. The ActionMode determines the type of reaction on mouse events.
Definition at line 1477 of file CoreWidget.hh.
|
slot |
Vector of all Picking modes
Definition at line 333 of file picking.cc.
|
slot |
|
private |
Definition at line 521 of file ContextMenu.cc.
|
private |
Add license information about core parts.
Adds the license information to the about dialog for used libraries.
Definition at line 45 of file CoreLicenseInfos.cc.
void CoreWidget::addPickMode | ( | const std::string & | _name, |
bool | _mouse_tracking = false , |
||
int | _pos = -1 , |
||
bool | _visible = true , |
||
QCursor | _cursor = Qt::ArrowCursor |
||
) |
add pick mode
_name | Name of the Pick Mode or "Separator" to insert a separator |
_mouse_tracking | true: every mouse movement will emit mouse events not only when mousebutton is pressed |
_pos | position to insert the mode in the popup menu. |
_visible | If true, the ode will be visible in the ui, otherwise it is a hidden pick mode |
_cursor | The cursor that should be used when the given pickmode is active |
Definition at line 393 of file picking.cc.
void CoreWidget::addRecent | ( | QString | _filename, |
DataType | _type | ||
) |
Add a recent file and update menu.
Definition at line 878 of file CoreWidget.cc.
|
slot |
Definition at line 128 of file StatusBar.cc.
|
slot |
Create a snapshot of the whole app.
Take a snapshot of the whole application.
Definition at line 541 of file viewerControl.cc.
|
slot |
Create a snapshot of the whole app with fileDialog.
Take a snapshot of the whole application.
Definition at line 492 of file viewerControl.cc.
|
slot |
Set the snapshot name.
Definition at line 900 of file viewerControl.cc.
void CoreWidget::clearPickModes | ( | ) |
clear all pick modes
Definition at line 481 of file picking.cc.
|
slot |
Definition at line 95 of file StatusBar.cc.
|
privateslot |
Closes the change view mode popup.
Definition at line 342 of file viewMode.cc.
|
privateslot |
Called on applications close.
Definition at line 925 of file CoreWidget.cc.
|
private |
handle key events for the core
This function is called to handle key events which are registered to the core
|
private |
Handle core key events.
if a keyPressEvent belongs to the core this functions is called
Definition at line 564 of file keyHandling.cc.
|
private |
if a keyReleaseEvent belongs to the core this functions is called
Definition at line 671 of file keyHandling.cc.
QSize CoreWidget::defaultIconSize | ( | ) |
Show logger in splitter or not.
Definition at line 142 of file CoreWidgetToolbar.cc.
|
privateslot |
Definition at line 925 of file viewerControl.cc.
|
privateslot |
Definition at line 128 of file dragAndDrop.cc.
|
signal |
|
privateslot |
Definition at line 142 of file dragAndDrop.cc.
|
private |
typedefs
Definition at line 1105 of file CoreWidget.cc.
|
private |
typedefs
Definition at line 131 of file MenuBar.cc.
|
inlineslot |
Set action mode. The ActionMode determines the type of reaction on mouse events.
Definition at line 1461 of file CoreWidget.hh.
void CoreWidget::expandToolBoxWidget | ( | QWidget * | widget, |
bool | expand | ||
) |
Vector of all Picking modes
Definition at line 492 of file picking.cc.
void CoreWidget::getActionMode | ( | Viewer::ActionMode & | _am | ) |
Set action mode. The ActionMode determines the type of reaction on mouse events.
Definition at line 152 of file picking.cc.
|
privateslot |
Toggle coordsys projection mode of the active viewer.
Definition at line 182 of file viewerControl.cc.
|
private |
typedefs
Definition at line 50 of file keyHandling.cc.
|
slot |
Vector of all Picking modes
Definition at line 173 of file picking.cc.
|
private |
typedefs
Definition at line 63 of file keyHandling.cc.
|
privateslot |
Called by Plugins to get access to specific Toolbars by name.
Definition at line 112 of file CoreWidgetToolbar.cc.
|
inline |
Show logger in splitter or not.
Definition at line 516 of file CoreWidget.hh.
|
inline |
Show logger in splitter or not.
Definition at line 515 of file CoreWidget.hh.
|
inline |
Show logger in splitter or not.
Definition at line 514 of file CoreWidget.hh.
|
slot |
Hide picking toolbar.
Definition at line 270 of file picking.cc.
|
privateslot |
Vector of all Picking modes
Definition at line 349 of file picking.cc.
|
slot |
init ViewModes that were loaded via ini-file
Definition at line 54 of file viewMode.cc.
|
protectedvirtual |
Handle key events.
passes keyPressEvents to either the Core or a Plugin depending on who has registered the key
Definition at line 77 of file keyHandling.cc.
|
protectedvirtual |
passes keyReleaseEvents to either the Core or a Plugin depending on who has registered the key
Definition at line 149 of file keyHandling.cc.
|
inline |
Set action mode. The ActionMode determines the type of reaction on mouse events.
Definition at line 1478 of file CoreWidget.hh.
|
inline |
Set action mode. The ActionMode determines the type of reaction on mouse events.
Definition at line 1463 of file CoreWidget.hh.
void CoreWidget::loadKeyBindings | ( | INIFile & | _ini | ) |
Load key assignments from a given INI file.
Definition at line 414 of file keyHandling.cc.
|
privateslot |
When using first person mode move backward.
Definition at line 1143 of file viewerControl.cc.
|
privateslot |
When using first person mode move forward.
Definition at line 1147 of file viewerControl.cc.
|
slot |
Move a specific toolbox widget to the bottom of the side area.
Definition at line 492 of file viewMode.cc.
|
slot |
Move a specific toolbox widget to the top of the side area.
Definition at line 487 of file viewMode.cc.
|
privateslot |
Switches over to the next view mode.
Definition at line 956 of file CoreWidget.cc.
|
inline |
Set action mode. The ActionMode determines the type of reaction on mouse events.
Definition at line 1462 of file CoreWidget.hh.
const std::string & CoreWidget::pickMode | ( | ) | const |
return the currently active pick mode
Definition at line 497 of file picking.cc.
void CoreWidget::pickMode | ( | int | _id | ) |
Switch to given picking mode
_id | Id of the picking Mode |
Definition at line 363 of file picking.cc.
|
signal |
When this Signal is emitted when a Keyevent Event occures The signal is connected to all Plugins implementing KeyInterface by the pluginLoader
|
signal |
When this Signal is emitted when a Keyevent Release occures The signal is connected to all Plugins implementing KeyInterface by the pluginLoader
|
private |
Convenient way to access plugin list.
Definition at line 679 of file CoreWidget.cc.
|
inline |
Set action mode. The ActionMode determines the type of reaction on mouse events.
Definition at line 1464 of file CoreWidget.hh.
|
private |
Register all events related to the core.
if a keyPressEvent belongs to the core this functions is called
Definition at line 520 of file keyHandling.cc.
|
slot |
Removes the additional toolbar of the given PickMode.
Set the additional toolbar that should be shown in the pickMode
_mode | Identifier of Picking mode |
Definition at line 466 of file picking.cc.
void CoreWidget::saveKeyBindings | ( | INIFile & | _ini | ) |
Store current key assignments to a given INI file.
Definition at line 471 of file keyHandling.cc.
|
privateslot |
Updates the size of the main graphics widget in the scene
Definition at line 1053 of file CoreWidget.cc.
void CoreWidget::setActionMode | ( | const Viewer::ActionMode | _am | ) |
Set action mode. The ActionMode determines the type of reaction on mouse events.
Definition at line 62 of file picking.cc.
|
slot |
Set toolbar to be active pick toolbar.
Definition at line 179 of file picking.cc.
|
inline |
Set action mode. The ActionMode determines the type of reaction on mouse events.
Definition at line 1469 of file CoreWidget.hh.
void CoreWidget::setForceNativeCursor | ( | bool | _state | ) |
Use native or gl painted cursor.
Definition at line 1098 of file CoreWidget.cc.
|
slot |
Enable or disable fullscreen mode.
Enable or disable Fullscreen Mode
Definition at line 700 of file CoreWidget.cc.
|
inline |
Set action mode. The ActionMode determines the type of reaction on mouse events.
Definition at line 1470 of file CoreWidget.hh.
|
slot |
Switch to given picking mode
_name | Name of the picking mode |
Definition at line 158 of file picking.cc.
|
slot |
set a new cursor for the pick mode
_name | Name of the Pick Mode |
_cursor | the new cursor |
Definition at line 414 of file picking.cc.
|
slot |
set mouseTracking for the pick mode
_name | Name of the Pick Mode |
_mouseTracking | true: every mouse movement will emit mouse events not only when mousebutton is pressed |
Definition at line 429 of file picking.cc.
|
slot |
Set the additional toolbar of the given PickMode.
Set the additional toolbar that should be shown in the pickMode
_mode | Identifier of Picking mode |
_toolbar | the toolbar |
Definition at line 446 of file picking.cc.
|
inline |
Set action mode. The ActionMode determines the type of reaction on mouse events.
Definition at line 1471 of file CoreWidget.hh.
|
slot |
Definition at line 102 of file StatusBar.cc.
|
slot |
Set orientation of tool box (either on the right or the left side of the screen)
Definition at line 838 of file CoreWidget.cc.
void CoreWidget::setupMenuBar | ( | ) |
Setup the main menubar.
Definition at line 153 of file MenuBar.cc.
|
private |
Definition at line 70 of file StatusBar.cc.
|
slot |
Change viewer layout that was selected in the combo box.
Definition at line 995 of file CoreWidget.cc.
|
slot |
Set the view Mode to the given Mode.
Slot for setting the viewMode from menu.
Definition at line 318 of file viewMode.cc.
|
slot |
|
slot |
|
slot |
Change visibility of the logger.
Hide or show logger
Definition at line 68 of file LoggerHandling.cc.
void CoreWidget::showLoggerInSplitView | ( | bool | _show | ) |
Show logger in splitter or not.
Definition at line 110 of file LoggerHandling.cc.
|
slot |
Show or hide menubar.
Definition at line 776 of file CoreWidget.cc.
|
slot |
Display the Options Browser.
Definition at line 929 of file CoreWidget.cc.
|
slot |
Pointer to the OptionsWidget.
void CoreWidget::showReducedMenuBar | ( | bool | reduced | ) |
typedefs
Definition at line 147 of file MenuBar.cc.
|
slot |
|
slot |
Show or hide toolbar, emits toolBarToggled( bool _state )
Show or hide toolbar.
Definition at line 793 of file CoreWidget.cc.
|
slot |
|
slot |
Hide or show the View Mode controls.
Definition at line 718 of file CoreWidget.cc.
|
signal |
This signal is emitted when the pickMode is changed and contains the new PickMode
|
privateslot |
Makes the sender examiner active
Definition at line 1076 of file CoreWidget.cc.
|
privateslot |
called by plugins to add a new context menu item
Definition at line 746 of file ContextMenu.cc.
|
privateslot |
called by plugins to add a real context menu item depending on DataType
Definition at line 755 of file ContextMenu.cc.
|
privateslot |
called by slotAddContextItem to add the item to the view mode
Definition at line 765 of file ContextMenu.cc.
|
slot |
add a new key Mapping
add a new keyMapping (keyBindingID is the id of the keyBinding in the pluginInfo of _plugin :)
internal function that stores a new keyCombination assignment for an existing keyBinding
Definition at line 348 of file keyHandling.cc.
|
privateslot |
File Menu.
Definition at line 61 of file MenuBar.cc.
|
privateslot |
File Menu.
Definition at line 82 of file MenuBar.cc.
|
privateslot |
QMenu containing the recently opened files.
Definition at line 79 of file StackWidget.cc.
|
privateslot |
Called by Plugins to add a Toolbar.
Definition at line 60 of file CoreWidgetToolbar.cc.
|
slot |
Completly configure a view mode ( set toolbars, toolboxes, context menus, ... )
Definition at line 322 of file viewMode.cc.
|
slot |
Add or change Toolbars for a ViewMode (_custom == userdefined viewMode)
Definition at line 202 of file viewMode.cc.
|
slot |
Add or change Toolbars for a ViewMode (non-userdefined viewMode)
Definition at line 198 of file viewMode.cc.
|
slot |
Add or change Toolbars for a ViewMode (_custom == userdefined viewMode)
Definition at line 145 of file viewMode.cc.
|
slot |
Add or change Toolbars for a ViewMode (non-userdefined viewMode)
Definition at line 141 of file viewMode.cc.
|
slot |
Add or change Toolboxes for a ViewMode (_custom == userdefined viewMode)
Definition at line 97 of file viewMode.cc.
|
slot |
Add or change Toolboxes for a ViewMode (non-userdefined viewMode)
Definition at line 93 of file viewMode.cc.
|
slot |
Is called if the user has changed stereo settings Note: The parameter just makes sure, we can connect all necessary signals to this slot. It has no use for now.
Definition at line 519 of file viewMode.cc.
|
slot |
Slot for Changing visible toolWidgets.
Definition at line 382 of file viewMode.cc.
|
privateslot |
Set the active viewer to home position.
Set the viewer to home position.
Definition at line 124 of file viewerControl.cc.
|
privateslot |
Set the active viewers home position.
Set the viewers home position.
Definition at line 153 of file viewerControl.cc.
|
privateslot |
Toggle coordsys projection mode of the active viewer.
Definition at line 195 of file viewerControl.cc.
|
privateslot |
Toggle projection mode of the active viewer.
Definition at line 177 of file viewerControl.cc.
|
privateslot |
Change view on active viewer to view complete scene.
Definition at line 165 of file viewerControl.cc.
|
privateslot |
Hide coordinate systems in all viewers.
Definition at line 1106 of file viewerControl.cc.
|
privateslot |
Copy view from the last active examiner.
Definition at line 1088 of file viewerControl.cc.
|
privateslot |
This slot is called by the examiner widgets gl area when a context menu is requested.
Definition at line 60 of file ContextMenu.cc.
|
privateslot |
Create a snapshot of the last active examiner.
Take a snapshot of the current Viewer.
Definition at line 349 of file viewerControl.cc.
|
slot |
Slot for Filtering visible Toolboxes.
Definition at line 349 of file viewMode.cc.
|
privateslot |
File Menu.
Definition at line 108 of file MenuBar.cc.
|
privateslot |
QMenu containing the recently opened files.
Definition at line 67 of file StackWidget.cc.
|
privateslot |
Set the animation mode for all viewers.
Definition at line 241 of file viewerControl.cc.
|
privateslot |
Set backface culling for all viewers.
Definition at line 265 of file viewerControl.cc.
|
privateslot |
Set mipmapping for all viewers.
Definition at line 338 of file viewerControl.cc.
|
privateslot |
Set multisampling for all viewers.
Definition at line 314 of file viewerControl.cc.
|
privateslot |
Set two-sided lighting for all viewers.
Definition at line 290 of file viewerControl.cc.
|
privateslot |
Called when the global drawMode is selected.
Definition at line 935 of file MenuBar.cc.
|
privateslot |
Set the viewer to home position.
Definition at line 147 of file viewerControl.cc.
|
privateslot |
Toggle projection mode of all viewers to orthographic projection.
Toggle projection mode of all viewers to orthogonal projection.
Definition at line 222 of file viewerControl.cc.
|
privateslot |
Toggle projection mode of all viewers to perspective projection.
Definition at line 216 of file viewerControl.cc.
|
privateslot |
Called when the global postprocessor is selected.
Definition at line 925 of file MenuBar.cc.
|
privateslot |
Called when the global renderer is selected.
Definition at line 909 of file MenuBar.cc.
|
privateslot |
Set the home position for all viewers.
Definition at line 159 of file viewerControl.cc.
|
privateslot |
If animation is disabled in all viewers, enable it in all viewers. Otherwise disable it.
Definition at line 229 of file viewerControl.cc.
|
privateslot |
If backface culling is disabled in all viewers, enable it in all viewers. Otherwise disable it.
Definition at line 253 of file viewerControl.cc.
|
privateslot |
If mipmapping is disabled in all viewers, enable it in all viewers. Otherwise disable it.
Definition at line 326 of file viewerControl.cc.
|
privateslot |
If multisampling is disabled in all viewers, enable it in all viewers. Otherwise disable it.
Definition at line 302 of file viewerControl.cc.
|
privateslot |
If two-sided lighting is disabled in all viewers, enable it in all viewers. Otherwise disable it.
Definition at line 278 of file viewerControl.cc.
|
privateslot |
Change view on all viewers to view complete scene.
Definition at line 171 of file viewerControl.cc.
|
slot |
Hide the context menu.
Definition at line 77 of file ContextMenu.cc.
|
privateslot |
Set the animation mode for active viewer.
Definition at line 247 of file viewerControl.cc.
|
privateslot |
Set backface culling for active viewer.
Definition at line 272 of file viewerControl.cc.
|
privateslot |
Set mipmapping for active viewer.
Definition at line 344 of file viewerControl.cc.
|
privateslot |
Set multisampling for active viewer.
Definition at line 320 of file viewerControl.cc.
|
privateslot |
Set two-sided lighting for active viewer.
Definition at line 296 of file viewerControl.cc.
|
privateslot |
Lock rotation in current examiner widget.
Definition at line 1136 of file viewerControl.cc.
|
privateslot |
Slot writing everything to the Logger widget.
Display a log message in the Mainwidget
_type | Type of Message (OUT,WARN,ERR) |
_message | The message to be displayed |
This slot has to be called by all loggers. It is used to serialize and color the Output.
_type | Logtype (defines the color of the output) |
_message | The message for output |
Definition at line 71 of file CoreWidgetLogging.cc.
|
privateslot |
Paste the view to the last active examiner.
Definition at line 946 of file viewerControl.cc.
|
privateslot |
Paste the view, the window and toolbox size to the last active examiner.
Definition at line 1045 of file viewerControl.cc.
|
privateslot |
Called when a different post processor has been chosen.
Definition at line 896 of file ContextMenu.cc.
|
privateslot |
key registration
Register a key to the core or a plugin.
internal slot that registers a keyCombination to the sender() who emitted the registerKey() signal only after registering keyCombinations plugins receive keyEvents to the corresponding keyCombinations via KeyInterface.
Definition at line 206 of file keyHandling.cc.
|
slot |
register scripting slots to allow keyBindings
scripting slots will automatically registered to be assigned to an invalid key(-1)
internal function that registers all public slots without parameters of each plugin (or core) to the key management system. This allows the assignment of keyBindings for each of these slots.
Definition at line 283 of file keyHandling.cc.
|
privateslot |
Called by Plugins to remove a Toolbar.
Definition at line 128 of file CoreWidgetToolbar.cc.
|
privateslot |
|
privateslot |
Called when a different renderer has been chosen.
Definition at line 901 of file ContextMenu.cc.
|
privateslot |
Set Background Color for one viewer.
Definition at line 109 of file viewerControl.cc.
|
privateslot |
Set Background Color for all viewers at once.
Definition at line 92 of file viewerControl.cc.
|
privateslot |
Set the supplied serialized view.
Definition at line 950 of file viewerControl.cc.
|
privateslot |
Set the supplied serialized view.
Definition at line 954 of file viewerControl.cc.
|
privateslot |
Change the viewing direction from context-menu.
Definition at line 1126 of file viewerControl.cc.
|
privateslot |
Slot for setting ViewMode from Menu.
Slot for setting the viewMode from menu.
Definition at line 313 of file viewMode.cc.
|
slot |
Sets the Icon for a given View Mode (_custom == userdefined viewMode)
Sets the Icon for a given View Mode.
Definition at line 250 of file viewMode.cc.
|
slot |
Sets the Icon for a given View Mode (non-userdefined viewMode)
Sets the Icon for a given View Mode.
Definition at line 245 of file viewMode.cc.
|
slot |
Definition at line 56 of file postProcessorDialog.cc.
|
slot |
shows the widget for the rendermanager
Definition at line 56 of file rendererDialog.cc.
|
slot |
Shows the widget containing the current render objects.
Definition at line 69 of file rendererDialog.cc.
|
privateslot |
Creates and shows the Scenegraph Dialog
Definition at line 1027 of file CoreWidget.cc.
|
privateslot |
Set the snapShot name for all examiners.
Definition at line 720 of file ContextMenu.cc.
|
privateslot |
Switch navigation mode.
Definition at line 137 of file viewerControl.cc.
|
privateslot |
Show / hide wheels.
Show / hide wheels in examiner windows.
Definition at line 129 of file viewerControl.cc.
|
privateslot |
Enable or disable Stereo.
Definition at line 74 of file viewerControl.cc.
|
privateslot |
update the content of the specified examiner
Definition at line 545 of file viewMode.cc.
|
slot |
Setup and update the global draw menu.
Definition at line 850 of file MenuBar.cc.
|
slot |
Setup and update the global renderer menu.
Definition at line 774 of file MenuBar.cc.
|
privateslot |
QMenu containing the recently opened files.
Definition at line 143 of file StackWidget.cc.
|
privateslot |
QMenu containing the recently opened files.
Definition at line 96 of file StackWidget.cc.
|
privateslot |
Creates a draw Menu for the currently active Viewer.
Definition at line 802 of file ContextMenu.cc.
|
privateslot |
Called when a coordsys drawMode has been changed.
Definition at line 868 of file ContextMenu.cc.
|
privateslot |
Called before the view Menu is shown.
Definition at line 655 of file MenuBar.cc.
|
privateslot |
QMenu containing the recently opened files.
Definition at line 122 of file StackWidget.cc.
|
privateslot |
Show a dialog in which the viewMode can be edited.
show dialog for changing ViewMode
Definition at line 329 of file viewMode.cc.
|
privateslot |
Definition at line 67 of file dragAndDrop.cc.
|
privateslot |
Definition at line 1062 of file CoreWidget.cc.
|
slot |
Definition at line 62 of file StatusBar.cc.
|
slot |
Creates custom context menu for stereo viewer settings.
Definition at line 497 of file viewMode.cc.
|
privateslot |
When using first person mode strafe to the left.
Definition at line 1151 of file viewerControl.cc.
|
privateslot |
When using first person mode strafe to the right.
Definition at line 1155 of file viewerControl.cc.
|
slot |
Set application to Fullscreen and back.
Set viewer to Fullscreen Mode and back
Definition at line 688 of file CoreWidget.cc.
|
slot |
|
slot |
|
slot |
Change visibility of the Status Bar.
Hide or show Status bar
Definition at line 144 of file StatusBar.cc.
|
slot |
Hide or show current toolbar.
Definition at line 829 of file CoreWidget.cc.
|
slot |
void CoreWidget::updateInSceneLoggerGeometry | ( | ) |
Set in-scene logger geometry right.
Definition at line 151 of file LoggerHandling.cc.
|
private |
update pick mode menu
Definition at line 291 of file picking.cc.
|
private |
check current context and initialize context menu according to this context.
Update the contextmenu for the given position inside an examiner widget
_point | Picking position in coordinates of the viewer |
This function is called whenever a context menu for the corewidget is requested. It will decide about the current context, collect all menus for plugins and construct the final context menu.
Definition at line 657 of file ContextMenu.cc.
|
private |
Update context Menu when background has been clicked on.
This function is called when the background in a viewer has been clicked on. This context menu will show functions which are related to the background of the viewer.
_menu | Pointer to the context Menu |
_point | position in the viewer where the user clicked. |
Definition at line 449 of file ContextMenu.cc.
|
private |
Update context Menu when Coordsys node has been clicked on.
This function is called when the coordinate system in a viewer has been clicked on. This context menu will show all function relevant for the current view like the projection/viewing direction...
_menu | Pointer to the context Menu |
_part | id of the coordsys part which has been clicked on. |
Definition at line 111 of file ContextMenu.cc.
|
private |
Update context Menu when an arbitrary node has been clicked on.
This function is called when a node has been clicked on not belonging to an object. This context menu will show all function relevant for the Node.
_menu | Pointer to the context Menu |
_node | node which has been clicked on. |
Definition at line 89 of file ContextMenu.cc.
|
private |
Update popup Menu when an object has been clicked on.
This function is called when an object has been clicked on. This context menu will show all properties for the given object.
_menu | Pointer to the context Menu |
_object | Object that has been clicked on. |
Definition at line 499 of file ContextMenu.cc.
void CoreWidget::updateRecent | ( | ) |
Update the recent files menu.
Definition at line 892 of file CoreWidget.cc.
|
slot |
Create a snapshot of the whole app.
Take a snapshot of all viewers.
Definition at line 802 of file viewerControl.cc.
|
slot |
Scriptable snapshot method offering full control.
Definition at line 555 of file viewerControl.cc.
|
slot |
Create a snapshot of the whole app with fileDialog.
Take a snapshot of all viewers.
Definition at line 759 of file viewerControl.cc.
void CoreWidget::writeImageAsynchronously | ( | QImage * | _image, |
const QString & | _name | ||
) |
Definition at line 911 of file viewerControl.cc.
|
friend |
Definition at line 289 of file CoreWidget.hh.
|
private |
Pointer to the about widget.
Definition at line 1209 of file CoreWidget.hh.
|
private |
Action for View Mode Widget Conrol in Menu.
Definition at line 711 of file CoreWidget.hh.
|
private |
Set action mode. The ActionMode determines the type of reaction on mouse events.
Definition at line 1481 of file CoreWidget.hh.
|
private |
This variable holds the global draw menu.
Definition at line 905 of file CoreWidget.hh.
|
private |
Additional tab information, that could be provided by plugins.
Definition at line 1212 of file CoreWidget.hh.
|
private |
Algorithms Menu.
Definition at line 702 of file CoreWidget.hh.
|
private |
This variable holds the global draw menu.
Definition at line 907 of file CoreWidget.hh.
|
private |
Base layout that holds gl views.
Definition at line 726 of file CoreWidget.hh.
|
private |
center widged
Definition at line 723 of file CoreWidget.hh.
|
private |
context Menu for the gl area
Definition at line 998 of file CoreWidget.hh.
|
private |
All real context menu entries.
Definition at line 1004 of file CoreWidget.hh.
|
private |
Context Menu containing all selection elements.
Definition at line 1001 of file CoreWidget.hh.
|
private |
Menu which holds the context menu entries for the coordsys node if invisible
Definition at line 1017 of file CoreWidget.hh.
|
private |
vector of keys registered to the core
Definition at line 390 of file CoreWidget.hh.
|
private |
list of scripting slots from core
Definition at line 399 of file CoreWidget.hh.
|
private |
Handle to picking toolbar.
Definition at line 748 of file CoreWidget.hh.
|
private |
Cursor handling.
Definition at line 757 of file CoreWidget.hh.
|
private |
Show logger in splitter or not.
Definition at line 574 of file CoreWidget.hh.
|
private |
This variable holds the global draw menu.
Definition at line 879 of file CoreWidget.hh.
|
private |
DrawGroup for per Viewer Draw Modes.
Definition at line 1007 of file CoreWidget.hh.
|
private |
Examiner Widget.
Definition at line 684 of file CoreWidget.hh.
|
private |
Actions that are hidden in reduced mode.
Definition at line 1596 of file CoreWidget.hh.
|
private |
File Menu.
Definition at line 804 of file CoreWidget.hh.
|
private |
First entry after all relevant parts of the File Menu.
Definition at line 816 of file CoreWidget.hh.
|
private |
Action to globally set animation.
Definition at line 891 of file CoreWidget.hh.
|
private |
Action to globally set backface culling.
Definition at line 894 of file CoreWidget.hh.
|
private |
This variable holds the global draw menu.
Definition at line 874 of file CoreWidget.hh.
|
private |
Action to globally set mipmapping.
Definition at line 903 of file CoreWidget.hh.
|
private |
Action to globally set multisampling.
Definition at line 900 of file CoreWidget.hh.
|
private |
Action to globally set two-sided lighting.
Definition at line 897 of file CoreWidget.hh.
|
private |
graphics scene used to paint gl context and widgets
Definition at line 717 of file CoreWidget.hh.
|
private |
graphics view that holds the gl scene
Definition at line 720 of file CoreWidget.hh.
|
private |
gl widget used as drawing area to paint the graphics scene
Definition at line 714 of file CoreWidget.hh.
|
private |
Help Menu.
Definition at line 705 of file CoreWidget.hh.
|
private |
Pointer to the help Browser.
Definition at line 1124 of file CoreWidget.hh.
|
staticprivate |
Pointer to the help Browser.
Definition at line 1113 of file CoreWidget.hh.
|
private |
mapping of all registered keys and the corresponding plugins to currently assigned keys
Definition at line 396 of file CoreWidget.hh.
|
private |
mapping of all keys to registered keys and the corresponding plugins
Definition at line 393 of file CoreWidget.hh.
|
private |
Set action mode. The ActionMode determines the type of reaction on mouse events.
Definition at line 1481 of file CoreWidget.hh.
|
private |
Show logger in splitter or not.
Definition at line 572 of file CoreWidget.hh.
|
private |
Textedit at the bottom for log messages.
Definition at line 693 of file CoreWidget.hh.
|
private |
Called by Plugins to add a Toolbar.
Definition at line 1267 of file CoreWidget.hh.
|
private |
Definition at line 1072 of file CoreWidget.hh.
|
private |
All available menus.
Definition at line 819 of file CoreWidget.hh.
|
private |
Handle to picking toolbar.
Definition at line 765 of file CoreWidget.hh.
|
private |
Called by Plugins to add a Toolbar.
Definition at line 833 of file CoreWidget.hh.
|
private |
Pointer to the OptionsWidget.
Definition at line 1232 of file CoreWidget.hh.
|
private |
Size of the logging window ( defaults to 240 )
Definition at line 696 of file CoreWidget.hh.
|
private |
This variable holds the global draw menu.
Definition at line 888 of file CoreWidget.hh.
|
private |
This variable holds the global draw menu.
Definition at line 887 of file CoreWidget.hh.
|
private |
Index of current pickMode
Definition at line 1591 of file CoreWidget.hh.
|
private |
Name of current pickMode
Definition at line 1587 of file CoreWidget.hh.
|
private |
Vector of all Picking modes
Definition at line 1583 of file CoreWidget.hh.
|
private |
Called by Plugins to add a Toolbar.
Definition at line 834 of file CoreWidget.hh.
|
private |
Vector of all Picking modes
Definition at line 1579 of file CoreWidget.hh.
|
private |
Extra toolbar not in scene for picking.
Definition at line 751 of file CoreWidget.hh.
|
private |
Definition at line 1139 of file CoreWidget.hh.
|
private |
Python Menu.
Definition at line 810 of file CoreWidget.hh.
|
private |
Pointer to the about widget.
Definition at line 1248 of file CoreWidget.hh.
|
private |
Called by Plugins to add a Toolbar.
Definition at line 835 of file CoreWidget.hh.
|
private |
QMenu containing the recently opened files.
Definition at line 699 of file CoreWidget.hh.
|
private |
Store all toolbars that once have been registered.
Definition at line 754 of file CoreWidget.hh.
|
private |
shows the widget for the rendermanager
Definition at line 1158 of file CoreWidget.hh.
|
private |
Group for all renderers.
Definition at line 882 of file CoreWidget.hh.
|
private |
This variable holds the global renderer menu.
Definition at line 877 of file CoreWidget.hh.
|
private |
shows the widget for the rendermanager
Definition at line 1159 of file CoreWidget.hh.
|
private |
Handle to picking toolbar.
Definition at line 761 of file CoreWidget.hh.
|
private |
Store the state of the shift key.
Definition at line 435 of file CoreWidget.hh.
|
private |
Class that holds the animated log widget.
Definition at line 729 of file CoreWidget.hh.
|
private |
Create a snapshot of the whole app with fileDialog.
Take a snapshot of all viewers.
Definition at line 1029 of file CoreWidget.hh.
|
private |
Create a snapshot of the whole app with fileDialog.
Take a snapshot of all viewers.
Definition at line 1028 of file CoreWidget.hh.
|
private |
Spliter between toplevel objects and the textedit at the bottom.
Definition at line 687 of file CoreWidget.hh.
QStackedWidget* CoreWidget::stackedWidget_ |
Container widget for holding multiple views.
Definition at line 1103 of file CoreWidget.hh.
|
private |
QMenu containing the recently opened files.
Definition at line 1097 of file CoreWidget.hh.
|
private |
QMenu containing the recently opened files.
Definition at line 1099 of file CoreWidget.hh.
|
private |
Definition at line 1290 of file CoreWidget.hh.
|
private |
Definition at line 1292 of file CoreWidget.hh.
|
private |
The viewer with id _viewerId changed its draw Mode.
Definition at line 1450 of file CoreWidget.hh.
|
private |
Called by Plugins to add a Toolbar.
Definition at line 832 of file CoreWidget.hh.
|
private |
Widget to change stereo settings.
Definition at line 1180 of file CoreWidget.hh.
|
private |
Called by Plugins to add a Toolbar.
Definition at line 830 of file CoreWidget.hh.
|
private |
Called by Plugins to add a Toolbar.
Definition at line 1269 of file CoreWidget.hh.
|
private |
Toolbox.
Definition at line 741 of file CoreWidget.hh.
|
private |
Widget for toolBox.
Definition at line 732 of file CoreWidget.hh.
|
private |
Toolbox scroll area.
Definition at line 744 of file CoreWidget.hh.
|
private |
Tools Menu.
Definition at line 813 of file CoreWidget.hh.
|
private |
Spliter between toplevel objects and toolbox.
Definition at line 738 of file CoreWidget.hh.
|
private |
a List of all widgets in the toolbar
Definition at line 585 of file CoreWidget.hh.
|
private |
Draw Menu for per Viewer Draw Modes.
Definition at line 1010 of file CoreWidget.hh.
|
private |
owns all the checkboxes of viewerDrawMenu_
Definition at line 1013 of file CoreWidget.hh.
|
private |
Called by Plugins to add a Toolbar.
Definition at line 837 of file CoreWidget.hh.
|
private |
Called by Plugins to add a Toolbar.
Definition at line 828 of file CoreWidget.hh.
|
private |
Group for all menu items.
Definition at line 885 of file CoreWidget.hh.
|
private |
View Menu.
Definition at line 807 of file CoreWidget.hh.
|
private |
a List of all widgets in the toolbar
Definition at line 593 of file CoreWidget.hh.
|
private |
Handle to picking toolbar.
Definition at line 763 of file CoreWidget.hh.
|
private |
Group box containing Task Switcher Controls.
Definition at line 690 of file CoreWidget.hh.
|
private |
Submenu holding all ViewMode actions.
Definition at line 596 of file CoreWidget.hh.
|
private |
view mode gear icon at the upper left of the tool box
Definition at line 735 of file CoreWidget.hh.
QVector<ViewMode*>& CoreWidget::viewModes_ |
List of currently available viewModes.
Definition at line 589 of file CoreWidget.hh.
|
private |
Definition at line 1069 of file CoreWidget.hh.
|
private |
Window Menu.
Definition at line 708 of file CoreWidget.hh.