|
| InviwoApplicationQt (const std::string &displayName="Inviwo") |
|
| InviwoApplicationQt (int &argc, char **argv, const std::string &displayName) |
|
virtual void | registerFileObserver (FileObserver *fileObserver) override |
|
virtual void | unRegisterFileObserver (FileObserver *fileObserver) override |
|
virtual void | startFileObservation (std::string fileName) override |
|
virtual void | stopFileObservation (std::string fileName) override |
|
virtual void | closeInviwoApplication () override |
|
virtual void | playSound (Message soundID) override |
|
virtual std::locale | getUILocale () const override |
| Get locale object for determining parsing and formatting of data. More...
|
|
void | setMainWindow (QMainWindow *mainWindow) |
| Set the main window used by the application. The widget object name will be set to "InviwoMainWindow". Other widgets can thereby find the main window in QApplication. More...
|
|
QMainWindow * | getMainWindow () |
|
virtual bool | event (QEvent *e) override |
|
virtual bool | notify (QObject *receiver, QEvent *e) override |
|
void | setUndoTrigger (std::function< void()> func) |
|
virtual void | resizePool (size_t newSize) override |
|
virtual void | printApplicationInfo () override |
|
void | setStyleSheetFile (QString file) |
|
| InviwoApplication (std::string displayName) |
|
| InviwoApplication (int argc, char **argv, std::string displayName) |
|
| InviwoApplication (const InviwoApplication &rhs)=delete |
|
InviwoApplication & | operator= (const InviwoApplication &that)=delete |
|
virtual void | registerModules (std::vector< std::unique_ptr< InviwoModuleFactoryObject >> modules) |
| Registers modules from factories and takes ownership of input module factories. Module is registered if dependencies exist and they have correct version.
|
|
virtual void | registerModules (RuntimeModuleLoading) |
| Load modules from dynamic library files in the regular search paths. More...
|
|
std::string | getBasePath () const |
|
std::string | getPath (PathType pathType, const std::string &suffix="", const bool &createFolder=false) |
|
ModuleManager & | getModuleManager () |
|
const ModuleManager & | getModuleManager () const |
|
const std::vector< std::unique_ptr< InviwoModule > > & | getModules () const |
|
template<class T > |
T * | getModuleByType () const |
|
InviwoModule * | getModuleByIdentifier (const std::string &identifier) const |
|
ProcessorNetwork * | getProcessorNetwork () |
|
ProcessorNetworkEvaluator * | getProcessorNetworkEvaluator () |
|
WorkspaceManager * | getWorkspaceManager () |
|
PropertyPresetManager * | getPropertyPresetManager () |
|
PortInspectorManager * | getPortInspectorManager () |
|
DataVisualizerManager * | getDataVisualizerManager () |
|
CommandLineParser & | getCommandLineParser () |
|
const CommandLineParser & | getCommandLineParser () const |
|
virtual void | addCallbackAction (ModuleCallbackAction *callbackAction) |
| Add an action that can be shown in for example property widget context menu. Will be shown when right clicking on a property in the NetworkEditor. Added callbacks will be removed in ~InviwoModule when your module is destroyed. Example if you want to do it earlier: More...
|
|
virtual std::vector< std::unique_ptr< ModuleCallbackAction > > & | getCallbackActions () |
| Get list of ModuleCallbackAction shown in for example property widget context menu. Do not keep references to elements in the list around since you cannot be notified when they will be removed. More...
|
|
std::vector< Settings * > | getModuleSettings () |
|
SystemSettings & | getSystemSettings () |
|
template<class T > |
T * | getSettingsByType () |
|
std::vector< Capabilities * > | getModuleCapabilities () |
|
SystemCapabilities & | getSystemCapabilities () |
|
template<class T > |
T * | getCapabilitiesByType () |
|
template<class F , class... Args> |
auto | dispatchPool (F &&f, Args &&... args) -> std::future< typename std::result_of< F(Args...)>::type > |
|
template<class F , class... Args> |
auto | dispatchFront (F &&f, Args &&... args) -> std::future< typename std::result_of< F(Args...)>::type > |
|
void | dispatchFrontAndForget (std::function< void()> fun) |
|
virtual void | processFront () |
|
size_t | getPoolSize () const |
|
void | waitForPool () |
|
void | setPostEnqueueFront (std::function< void()> func) |
|
void | setProgressCallback (std::function< void(std::string)> progressCallback) |
|
ResourceManager * | getResourceManager () |
|
TimerThread & | getTimerThread () |
|
const std::string & | getDisplayName () const |
|
void | postProgress (std::string progress) |
|
UsageMode | getApplicationUsageMode () const |
|
void | setApplicationUsageMode (UsageMode mode) |
|
virtual void | onResourceManagerEnableStateChanged () override |
|
CameraFactory * | getCameraFactory () const |
|
DataReaderFactory * | getDataReaderFactory () const |
|
DataWriterFactory * | getDataWriterFactory () const |
|
DialogFactory * | getDialogFactory () const |
|
MeshDrawerFactory * | getMeshDrawerFactory () const |
|
MetaDataFactory * | getMetaDataFactory () const |
|
InportFactory * | getInportFactory () const |
|
OutportFactory * | getOutportFactory () const |
|
PortInspectorFactory * | getPortInspectorFactory () const |
|
ProcessorFactory * | getProcessorFactory () const |
|
ProcessorWidgetFactory * | getProcessorWidgetFactory () const |
|
PropertyConverterManager * | getPropertyConverterManager () const |
|
PropertyFactory * | getPropertyFactory () const |
|
PropertyWidgetFactory * | getPropertyWidgetFactory () const |
|
template<typename BaseRepr > |
RepresentationFactory< BaseRepr > * | getRepresentationFactory () const |
|
RepresentationMetaFactory * | getRepresentationMetaFactory () const |
|
template<typename BaseRepr > |
RepresentationConverterFactory< BaseRepr > * | getRepresentationConverterFactory () const |
|
RepresentationConverterMetaFactory * | getRepresentationConverterMetaFactory () const |
|
| Singleton (Singleton< InviwoApplication > const &)=delete |
|
void | operator= (Singleton< InviwoApplication > const &)=delete |
|
virtual void | onResourceAdded (const std::string &, const std::type_index &, Resource *) |
|
virtual void | onResourceRemoved (const std::string &, const std::type_index &, Resource *) |
|
| Observer (const Observer &other) |
|
| Observer (Observer &&other) |
|
Observer & | operator= (Observer &&other) |
|
Observer & | operator= (const Observer &other) |
|
virtual | ~Observer () |
|
void | removeObservation (ObservableInterface *observable) |
|
void | removeObservations () |
|