Inviwo  0.9.10.1
Inviwo documentation
inviwo::DataVisualizerManager Class Reference

#include <datavisualizermanager.h>

Public Member Functions

 DataVisualizerManager (const DataVisualizerManager &)=delete
 
 DataVisualizerManager (DataVisualizerManager &&)=default
 
DataVisualizerManageroperator= (const DataVisualizerManager &that)=delete
 
DataVisualizerManageroperator= (DataVisualizerManager &&that)=default
 
void registerObject (DataVisualizer *visualizer)
 
void unRegisterObject (DataVisualizer *visualizer)
 
std::vector< FileExtensiongetSupportedFileExtensions () const
 
std::vector< DataVisualizer * > getDataVisualizersForExtension (const std::string &ext) const
 
std::vector< DataVisualizer * > getDataVisualizersForOutport (const Outport *port) const
 

Detailed Description

The Data Visualizer Manager keeps track of all registered Data Visualizers. One can ask the Data Visualizer Manager for all Data Visualizer supporting a file extension or an Outport type.

See also
DataVisualizer

Member Function Documentation

◆ getDataVisualizersForExtension()

std::vector< DataVisualizer * > inviwo::DataVisualizerManager::getDataVisualizersForExtension ( const std::string &  ext) const

Get a list of Data Visualizers supporting the supplied extension.

◆ getDataVisualizersForOutport()

std::vector< DataVisualizer * > inviwo::DataVisualizerManager::getDataVisualizersForOutport ( const Outport port) const

Get a list of Data Visualizers supporting the supplied outport.

◆ getSupportedFileExtensions()

std::vector< FileExtension > inviwo::DataVisualizerManager::getSupportedFileExtensions ( ) const

Return a list of all supported file extensions from all Data Visualizers

◆ registerObject()

void inviwo::DataVisualizerManager::registerObject ( DataVisualizer visualizer)

Register a Data Visualizer, does not take ownership. One would usually not call this function manually. Instead use the functionality of InviwoModule::registerDataVisualizer which will call registerObject and the unRegisterObject automatically.

See also
InviwoModule

◆ unRegisterObject()

void inviwo::DataVisualizerManager::unRegisterObject ( DataVisualizer visualizer)

Unregister a Data Visualizer. This is usually called by InviwoModule.

See also
InviwoModule

The documentation for this class was generated from the following files: