58 #ifndef MVIEWWIDGET_HH 59 #define MVIEWWIDGET_HH 64 #include <OpenFlipper/widgets/glWidget/QtBaseViewer.hh> 68 #include <QMainWindow> 70 #include <QStackedWidget> 71 #include <QSplashScreen> 73 #include <QDockWidget> 75 #include <QProgressDialog> 77 #include <QtScript/QScriptEngine> 78 #include <QtScript/QtScript> 80 #include "OpenFlipper/INIFile/INIFile.hh" 82 #include "OpenFlipper/Logging/PluginLogging.hh" 83 #include "OpenFlipper/Scripting/ScriptingWrapper.hh" 86 #include "OpenFlipper/Scripting/scriptPrototypes/prototypeVec3d.hh" 87 #include "OpenFlipper/Scripting/scriptPrototypes/prototypeVec4d.hh" 88 #include "OpenFlipper/Scripting/scriptPrototypes/prototypeMatrix4x4.hh" 89 #include "OpenFlipper/Scripting/scriptPrototypes/prototypeDataType.hh" 90 #include <OpenFlipper/Scripting/scriptWrappers/vec3dWrapper.hh> 91 #include <OpenFlipper/Scripting/scriptWrappers/vec4dWrapper.hh> 92 #include <OpenFlipper/Scripting/scriptWrappers/matrix4x4Wrapper.hh> 93 #include <OpenFlipper/Scripting/scriptWrappers/DataTypeWrapper.hh> 108 #include <OpenFlipper/widgets/processManagerWidget/processManagerWidget.hh> 112 #include <OpenFlipper/Core/PluginInfo.hh> 114 #include <ACG/Scenegraph/CoordsysNode.hh> 116 #include <OpenFlipper/threads/JobInfo.hh> 118 #include <OpenFlipper/common/InformationPlugins.hh> 119 #include "SpinBoxEventFilter.hh" 147 bool add_sync_host(
const QString& _name);
153 void slotMouseEventIdentify( QMouseEvent* _event );
156 void slotMouseEventLight( QMouseEvent* _event );
169 void signalObjectUpdated(
int);
172 void signalObjectUpdated(
int,
const UpdateType&);
175 void PluginWheelEvent(QWheelEvent * ,
const std::string & );
178 void PluginMouseEvent(QMouseEvent* );
181 void PluginMouseEventLight( QMouseEvent* );
184 void objectSelectionChanged(
int );
187 void pluginViewChanged();
190 void pluginSceneDrawn();
193 void addTexture( QString, QString , uint,
int );
196 void addTexture( QString, QImage , uint,
int );
199 void addTexture( QString, QString , uint );
202 void addTexture( QString, QImage , uint );
205 void addMultiTexture( QString _textureGroup , QString _name , QString _filename ,
int _id ,
int& _textureId );
208 void addMultiTexture( QString _textureGroup , QString _name , QImage _image ,
int _id ,
int& _textureId );
211 void updateTexture( QString ,
int );
214 void updateAllTextures( );
217 void updatedTextures( QString ,
int );
220 void setTextureMode(QString _textureName ,QString _mode,
int _id);
223 void setTextureMode(QString _textureName ,QString _mode);
226 void switchTexture( QString,
int );
229 void switchTexture( QString );
232 void textureChangeImage( QString _textureName , QImage& _image );
235 void textureChangeImage( QString _textureName , QImage& _image ,
int _id );
238 void textureGetImage( QString _textureName , QImage& _image );
241 void textureGetImage( QString _textureName , QImage& _image ,
int _id );
244 void textureIndex( QString _textureName,
int _id,
int& _index);
247 void textureIndexPropertyName(
int _id, QString& _propertyName);
250 void textureName(
int _id,
int _textureIndex, QString& _textureName);
253 void textureFilename(
int _id, QString _textureName, QString& _textureFilename);
256 void getCurrentTexture(
int _id, QString& _textureName );
259 void getSubTextures(
int _id, QString _multiTextureName, QStringList& _subTextures );
262 void addSelectionEnvironment(QString _modeName, QString _description, QString _icon, QString& _handleName);
265 void registerType(QString _handleName,
DataType _type);
268 void addPrimitiveType(QString _handleName, QString _name, QString _icon, SelectionInterface::PrimitiveType& _typeHandle);
271 void addCustomSelectionMode(QString _handleName, QString _modeName, QString _description, QString _icon,
272 SelectionInterface::PrimitiveType _associatedTypes, QString& _customIdentifier);
273 void addCustomSelectionMode(QString _handleName, QString _modeName, QString _description, QString _icon,
274 SelectionInterface::PrimitiveType _associatedTypes, QString& _customIdentifier,
278 void addSelectionOperations(QString _handleName, QStringList _operationsList, QString _category, SelectionInterface::PrimitiveType _type);
281 void addSelectionParameters(QString _handleName, QWidget* _widget, QString _category, SelectionInterface::PrimitiveType _type);
284 void selectionOperation(QString _operation);
287 void showToggleSelectionMode(QString _handleName,
bool _show, SelectionInterface::PrimitiveType _associatedTypes);
290 void showLassoSelectionMode(QString _handleName,
bool _show, SelectionInterface::PrimitiveType _associatedTypes);
293 void showVolumeLassoSelectionMode(QString _handleName,
bool _show, SelectionInterface::PrimitiveType _associatedTypes);
296 void showSurfaceLassoSelectionMode(QString _handleName,
bool _show, SelectionInterface::PrimitiveType _associatedTypes);
299 void showSphereSelectionMode(QString _handleName,
bool _show, SelectionInterface::PrimitiveType _associatedTypes);
302 void showClosestBoundarySelectionMode(QString _handleName,
bool _show, SelectionInterface::PrimitiveType _associatedTypes);
305 void showFloodFillSelectionMode(QString _handleName,
bool _show, SelectionInterface::PrimitiveType _associatedTypes);
308 void showComponentsSelectionMode(QString _handleName,
bool _show, SelectionInterface::PrimitiveType _associatedTypes);
311 void toggleSelection(QMouseEvent* _event, SelectionInterface::PrimitiveType _currentType,
bool _deselect);
314 void lassoSelection(QMouseEvent* _event, SelectionInterface::PrimitiveType _currentType,
bool _deselect);
317 void volumeLassoSelection(QMouseEvent* _event, SelectionInterface::PrimitiveType _currentType,
bool _deselect);
320 void surfaceLassoSelection(QMouseEvent* _event, SelectionInterface::PrimitiveType _currentType,
bool _deselect);
323 void sphereSelection(QMouseEvent* _event,
double _radius, SelectionInterface::PrimitiveType _currentType,
bool _deselect);
326 void closestBoundarySelection(QMouseEvent* _event, SelectionInterface::PrimitiveType _currentType,
bool _deselect);
329 void floodFillSelection(QMouseEvent* _event, SelectionInterface::PrimitiveType _currentType,
bool _deselect);
332 void componentsSelection(QMouseEvent* _event, SelectionInterface::PrimitiveType _currentType,
bool _deselect);
335 void customSelection(QMouseEvent* _event, SelectionInterface::PrimitiveType _currentType, QString _customIdentifier,
bool _deselect);
338 void getActiveDataTypes(SelectionInterface::TypeList& _types);
341 void getActivePrimitiveType(SelectionInterface::PrimitiveType& _type);
344 void targetObjectsOnly(
bool& _targetsOnly);
347 void loadSelection(
const INIFile& _file);
350 void saveSelection(
INIFile& _file);
353 void registerKeyShortcut(
int _key, Qt::KeyboardModifiers _modifiers);
356 void keyShortcutEvent(
int _key, Qt::KeyboardModifiers _modifiers = Qt::NoModifier);
362 void iniSave(
INIFile& _ini ,
int _id );
365 void iniSaveOptions(
INIFile& _ini );
368 void iniLoadOptions(
INIFile& _ini );
371 void iniLoadOptionsLast(
INIFile& _ini );
374 void saveOnExit(
INIFile& _ini );
378 void createBackup(
IdList _objectids, QString _name, std::vector<UpdateType> _types);
381 void undo(
int _objectid);
382 void redo(
int _objectid);
387 void aboutToRestore(
int _objectId);
390 void restored(
int _objectId);
393 void openedFile(
int _id );
396 void emptyObjectAdded(
int _id);
399 void pluginsInitialized();
402 void pluginsInitialized(QVector<QPair<QString, QString>>
const&);
405 void visibilityChanged(
int _id);
408 void objectPropertiesChanged(
int _id );
411 void objectDeleted(
int );
426 void slotVisibilityChanged(
int _id);
429 void slotObjectPropertiesChanged(
int _id );
432 void slotObjectSelectionChanged(
int _id);
435 void slotAddPickMode(
const std::string& _mode );
438 void slotAddHiddenPickMode(
const std::string& _mode );
441 void slotAddTexture( QString _textureName , QString _filename , uint _dimension ,
int _id );
444 void slotAddTexture( QString _textureName , QImage _image , uint _dimension ,
int _id );
447 void slotAddTexture( QString _textureName , QString _filename , uint _dimension );
450 void slotAddTexture( QString _textureName , QImage _image , uint _dimension );
453 void slotMultiTextureAdded( QString _textureGroup , QString _name , QString _filename ,
int _id ,
int& _textureId );
454 void slotMultiTextureAdded( QString _textureGroup , QString _name , QString _filename ,
int _id ,
int* _textureId );
457 void slotMultiTextureAdded( QString _textureGroup , QString _name , QImage _image ,
int _id ,
int& _textureId );
460 void slotUpdateTexture( QString _name ,
int _identifier);
463 void slotUpdateAllTextures( );
466 void slotTextureUpdated( QString _textureName ,
int _identifier );
469 void slotSetTextureMode(QString _textureName ,QString _mode,
int _id);
472 void slotSetTextureMode(QString _textureName ,QString _mode);
475 void slotSwitchTexture( QString _textureName,
int _id );
478 void slotSwitchTexture( QString _textureName );
481 void slotTextureChangeImage( QString _textureName , QImage& _image );
484 void slotTextureChangeImage( QString _textureName , QImage& _image ,
int _id );
487 void slotTextureGetImage( QString _textureName , QImage& _image );
490 void slotTextureGetImage( QString _textureName , QImage& _image ,
int _id );
493 void slotTextureIndex( QString _textureName,
int _id,
int& _index);
496 void slotTextureIndexPropertyName(
int _id, QString& _propertyName);
499 void slotTextureName(
int _id,
int _textureIndex, QString& _textureName);
502 void slotTextureFilename(
int _id, QString _textureName, QString& _textureFilename);
505 void slotGetCurrentTexture(
int _id, QString& _textureName );
508 void slotGetSubTextures(
int _id, QString _multiTextureName, QStringList& _subTextures );
511 void slotLoad(QString _filename,
DataType _type,
int& _id);
514 void slotLoad(QStringList _filenames,
IdList _pluginIDs);
517 void slotFileOpened (
int _id );
520 void slotEmptyObjectAdded (
int _id );
523 void slotAddSelectionEnvironment(QString _modeName, QString _description, QString _icon, QString& _handleName);
526 void slotRegisterType(QString _handleName,
DataType _type);
529 void slotAddPrimitiveType(QString _handleName, QString _name, QString _icon, SelectionInterface::PrimitiveType& _typeHandle);
540 void slotAddCustomSelectionMode(QString _handleName, QString _modeName, QString _description, QString _icon,
541 SelectionInterface::PrimitiveType _associatedTypes, QString& _customIdentifier);
553 void slotAddCustomSelectionMode(QString _handleName, QString _modeName, QString _description, QString _icon,
554 SelectionInterface::PrimitiveType _associatedTypes, QString& _customIdentifier,
558 void slotAddSelectionOperations(QString _handleName, QStringList _operationsList, QString _category, SelectionInterface::PrimitiveType _type);
561 void slotAddSelectionParameters(QString _handleName, QWidget* _widget, QString _category, SelectionInterface::PrimitiveType _type);
564 void slotSelectionOperation(QString _operation);
567 void slotShowToggleSelectionMode(QString _handleName,
bool _show, SelectionInterface::PrimitiveType _associatedTypes);
570 void slotShowLassoSelectionMode(QString _handleName,
bool _show, SelectionInterface::PrimitiveType _associatedTypes);
573 void slotShowVolumeLassoSelectionMode(QString _handleName,
bool _show, SelectionInterface::PrimitiveType _associatedTypes);
576 void slotShowSurfaceLassoSelectionMode(QString _handleName,
bool _show, SelectionInterface::PrimitiveType _associatedTypes);
579 void slotShowSphereSelectionMode(QString _handleName,
bool _show, SelectionInterface::PrimitiveType _associatedTypes);
582 void slotShowClosestBoundarySelectionMode(QString _handleName,
bool _show, SelectionInterface::PrimitiveType _associatedTypes);
585 void slotShowFloodFillSelectionMode(QString _handleName,
bool _show, SelectionInterface::PrimitiveType _associatedTypes);
588 void slotShowComponentsSelectionMode(QString _handleName,
bool _show, SelectionInterface::PrimitiveType _associatedTypes);
591 void slotToggleSelection(QMouseEvent* _event, SelectionInterface::PrimitiveType _currentType,
bool _deselect);
594 void slotLassoSelection(QMouseEvent* _event, SelectionInterface::PrimitiveType _currentType,
bool _deselect);
597 void slotVolumeLassoSelection(QMouseEvent* _event, SelectionInterface::PrimitiveType _currentType,
bool _deselect);
600 void slotSurfaceLassoSelection(QMouseEvent* _event, SelectionInterface::PrimitiveType _currentType,
bool _deselect);
603 void slotSphereSelection(QMouseEvent* _event,
double _radius, SelectionInterface::PrimitiveType _currentType,
bool _deselect);
606 void slotClosestBoundarySelection(QMouseEvent* _event, SelectionInterface::PrimitiveType _currentType,
bool _deselect);
609 void slotFloodFillSelection(QMouseEvent* _event, SelectionInterface::PrimitiveType _currentType,
bool _deselect);
612 void slotComponentsSelection(QMouseEvent* _event, SelectionInterface::PrimitiveType _currentType,
bool _deselect);
615 void slotCustomSelection(QMouseEvent* _event, SelectionInterface::PrimitiveType _currentType, QString _customIdentifier,
bool _deselect);
618 void slotGetActiveDataTypes(SelectionInterface::TypeList& _types);
621 void slotGetActivePrimitiveType(SelectionInterface::PrimitiveType& _type);
624 void slotTargetObjectsOnly(
bool& _targetsOnly);
627 void slotLoadSelection(
const INIFile& _file);
630 void slotSaveSelection(
INIFile& _file);
633 void slotRegisterKeyShortcut(
int _key, Qt::KeyboardModifiers _modifiers);
636 void slotKeyShortcutEvent(
int _key, Qt::KeyboardModifiers _modifiers);
645 void slotGetAllFilters ( QStringList& _list);
649 void slotDeleteAllObjects( );
652 void slotCrossPluginConnect( QString _pluginName1,
const char* _signal, QString _pluginName2,
const char* _slot);
655 void slotCrossPluginConnectQueued( QString _pluginName1,
const char* _signal, QString _pluginName2,
const char* _slot);
658 void slotSetRenderer(
unsigned int _viewer, QString _rendererName);
661 void slotGetCurrentRenderer(
unsigned int _viewer, QString& _rendererName);
678 void blockScenegraphUpdates(
bool _block);
687 void deleteObject(
int _id );
689 void setObjectComment(
int objId, QString key, QString comment);
690 void clearObjectComment(
int objId, QString key);
691 void clearAllComments(
int objId);
694 void fullscreen(
bool _state );
697 void showViewModeControls(
bool _show );
700 void loggerState(
int _state);
703 void enableOpenMeshErrorLog(
bool _state);
706 void showToolbox(
bool _state );
709 void showStatusBar(
bool _state );
712 void multiViewMode(
int _mode );
715 void restrictFrameRate(
bool _enable );
718 void setMaxFrameRate(
int _rate );
722 void snapshotBaseFileName(QString _fname,
unsigned int _viewerId = 0);
725 void snapshotFileType(QString _type,
unsigned int _viewerId = 0);
728 void snapshotCounterStart(
const int _counter,
unsigned int _viewerId = 0);
735 void snapshot(
unsigned int _viewerId = 0,
int _width = 0,
int _height = 0,
bool _alpha =
false,
bool _hideCoordsys =
false,
int _numSamples = 1);
738 void applicationSnapshot();
741 void applicationSnapshotName(QString _name);
744 void viewerSnapshot();
747 void viewerSnapshot(QString file_name,
bool store_comments,
748 bool comments_visible_only,
bool comments_targeted_only,
749 bool store_material_info,
int snapshot_width,
int snapshot_height,
750 bool snapshot_transparent,
bool hide_coord_sys,
751 int snapshot_multisampling,
bool store_view);
754 void resizeViewers(
int _width,
int _height );
757 void resizeApplication(
int _width,
int _height );
760 void writeVersionNumbers(QString _filename);
763 QList<int> objectList (QString _selection, QStringList _types);
766 void blockSceneGraphUpdates();
769 void unblockSceneGraphUpdates();
771 void setView(QString view);
772 void setViewAndWindowGeometry(QString view);
787 void addViewModeToolboxes(QString _modeName, QString _toolboxList);
795 void addViewModeToolbars(QString _modeName, QString _toolbarList);
802 void addViewModeContextMenus(QString _modeName, QString _contextMenuList);
808 void addViewModeIcon(QString _modeName, QString _iconName);
814 void setToolBoxSide(QString _side);
821 void setToolBoxActive(QString _toolBoxName,
bool _active);
838 int loadObject ( QString _filename );
841 void loadObjectFinished(QString _filename);
847 void resetScenegraph(
bool _resetTrackBall );
862 void commandLineOpen(
const QString& _filename,
bool _asPolyMesh );
874 void commandLineScript(
const QString& _filename );
884 void slotExecuteAfterStartup();
898 int addEmptyObject(
DataType _type );
907 int loadObject(
DataType _type, QString _filename);
925 void startVideoCapture(QString _baseName,
int _fps,
bool _captureViewers);
928 void stopVideoCapture();
952 bool saveObject(
int _id, QString _filename );
954 void saveObject(
int _id, QString _filename,
int _pluginID );
956 void saveObjects(
IdList _ids, QString _filename,
int _pluginID );
962 bool saveObjectTo(
int _id, QString _filename );
964 bool saveObjectsTo(
IdList _ids, QString _filename );
967 void saveAllObjects();
970 void saveAllObjectsTo();
976 void saveSettings(QString filePath,
bool is_saveObjectInfo,
bool is_targetOnly,
bool is_saveAll,
977 bool is_askOverwrite,
bool is_saveProgramSettings,
bool is_savePluginSettings);
986 void loadSettings(QString _filename);
989 int getObjectId(QString _filename);
996 void deserializeMaterialProperties(
int _objId, QString _props);
1003 QString serializeMaterialProperties(
int _objId);
1014 void slotMouseEvent( QMouseEvent* _event );
1017 void slotWheelEvent( QWheelEvent * _event,
const std::string & _mode);
1023 void slotAddEmptyObjectMenu();
1026 void slotAddEmptyObject(
DataType _type ,
int& _id );
1027 void slotAddEmptyObject(
DataType _type,
int* _id);
1030 void slotCopyObject(
int _oldId ,
int& _newId );
1036 void slotRecentOpen(QAction* _action);
1039 void slotGenerateBackup(
int _id, QString _name,
UpdateType _type );
1044 void addToolbox(QString _name ,QWidget* _widget);
1047 void addToolbox(QString _name ,QWidget* _widget, QIcon* _icon);
1050 void addToolbox(QString _name ,QWidget* _widget, QIcon* _icon,
1051 QWidget* _headerAreaWidget);
1060 QWidget *getToolbox(QString _pluginName, QString _toolboxName);
1068 void activateToolbox(QString _pluginName, QString _toolboxName,
bool activate);
1108 void setupOptions();
1111 void readGUIOptions(
INIFile& _ini);
1114 void readApplicationOptions(
INIFile& _ini);
1117 void writeApplicationOptions(
INIFile& _ini);
1120 void restoreKeyBindings();
1128 void applyOptions();
1140 void openIniFile( QString _filename,
1141 bool _coreSettings ,
1142 bool _perPluginSettings,
1143 bool _loadObjects );
1159 void writeIniFile( QString _filename,
1160 bool _relativePaths,
1162 bool _saveSystemSettings,
1163 bool _savePluginSettings ,
1164 bool _saveObjectInfo,
1165 std::map<int,QString>& _fileMapping);
1171 void writeObjFile(QString _filename,
bool _relativePaths,
bool _targetOnly, std::map<int,QString>& _fileMapping);
1186 void log(
Logtype _type , QString _message );
1189 void log(QString _message );
1192 void scriptLog(QString _message);
1195 void externalLog(
Logtype _type , QString _message);
1200 void slotLog(
Logtype _type, QString _message);
1203 void slotLogToFile(
Logtype _type, QString _message);
1213 void scriptLogFunction( QString _output);
1225 bool checkSlot(QObject* _plugin ,
const char* _slotSignature);
1228 bool checkSignal(QObject* _plugin ,
const char* _signalSignature);
1238 std::vector<PluginInfo>& plugins();
1249 void printPluginLoadLog(
const QString& errors,
const QString& warnings);
1253 void slotShowPlugins();
1256 void loadPlugin(
const QString& _filename,
const bool _silent, QString& _licenseErrors , QObject* _plugin = 0 );
1259 void slotLoadPlugin();
1262 void slotBlockPlugin(
const QString &_rpcName);
1265 void slotUnBlockPlugin(
const QString &_rpcName);
1274 void genericMetadataDeserialized(QString key, QString value);
1275 void objectMetadataDeserialized(QString object_name, QString value);
1276 void objectMetadataDeserializedJson(
1277 QString object_name, QJsonDocument value);
1280 void slotMetadataDeserialized(
const QVector<QPair<QString, QString> > &data);
1292 void scriptInfo( QString _pluginName , QString _functionName );
1294 void executeScript( QString _script );
1296 void executeFileScript( QString _filename );
1298 void setSlotDescription(QString _slotName, QString _slotDescription,
1299 QStringList _parameters, QStringList _descriptions);
1309 void createWidget(QString _objectName, QString _uiFilename,
bool _show =
true);
1312 void setViewMode(QString _viewMode);
1315 QString getCurrentViewMode();
1318 void setViewModeIcon(QString _mode, QString _iconName);
1321 void moveToolBoxToTop(QString _name);
1324 void moveToolBoxToBottom(QString _name);
1326 void showReducedMenuBar(
bool reduced);
1332 void executePythonScriptFile(QString _filename);
1338 void executePythonScript(QString _script);
1364 void slotScriptInfo( QString _pluginName , QString _functionName );
1371 void slotExecuteScript( QString _script );
1377 void slotExecuteFileScript( QString _filename );
1379 void slotGetScriptingEngine( QScriptEngine*& _engine );
1381 void slotGetAllAvailableFunctions( QStringList& _functions );
1384 void slotSetSlotDescription(QString _slotName, QString _slotDescription,
1385 QStringList _parameters, QStringList _descriptions);
1388 void slotSetSlotDescriptionGlobalFunction(QString _functionName, QString _slotDescription,
1389 QStringList _parameters, QStringList _descriptions);
1392 void slotScriptError(
const QScriptValue &error);
1397 void slotGetDescription(QString _function, QString& _fnDescription,
1398 QStringList& _parameters, QStringList& _descriptions );
1405 void setDescriptions();
1420 void slotPluginExists( QString _pluginName ,
bool& _exists );
1428 void slotFunctionExists( QString _pluginName , QString _functionName ,
bool& _exists );
1436 void slotCall( QString _pluginName , QString _functionName ,
bool& _success );
1443 void slotCall( QString _expression ,
bool& _success );
1455 void slotGetValue(QString _expression, QVariant& _result );
1467 void checkScenegraphDirty();
1492 bool getJob(QString _jobId,
int& _index);
1497 void slotStartJob( QString _jobId, QString _description ,
int _min ,
int _max,
bool _blocking );
1500 void slotSetJobState(QString _jobId,
int _value );
1503 void slotSetJobName(QString _jobId, QString _name );
1506 void slotSetJobDescription(QString _jobId, QString _text );
1509 void slotCancelJob(QString _jobId );
1512 void slotFinishJob(QString _jobId );
1515 void slotJobCancelRequested(QString _jobId);
1519 void jobCanceled( QString _jobId );
1531 void newObject(
int _objectId);
1534 void deletedObject(
int _objectId);
1546 void exitApplication();
1555 void finishSplash();
1566 bool checkOpenGLCapabilities();
1572 bool checkLibraryVersions();
1574 void hookUpEventFilter(QWidget *widget);
1616 QScriptValue
myPrintFunction(QScriptContext *context, QScriptEngine *engine);
1622 QScriptValue
helpFunction(QScriptContext *context, QScriptEngine *engine);
1625 #endif // MVIEWWIDGET_HH defined QList< SlotInfo > globalFunctions_
Core scripting engine.
SeparatorNode * dataRootNode_
Root Node for data objects.
Interface class for type definitions.
prototypeVec3d vec3dPrototype_
Prototype for the Vector type.
ProcessManagerWidget * processManager_
A job has been started by a plugin.
QList< JobInfo > currentJobs
A job has been started by a plugin.
ACG::SceneGraph::CoordsysNode * coordsysNode_
Node for the coordinate system.
SeparatorNode * root_node_scenegraph_
Scenegraphs root node.
QTextStream * logStream_
stream for logging to file
const UpdateType UPDATE_ALL(UpdateTypeSet(1))
Identifier for all updates.
std::vector< dataTypes > supportedDataTypes_
Type-Plugins.
bool capture_
Slot called everytime the view is updated.
BaseObject * objectRoot_
Pointer to the data rootNode;.
QString splashMessage_
Last Splash message;.
SeparatorNode * root_node_scenegraph_global_
Seperator node for global nodes.
QTimer * scenegraphCheckTimer_
Timer that starts scenegraph check.
int lastWidth_
Slot called everytime the view is updated.
prototypeVec4d vec4dPrototype_
Prototype for the Vector type.
Logtype
Log types for Message Window.
QList< SlotInfo > coreSlots_
Core scripting engine.
prototypeDataType DataTypePrototype_
Prototype for the DataType.
QScriptValue helpFunction(QScriptContext *context, QScriptEngine *engine)
Function to print help about scripting functions.
prototypeMatrix4x4 matrix4x4Prototype_
Prototype for the Matrix type.
QScriptValue printToFileFunction(QScriptContext *context, QScriptEngine *engine)
Special print function for sending output to a file.
QTimer videoTimer_
Slot called everytime the view is updated.
std::vector< int > IdList
Standard Type for id Lists used for scripting.
int lastHeight_
Slot called everytime the view is updated.
int toolboxindex_
Index of Plugins toolbox widget.
QSplashScreen * splash_
SplashScreen, only used in gui mode.
CoreWidget * coreWidget_
The main applications widget ( only created in gui mode )
QStringList scriptingFunctions_
List of all registered scripting functions.
int nextBackupGroupId_
Id for the next backup group.
std::vector< std::pair< QString, bool > > commandLineFileNames_
Vector storing filenames from commandline to be opened after application startup (objects) ...
QScriptEngine scriptEngine_
Core scripting engine.
QTime * redrawTime_
Holds the time since last redraw.
QVector< ViewMode * > viewModes_
List of available draw modes.
QScriptValue myPrintFunction(QScriptContext *context, QScriptEngine *engine)
Special print function for core logger.
Class for the handling of simple configuration files.
ACG::SceneGraph::MaterialNode * coordsysMaterialNode_
Node for coordsys Material.
std::vector< PluginLogger * > loggers_
Logger interfaces between plugins and core logger.
int captureType_
Slot called everytime the view is updated.
std::vector< QString > commandLineScriptNames_
Vector storing filenames from commandline to be opened after application startup (script files) ...
SeparatorNode * core_nodes_
Separator Node holding all core scenegraph nodes.
std::vector< ScriptingWrapper * > scriptingWrappers_
Wrappers for plugin scripting.
SeparatorNode * dataSeparatorNode_
Toplevel Nodes for data objects.
QTimer * redrawTimer_
If enabled, this timer will block screen refresh if done more then 30 times per second.
int nextBackupId_
Id for the next backup.
QTime lastVideoTime_
Slot called everytime the view is updated.