64 #ifndef MVIEWWIDGET_HH 65 #define MVIEWWIDGET_HH 70 #include <OpenFlipper/widgets/glWidget/QtBaseViewer.hh> 74 #include <QMainWindow> 76 #include <QStackedWidget> 77 #include <QSplashScreen> 79 #include <QDockWidget> 81 #include <QProgressDialog> 83 #include <QtScript/QScriptEngine> 84 #include <QtScript/QtScript> 86 #include "OpenFlipper/INIFile/INIFile.hh" 92 #include "OpenFlipper/Scripting/scriptPrototypes/prototypeVec3d.hh" 93 #include "OpenFlipper/Scripting/scriptPrototypes/prototypeVec4d.hh" 94 #include "OpenFlipper/Scripting/scriptPrototypes/prototypeMatrix4x4.hh" 95 #include "OpenFlipper/Scripting/scriptPrototypes/prototypeDataType.hh" 96 #include <OpenFlipper/Scripting/scriptWrappers/vec3dWrapper.hh> 97 #include <OpenFlipper/Scripting/scriptWrappers/vec4dWrapper.hh> 98 #include <OpenFlipper/Scripting/scriptWrappers/matrix4x4Wrapper.hh> 99 #include <OpenFlipper/Scripting/scriptWrappers/DataTypeWrapper.hh> 114 #include <OpenFlipper/widgets/processManagerWidget/processManagerWidget.hh> 118 #include <OpenFlipper/Core/PluginInfo.hh> 120 #include <ACG/Scenegraph/CoordsysNode.hh> 122 #include <OpenFlipper/threads/JobInfo.hh> 125 #include <OpenFlipper/common/InformationPlugins.hh> 126 #include "SpinBoxEventFilter.hh" 154 bool add_sync_host(
const QString& _name);
160 void slotMouseEventIdentify( QMouseEvent* _event );
163 void slotMouseEventLight( QMouseEvent* _event );
176 void signalObjectUpdated(
int);
179 void signalObjectUpdated(
int,
const UpdateType&);
182 void PluginWheelEvent(QWheelEvent * ,
const std::string & );
185 void PluginMouseEvent(QMouseEvent* );
188 void PluginMouseEventLight( QMouseEvent* );
191 void objectSelectionChanged(
int );
194 void pluginViewChanged();
197 void pluginSceneDrawn();
200 void addTexture( QString, QString , uint,
int );
203 void addTexture( QString, QString , uint );
206 void addMultiTexture( QString _textureGroup , QString _name , QString _filename ,
int _id ,
int& _textureId );
209 void updateTexture( QString ,
int );
212 void updateAllTextures( );
215 void updatedTextures( QString ,
int );
218 void setTextureMode(QString _textureName ,QString _mode,
int _id);
221 void setTextureMode(QString _textureName ,QString _mode);
224 void switchTexture( QString,
int );
227 void switchTexture( QString );
230 void textureChangeImage( QString _textureName , QImage& _image );
233 void textureChangeImage( QString _textureName , QImage& _image ,
int _id );
236 void textureGetImage( QString _textureName , QImage& _image );
239 void textureGetImage( QString _textureName , QImage& _image ,
int _id );
242 void textureIndex( QString _textureName,
int _id,
int& _index);
245 void textureIndexPropertyName(
int _id, QString& _propertyName);
248 void textureName(
int _id,
int _textureIndex, QString& _textureName);
251 void textureFilename(
int _id, QString _textureName, QString& _textureFilename);
254 void getCurrentTexture(
int _id, QString& _textureName );
257 void getSubTextures(
int _id, QString _multiTextureName, QStringList& _subTextures );
260 void addSelectionEnvironment(QString _modeName, QString _description, QString _icon, QString& _handleName);
263 void registerType(QString _handleName,
DataType _type);
266 void addPrimitiveType(QString _handleName, QString _name, QString _icon, SelectionInterface::PrimitiveType& _typeHandle);
269 void addCustomSelectionMode(QString _handleName, QString _modeName, QString _description, QString _icon,
270 SelectionInterface::PrimitiveType _associatedTypes, QString& _customIdentifier);
271 void addCustomSelectionMode(QString _handleName, QString _modeName, QString _description, QString _icon,
272 SelectionInterface::PrimitiveType _associatedTypes, QString& _customIdentifier,
276 void addSelectionOperations(QString _handleName, QStringList _operationsList, QString _category, SelectionInterface::PrimitiveType _type);
279 void selectionOperation(QString _operation);
282 void showToggleSelectionMode(QString _handleName,
bool _show, SelectionInterface::PrimitiveType _associatedTypes);
285 void showLassoSelectionMode(QString _handleName,
bool _show, SelectionInterface::PrimitiveType _associatedTypes);
288 void showVolumeLassoSelectionMode(QString _handleName,
bool _show, SelectionInterface::PrimitiveType _associatedTypes);
291 void showSurfaceLassoSelectionMode(QString _handleName,
bool _show, SelectionInterface::PrimitiveType _associatedTypes);
294 void showSphereSelectionMode(QString _handleName,
bool _show, SelectionInterface::PrimitiveType _associatedTypes);
297 void showClosestBoundarySelectionMode(QString _handleName,
bool _show, SelectionInterface::PrimitiveType _associatedTypes);
300 void showFloodFillSelectionMode(QString _handleName,
bool _show, SelectionInterface::PrimitiveType _associatedTypes);
303 void showComponentsSelectionMode(QString _handleName,
bool _show, SelectionInterface::PrimitiveType _associatedTypes);
306 void toggleSelection(QMouseEvent* _event, SelectionInterface::PrimitiveType _currentType,
bool _deselect);
309 void lassoSelection(QMouseEvent* _event, SelectionInterface::PrimitiveType _currentType,
bool _deselect);
312 void volumeLassoSelection(QMouseEvent* _event, SelectionInterface::PrimitiveType _currentType,
bool _deselect);
315 void surfaceLassoSelection(QMouseEvent* _event, SelectionInterface::PrimitiveType _currentType,
bool _deselect);
318 void sphereSelection(QMouseEvent* _event,
double _radius, SelectionInterface::PrimitiveType _currentType,
bool _deselect);
321 void closestBoundarySelection(QMouseEvent* _event, SelectionInterface::PrimitiveType _currentType,
bool _deselect);
324 void floodFillSelection(QMouseEvent* _event,
double _maxAngle, SelectionInterface::PrimitiveType _currentType,
bool _deselect);
327 void componentsSelection(QMouseEvent* _event, SelectionInterface::PrimitiveType _currentType,
bool _deselect);
330 void customSelection(QMouseEvent* _event, SelectionInterface::PrimitiveType _currentType, QString _customIdentifier,
bool _deselect);
333 void getActiveDataTypes(SelectionInterface::TypeList& _types);
336 void getActivePrimitiveType(SelectionInterface::PrimitiveType& _type);
339 void targetObjectsOnly(
bool& _targetsOnly);
342 void loadSelection(
const INIFile& _file);
345 void saveSelection(
INIFile& _file);
348 void registerKeyShortcut(
int _key, Qt::KeyboardModifiers _modifiers);
351 void keyShortcutEvent(
int _key, Qt::KeyboardModifiers _modifiers = Qt::NoModifier);
357 void iniSave(
INIFile& _ini ,
int _id );
360 void iniSaveOptions(
INIFile& _ini );
363 void iniLoadOptions(
INIFile& _ini );
366 void iniLoadOptionsLast(
INIFile& _ini );
369 void saveOnExit(
INIFile& _ini );
373 void createBackup(
IdList _objectids, QString _name, std::vector<UpdateType> _types);
376 void undo(
int _objectid);
377 void redo(
int _objectid);
382 void aboutToRestore(
int _objectId);
385 void restored(
int _objectId);
388 void openedFile(
int _id );
391 void emptyObjectAdded(
int _id);
394 void pluginsInitialized();
397 void visibilityChanged(
int _id);
400 void objectPropertiesChanged(
int _id );
403 void objectDeleted(
int );
417 void slotVisibilityChanged(
int _id);
420 void slotObjectPropertiesChanged(
int _id );
423 void slotObjectSelectionChanged(
int _id);
426 void slotAddPickMode(
const std::string& _mode );
429 void slotAddHiddenPickMode(
const std::string& _mode );
432 void slotAddTexture( QString _textureName , QString _filename , uint _dimension ,
int _id );
435 void slotAddTexture( QString _textureName , QString _filename , uint _dimension );
438 void slotMultiTextureAdded( QString _textureGroup , QString _name , QString _filename ,
int _id ,
int& _textureId );
439 void slotMultiTextureAdded( QString _textureGroup , QString _name , QString _filename ,
int _id ,
int* _textureId );
442 void slotUpdateTexture( QString _name ,
int _identifier);
445 void slotUpdateAllTextures( );
448 void slotTextureUpdated( QString _textureName ,
int _identifier );
451 void slotSetTextureMode(QString _textureName ,QString _mode,
int _id);
454 void slotSetTextureMode(QString _textureName ,QString _mode);
457 void slotSwitchTexture( QString _textureName,
int _id );
460 void slotSwitchTexture( QString _textureName );
463 void slotTextureChangeImage( QString _textureName , QImage& _image );
466 void slotTextureChangeImage( QString _textureName , QImage& _image ,
int _id );
469 void slotTextureGetImage( QString _textureName , QImage& _image );
472 void slotTextureGetImage( QString _textureName , QImage& _image ,
int _id );
475 void slotTextureIndex( QString _textureName,
int _id,
int& _index);
478 void slotTextureIndexPropertyName(
int _id, QString& _propertyName);
481 void slotTextureName(
int _id,
int _textureIndex, QString& _textureName);
484 void slotTextureFilename(
int _id, QString _textureName, QString& _textureFilename);
487 void slotGetCurrentTexture(
int _id, QString& _textureName );
490 void slotGetSubTextures(
int _id, QString _multiTextureName, QStringList& _subTextures );
493 void slotLoad(QString _filename,
DataType _type,
int& _id);
496 void slotLoad(QStringList _filenames,
IdList _pluginIDs);
499 void slotFileOpened (
int _id );
502 void slotEmptyObjectAdded (
int _id );
505 void slotAddSelectionEnvironment(QString _modeName, QString _description, QString _icon, QString& _handleName);
508 void slotRegisterType(QString _handleName,
DataType _type);
511 void slotAddPrimitiveType(QString _handleName, QString _name, QString _icon, SelectionInterface::PrimitiveType& _typeHandle);
522 void slotAddCustomSelectionMode(QString _handleName, QString _modeName, QString _description, QString _icon,
523 SelectionInterface::PrimitiveType _associatedTypes, QString& _customIdentifier);
535 void slotAddCustomSelectionMode(QString _handleName, QString _modeName, QString _description, QString _icon,
536 SelectionInterface::PrimitiveType _associatedTypes, QString& _customIdentifier,
540 void slotAddSelectionOperations(QString _handleName, QStringList _operationsList, QString _category, SelectionInterface::PrimitiveType _type);
543 void slotSelectionOperation(QString _operation);
546 void slotShowToggleSelectionMode(QString _handleName,
bool _show, SelectionInterface::PrimitiveType _associatedTypes);
549 void slotShowLassoSelectionMode(QString _handleName,
bool _show, SelectionInterface::PrimitiveType _associatedTypes);
552 void slotShowVolumeLassoSelectionMode(QString _handleName,
bool _show, SelectionInterface::PrimitiveType _associatedTypes);
555 void slotShowSurfaceLassoSelectionMode(QString _handleName,
bool _show, SelectionInterface::PrimitiveType _associatedTypes);
558 void slotShowSphereSelectionMode(QString _handleName,
bool _show, SelectionInterface::PrimitiveType _associatedTypes);
561 void slotShowClosestBoundarySelectionMode(QString _handleName,
bool _show, SelectionInterface::PrimitiveType _associatedTypes);
564 void slotShowFloodFillSelectionMode(QString _handleName,
bool _show, SelectionInterface::PrimitiveType _associatedTypes);
567 void slotShowComponentsSelectionMode(QString _handleName,
bool _show, SelectionInterface::PrimitiveType _associatedTypes);
570 void slotToggleSelection(QMouseEvent* _event, SelectionInterface::PrimitiveType _currentType,
bool _deselect);
573 void slotLassoSelection(QMouseEvent* _event, SelectionInterface::PrimitiveType _currentType,
bool _deselect);
576 void slotVolumeLassoSelection(QMouseEvent* _event, SelectionInterface::PrimitiveType _currentType,
bool _deselect);
579 void slotSurfaceLassoSelection(QMouseEvent* _event, SelectionInterface::PrimitiveType _currentType,
bool _deselect);
582 void slotSphereSelection(QMouseEvent* _event,
double _radius, SelectionInterface::PrimitiveType _currentType,
bool _deselect);
585 void slotClosestBoundarySelection(QMouseEvent* _event, SelectionInterface::PrimitiveType _currentType,
bool _deselect);
588 void slotFloodFillSelection(QMouseEvent* _event,
double _maxAngle, SelectionInterface::PrimitiveType _currentType,
bool _deselect);
591 void slotComponentsSelection(QMouseEvent* _event, SelectionInterface::PrimitiveType _currentType,
bool _deselect);
594 void slotCustomSelection(QMouseEvent* _event, SelectionInterface::PrimitiveType _currentType, QString _customIdentifier,
bool _deselect);
597 void slotGetActiveDataTypes(SelectionInterface::TypeList& _types);
600 void slotGetActivePrimitiveType(SelectionInterface::PrimitiveType& _type);
603 void slotTargetObjectsOnly(
bool& _targetsOnly);
606 void slotLoadSelection(
const INIFile& _file);
609 void slotSaveSelection(
INIFile& _file);
612 void slotRegisterKeyShortcut(
int _key, Qt::KeyboardModifiers _modifiers);
615 void slotKeyShortcutEvent(
int _key, Qt::KeyboardModifiers _modifiers);
624 void slotGetAllFilters ( QStringList& _list);
628 void slotDeleteAllObjects( );
631 void slotCrossPluginConnect( QString _pluginName1,
const char* _signal, QString _pluginName2,
const char* _slot);
634 void slotSetRenderer(
unsigned int _viewer, QString _rendererName);
637 void slotGetCurrentRenderer(
unsigned int _viewer, QString& _rendererName);
654 void blockScenegraphUpdates(
bool _block);
663 void deleteObject(
int _id );
665 void setObjectComment(
int objId, QString key, QString comment);
666 void clearObjectComment(
int objId, QString key);
667 void clearAllComments(
int objId);
670 void fullscreen(
bool _state );
673 void showViewModeControls(
bool _show );
676 void loggerState(
int _state);
679 void enableOpenMeshErrorLog(
bool _state);
682 void showToolbox(
bool _state );
685 void showStatusBar(
bool _state );
688 void multiViewMode(
int _mode );
691 void restrictFrameRate(
bool _enable );
694 void setMaxFrameRate(
int _rate );
698 void snapshotBaseFileName(QString _fname,
unsigned int _viewerId = 0);
701 void snapshotFileType(QString _type,
unsigned int _viewerId = 0);
704 void snapshotCounterStart(
const int _counter,
unsigned int _viewerId = 0);
711 void snapshot(
unsigned int _viewerId = 0,
int _width = 0,
int _height = 0,
bool _alpha =
false,
bool _hideCoordsys =
false,
int _numSamples = 1);
714 void applicationSnapshot();
717 void applicationSnapshotName(QString _name);
720 void viewerSnapshot();
723 void viewerSnapshot(QString file_name,
bool store_comments,
724 bool comments_visible_only,
bool comments_targeted_only,
725 bool store_material_info,
int snapshot_width,
int snapshot_height,
726 bool snapshot_transparent,
bool hide_coord_sys,
727 int snapshot_multisampling,
bool store_view);
730 void resizeViewers(
int _width,
int _height );
733 void resizeApplication(
int _width,
int _height );
736 void writeVersionNumbers(QString _filename);
739 QList<int> objectList (QString _selection, QStringList _types);
742 void blockSceneGraphUpdates();
745 void unblockSceneGraphUpdates();
747 void setView(QString view);
748 void setViewAndWindowGeometry(QString view);
763 void addViewModeToolboxes(QString _modeName, QString _toolboxList);
771 void addViewModeToolbars(QString _modeName, QString _toolbarList);
778 void addViewModeContextMenus(QString _modeName, QString _contextMenuList);
784 void addViewModeIcon(QString _modeName, QString _iconName);
790 void setToolBoxSide(QString _side);
797 void setToolBoxActive(QString _toolBoxName,
bool _active);
814 int loadObject ( QString _filename );
817 void loadObjectFinished(QString _filename);
823 void resetScenegraph(
bool _resetTrackBall );
838 void commandLineOpen(
const char* _filename,
bool _asPolyMesh );
850 void commandLineScript(
const char* _filename );
860 void slotExecuteAfterStartup();
874 int addEmptyObject(
DataType _type );
883 int loadObject(
DataType _type, QString _filename);
901 void startVideoCapture(QString _baseName,
int _fps,
bool _captureViewers);
904 void stopVideoCapture();
928 bool saveObject(
int _id, QString _filename );
930 void saveObject(
int _id, QString _filename,
int _pluginID );
932 void saveObjects(
IdList _ids, QString _filename,
int _pluginID );
938 bool saveObjectTo(
int _id, QString _filename );
940 bool saveObjectsTo(
IdList _ids, QString _filename );
943 void saveAllObjects();
946 void saveAllObjectsTo();
952 void saveSettings(QString filePath,
bool is_saveObjectInfo,
bool is_targetOnly,
bool is_saveAll,
953 bool is_askOverwrite,
bool is_saveProgramSettings,
bool is_savePluginSettings);
962 void loadSettings(QString _filename);
965 int getObjectId(QString _filename);
972 void deserializeMaterialProperties(
int _objId, QString _props);
979 QString serializeMaterialProperties(
int _objId);
990 void slotMouseEvent( QMouseEvent* _event );
993 void slotWheelEvent( QWheelEvent * _event,
const std::string & _mode);
999 void slotAddEmptyObjectMenu();
1002 void slotAddEmptyObject(
DataType _type ,
int& _id );
1003 void slotAddEmptyObject(
DataType _type,
int* _id);
1006 void slotCopyObject(
int _oldId ,
int& _newId );
1012 void slotRecentOpen(QAction* _action);
1015 void slotGenerateBackup(
int _id, QString _name,
UpdateType _type );
1020 void addToolbox(QString _name ,QWidget* _widget);
1023 void addToolbox(QString _name ,QWidget* _widget, QIcon* _icon);
1026 void addToolbox(QString _name ,QWidget* _widget, QIcon* _icon,
1027 QWidget* _headerAreaWidget);
1036 QWidget *getToolbox(QString _pluginName, QString _toolboxName);
1038 void activateToolbox(QString _pluginName, QString _toolboxName,
bool activate);
1078 void setupOptions();
1081 void readGUIOptions(
INIFile& _ini);
1084 void readApplicationOptions(
INIFile& _ini);
1087 void writeApplicationOptions(
INIFile& _ini);
1090 void restoreKeyBindings();
1098 void applyOptions();
1110 void openIniFile( QString _filename,
1111 bool _coreSettings ,
1112 bool _perPluginSettings,
1113 bool _loadObjects );
1129 void writeIniFile( QString _filename,
1130 bool _relativePaths,
1132 bool _saveSystemSettings,
1133 bool _savePluginSettings ,
1134 bool _saveObjectInfo,
1135 std::map<int,QString>& _fileMapping);
1141 void writeObjFile(QString _filename,
bool _relativePaths,
bool _targetOnly, std::map<int,QString>& _fileMapping);
1156 void log(
Logtype _type , QString _message );
1159 void log(QString _message );
1162 void scriptLog(QString _message);
1165 void externalLog(
Logtype _type , QString _message);
1170 void slotLog(
Logtype _type, QString _message);
1173 void slotLogToFile(
Logtype _type, QString _message);
1183 void scriptLogFunction( QString _output);
1195 bool checkSlot(QObject* _plugin ,
const char* _slotSignature);
1198 bool checkSignal(QObject* _plugin ,
const char* _signalSignature);
1208 const std::vector<PluginInfo> plugins()
const {
return plugins_; };
1221 void slotShowPlugins();
1224 void loadPlugin(
const QString& _filename,
const bool _silent, QString& _licenseErrors , QObject* _plugin = 0 );
1227 void slotLoadPlugin();
1230 void slotBlockPlugin(
const QString &_rpcName);
1233 void slotUnBlockPlugin(
const QString &_rpcName);
1242 void genericMetadataDeserialized(QString key, QString value);
1243 void objectMetadataDeserialized(QString object_name, QString value);
1244 #if QT_VERSION >= 0x050000 1245 void objectMetadataDeserializedJson(
1246 QString object_name, QJsonDocument value);
1250 void slotMetadataDeserialized(
const QVector<QPair<QString, QString> > &data);
1262 void scriptInfo( QString _pluginName , QString _functionName );
1264 void executeScript( QString _script );
1266 void executeFileScript( QString _filename );
1268 void setSlotDescription(QString _slotName, QString _slotDescription,
1269 QStringList _parameters, QStringList _descriptions);
1279 void createWidget(QString _objectName, QString _uiFilename,
bool _show =
true);
1282 void setViewMode(QString _viewMode);
1285 QString getCurrentViewMode();
1288 void setViewModeIcon(QString _mode, QString _iconName);
1291 void moveToolBoxToTop(QString _name);
1294 void moveToolBoxToBottom(QString _name);
1296 void showReducedMenuBar(
bool reduced);
1324 void slotScriptInfo( QString _pluginName , QString _functionName );
1331 void slotExecuteScript( QString _script );
1337 void slotExecuteFileScript( QString _filename );
1339 void slotGetScriptingEngine( QScriptEngine*& _engine );
1341 void slotGetAllAvailableFunctions( QStringList& _functions );
1344 void slotSetSlotDescription(QString _slotName, QString _slotDescription,
1345 QStringList _parameters, QStringList _descriptions);
1348 void slotSetSlotDescriptionGlobalFunction(QString _functionName, QString _slotDescription,
1349 QStringList _parameters, QStringList _descriptions);
1352 void slotGetDescription(QString _function, QString& _fnDescription,
1353 QStringList& _parameters, QStringList& _descriptions );
1355 void slotScriptError(
const QScriptValue &error);
1362 void setDescriptions();
1377 void slotPluginExists( QString _pluginName ,
bool& _exists );
1385 void slotFunctionExists( QString _pluginName , QString _functionName ,
bool& _exists );
1393 void slotCall( QString _pluginName , QString _functionName ,
bool& _success );
1400 void slotCall( QString _expression ,
bool& _success );
1412 void slotGetValue(QString _expression, QVariant& _result );
1424 void checkScenegraphDirty();
1449 bool getJob(QString _jobId,
int& _index);
1454 void slotStartJob( QString _jobId, QString _description ,
int _min ,
int _max,
bool _blocking );
1457 void slotSetJobState(QString _jobId,
int _value );
1460 void slotSetJobName(QString _jobId, QString _name );
1463 void slotSetJobDescription(QString _jobId, QString _text );
1466 void slotCancelJob(QString _jobId );
1469 void slotFinishJob(QString _jobId );
1472 void slotJobCancelRequested(QString _jobId);
1476 void jobCanceled( QString _jobId );
1488 void newObject(
int _objectId);
1491 void deletedObject(
int _objectId);
1503 void exitApplication();
1512 void finishSplash();
1523 bool checkOpenGLCapabilities();
1529 bool checkLibraryVersions();
1531 void hookUpEventFilter(QWidget *widget);
1573 QScriptValue
myPrintFunction(QScriptContext *context, QScriptEngine *engine);
1579 QScriptValue
helpFunction(QScriptContext *context, QScriptEngine *engine);
1582 #endif // MVIEWWIDGET_HH defined QScriptValue printToFileFunction(QScriptContext *context, QScriptEngine *engine)
Special print function for sending output to a file.
QStringList scriptingFunctions_
List of all registered scripting functions.
QScriptValue helpFunction(QScriptContext *context, QScriptEngine *engine)
Function to print help about scripting functions.
std::vector< PluginInfo > plugins_
List of all loaded plugins_.
int captureType_
Slot called everytime the view is updated.
Logtype
Log types for Message Window.
CoreWidget * coreWidget_
The main applications widget ( only created in gui mode )
std::vector< dataTypes > supportedDataTypes_
Type-Plugins.
QTimer videoTimer_
Slot called everytime the view is updated.
ProcessManagerWidget * processManager_
A job has been started by a plugin.
prototypeMatrix4x4 matrix4x4Prototype_
Prototype for the Matrix type.
prototypeVec4d vec4dPrototype_
Prototype for the Vector type.
QTextStream * logStream_
stream for logging to file
int nextBackupId_
Id for the next backup.
Interface class for type definitions.
std::vector< std::string > commandLineScriptNames_
Vector storing filenames from commandline to be opened after application startup (script files) ...
int lastHeight_
Slot called everytime the view is updated.
QTime * redrawTime_
Holds the time since last redraw.
QString splashMessage_
Last Splash message;.
std::vector< ScriptingWrapper * > scriptingWrappers_
Wrappers for plugin scripting.
QVector< ViewMode * > viewModes_
List of available draw modes.
prototypeVec3d vec3dPrototype_
Prototype for the Vector type.
QList< SlotInfo > globalFunctions_
Core scripting engine.
prototypeDataType DataTypePrototype_
Prototype for the DataType.
SeparatorNode * dataRootNode_
Root Node for data objects.
QTimer * scenegraphCheckTimer_
Timer that starts scenegraph check.
BaseObject * objectRoot_
Pointer to the data rootNode;.
Class for the handling of simple configuration files.
QTime lastVideoTime_
Slot called everytime the view is updated.
int toolboxindex_
Index of Plugins toolbox widget.
SeparatorNode * root_node_scenegraph_
Scenegraphs root node.
SeparatorNode * dataSeparatorNode_
Toplevel Nodes for data objects.
std::vector< PluginLogger * > loggers_
Logger interfaces between plugins and core logger.
QScriptEngine scriptEngine_
Core scripting engine.
std::vector< int > IdList
Standard Type for id Lists used for scripting.
SeparatorNode * core_nodes_
Separator Node holding all core scenegraph nodes.
QList< JobInfo > currentJobs
A job has been started by a plugin.
ACG::SceneGraph::CoordsysNode * coordsysNode_
Node for the coordinate system.
int lastWidth_
Slot called everytime the view is updated.
const UpdateType UPDATE_ALL(UpdateTypeSet(1))
Identifier for all updates.
QTimer * redrawTimer_
If enabled, this timer will block screen refresh if done more then 30 times per second.
int nextBackupGroupId_
Id for the next backup group.
QSplashScreen * splash_
SplashScreen, only used in gui mode.
SeparatorNode * root_node_scenegraph_global_
Seperator node for global nodes.
bool capture_
Slot called everytime the view is updated.
std::vector< std::pair< std::string, bool > > commandLineFileNames_
Vector storing filenames from commandline to be opened after application startup (objects) ...
QList< SlotInfo > coreSlots_
Core scripting engine.
ACG::SceneGraph::MaterialNode * coordsysMaterialNode_
Node for coordsys Material.
QScriptValue myPrintFunction(QScriptContext *context, QScriptEngine *engine)
Special print function for core logger.