Inviwo 0.9.12-pre
Inviwo documentation
|
#include <datavisualizermanager.h>
Public Member Functions | |
DataVisualizerManager (const DataVisualizerManager &)=delete | |
DataVisualizerManager (DataVisualizerManager &&)=default | |
DataVisualizerManager & | operator= (const DataVisualizerManager &that)=delete |
DataVisualizerManager & | operator= (DataVisualizerManager &&that)=default |
void | registerObject (DataVisualizer *visualizer) |
void | unRegisterObject (DataVisualizer *visualizer) |
std::vector< FileExtension > | getSupportedFileExtensions () const |
std::vector< DataVisualizer * > | getDataVisualizersForFile (const std::filesystem::path &pathOrExtension) const |
Get a list of Data Visualizers supporting the file extension of the supplied string. | |
std::vector< DataVisualizer * > | getDataVisualizersForOutport (const Outport *port) const |
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.
std::vector< DataVisualizer * > inviwo::DataVisualizerManager::getDataVisualizersForFile | ( | const std::filesystem::path & | pathOrExtension | ) | const |
Get a list of Data Visualizers supporting the file extension of the supplied string.
pathOrExtension | Path to file, or simply the extension. |
std::vector< DataVisualizer * > inviwo::DataVisualizerManager::getDataVisualizersForOutport | ( | const Outport * | port | ) | const |
Get a list of Data Visualizers supporting the supplied outport.
std::vector< FileExtension > inviwo::DataVisualizerManager::getSupportedFileExtensions | ( | ) | const |
Return a list of all supported file extensions from all Data Visualizers
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.
void inviwo::DataVisualizerManager::unRegisterObject | ( | DataVisualizer * | visualizer | ) |
Unregister a Data Visualizer. This is usually called by InviwoModule.