Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::InviwoCore Class Reference

Module which registers all module related functionality available in the core. More...

#include <inviwocore.h>

Inheritance diagram for inviwo::InviwoCore:

Public Member Functions

 InviwoCore (InviwoApplication *app)
virtual const std::filesystem::path & getPath () const override
Public Member Functions inherited from inviwo::InviwoModule
 InviwoModule (InviwoApplication *app, std::string_view identifier)
 InviwoModule (const InviwoModule &)=delete
InviwoModuleoperator= (const InviwoModule &)=delete
 InviwoModule (InviwoModule &&)=delete
InviwoModuleoperator= (InviwoModule &&)=delete
const std::string & getIdentifier () const
 Get module identifier, i.e the module folder name.
virtual std::string getDescription () const
std::filesystem::path getPath (ModulePath type) const
virtual int getVersion () const
virtual std::unique_ptr< VersionConvertergetConverter (int oldModuleVersion) const
const std::vector< CameraFactoryObject * > getCameras () const
const std::vector< Capabilities * > getCapabilities () const
const std::vector< DataReader * > getDataReaders () const
const std::vector< DataWriter * > getDataWriters () const
const std::vector< DialogFactoryObject * > getDialogs () const
const std::vector< MeshDrawer * > getDrawers () const
const std::vector< MetaData * > getMetaData () const
const std::vector< InportFactoryObject * > getInports () const
const std::vector< OutportFactoryObject * > getOutports () const
const std::vector< PortInspectorFactoryObject * > getPortInspectors () const
const std::vector< ProcessorFactoryObject * > getProcessors () const
const std::vector< ProcessorWidgetFactoryObject * > getProcessorWidgets () const
const std::vector< PropertyFactoryObject * > getProperties () const
const std::vector< PropertyWidgetFactoryObject * > getPropertyWidgets () const
const std::vector< BaseRepresentationFactoryObject * > getRepresentationFactoryObjects () const
const std::vector< BaseRepresentationFactory * > getRepresentationFactories () const
const std::vector< BaseRepresentationConverter * > getRepresentationConverters () const
const std::vector< BaseRepresentationConverterFactory * > getRepresentationConverterFactories () const
const std::vector< Settings * > & getSettings () const
auto cameras () const
auto capabilities () const
auto dataReaders () const
auto dataWriters () const
auto dialogs () const
auto drawers () const
auto metadata () const
auto inports () const
auto outports () const
auto portInspectors () const
auto processors () const
auto processorWidgets () const
auto propertyConverters () const
auto properties () const
auto propertyWidgets () const
auto representationFactoryObjects () const
auto representationFactories () const
auto representationConverters () const
auto representationConverterFactories () const
void registerCapabilities (std::unique_ptr< Capabilities > info)
void registerCamera (std::unique_ptr< CameraFactoryObject > camera)
template<typename T>
void registerCamera (std::string_view classIdentifier)
void registerDataReader (std::unique_ptr< DataReader > reader)
void registerDataWriter (std::unique_ptr< DataWriter > writer)
void registerDialog (std::unique_ptr< DialogFactoryObject > dialog)
template<typename T>
void registerDialog (std::string_view classIdentifier)
void registerDrawer (std::unique_ptr< MeshDrawer > drawer)
void registerMetaData (std::unique_ptr< MetaData > meta)
void registerProcessor (std::unique_ptr< ProcessorFactoryObject > pfo)
template<typename T>
void registerProcessor ()
void registerCompositeProcessor (const std::filesystem::path &file)
void registerProcessorWidget (std::unique_ptr< ProcessorWidgetFactoryObject > widget)
template<typename T, typename P>
void registerProcessorWidget ()
void registerPortInspector (std::string_view portClassIdentifier, const std::filesystem::path &inspectorPath)
void registerDataVisualizer (std::unique_ptr< DataVisualizer > visualizer)
void registerInport (std::unique_ptr< InportFactoryObject > inport)
void registerOutport (std::unique_ptr< OutportFactoryObject > outport)
template<typename T>
void registerPort ()
template<typename T>
void registerDefaultsForDataType ()
void registerProperty (std::unique_ptr< PropertyFactoryObject > property)
template<typename T>
void registerProperty ()
void registerPropertyWidget (std::unique_ptr< PropertyWidgetFactoryObject > propertyWidget)
template<typename T, typename P>
void registerPropertyWidget (PropertySemantics semantics)
template<typename T, typename P>
void registerPropertyWidget (std::string_view semantics)
void registerPropertyConverter (std::unique_ptr< PropertyConverter > propertyConverter)
template<typename BaseRepr>
void registerRepresentationFactoryObject (std::unique_ptr< RepresentationFactoryObject< BaseRepr > > representation)
void registerRepresentationFactory (std::unique_ptr< BaseRepresentationFactory > representationFactory)
template<typename BaseRepr>
void registerRepresentationConverter (std::unique_ptr< RepresentationConverter< BaseRepr > > converter)
void registerRepresentationConverterFactory (std::unique_ptr< BaseRepresentationConverterFactory > converterFactory)
void registerSettings (std::unique_ptr< Settings > settings)
void registerSettings (Settings *settings)
InviwoApplicationgetInviwoApplication () const

Additional Inherited Members

Protected Attributes inherited from inviwo::InviwoModule
InviwoApplicationapp_

Detailed Description

Module which registers all module related functionality available in the core.

Member Function Documentation

◆ getPath()

virtual const std::filesystem::path & inviwo::InviwoCore::getPath ( ) const
overridevirtual

Get the path to this module directory. For instance: C:/inviwo/modules/mymodule/

Note
Assumes that getIdentifier() returns the module folder name. The folder name should always be lower case.
The returned directory might not exist in the case that the app is deployed and the module does not contain any resources.
Returns
std::string Path to module directory

Reimplemented from inviwo::InviwoModule.


The documentation for this class was generated from the following file:
  • inviwocore.h