◆ addSourceAndVisualizerNetwork()
virtual std::vector< Processor * > inviwo::VolumeInformationVisualizer::addSourceAndVisualizerNetwork |
( |
const std::filesystem::path & | filename, |
|
|
ProcessorNetwork * | network, |
|
|
const ivec2 & | origin ) const |
|
overridevirtual |
Adds a source processor with the requested file and a set of processors visualizing the data. Nothing will be added to the network if outport is not supported (isOutportSupported returns false). Only source processor will be added if hasVisualizationNetwork returns false.
- Parameters
-
filename | The file to load in the source processor. The extension of the filename should be in the list of extensions returned by getSupportedFileExtensions. |
network | The network to add the processor to. |
origin | the initial position for the visualizer network |
- Returns
- A list of added processors.
Implements inviwo::DataVisualizer.
◆ addSourceProcessor()
virtual std::pair< Processor *, Outport * > inviwo::VolumeInformationVisualizer::addSourceProcessor |
( |
const std::filesystem::path & | filename, |
|
|
ProcessorNetwork * | network, |
|
|
const ivec2 & | origin ) const |
|
overridevirtual |
Adds a source processor with the requested file to the network. hasSourceProcessor should return true for this function to be called.
- Parameters
-
filename | The file to load in the source processor. The extension of the filename should be in the list of extensions returned by getSupportedFileExtensions. |
network | The network to add the processor to. |
origin | the initial position for the processor |
- Returns
- The added source processor and the outport in the source processor containing data from the given file.
Implements inviwo::DataVisualizer.
◆ addVisualizerNetwork()
Adds a set of processors visualizing the data in the given outport. Nothing will be added to the network if outport is not supported (isOutportSupported returns false). hasVisualizationNetwork should return true for this function to be called.
- Parameters
-
outport | The port to get data from. It will be connected to the added network. |
network | The network to add the Visualizer Network into. |
- Returns
- A list of added processors.
Implements inviwo::DataVisualizer.
◆ getDescription()
virtual Document inviwo::VolumeInformationVisualizer::getDescription |
( |
| ) |
const |
|
overridevirtual |
◆ getName()
virtual std::string inviwo::VolumeInformationVisualizer::getName |
( |
| ) |
const |
|
overridevirtual |
◆ getSupportedFileExtensions()
virtual std::vector< FileExtension > inviwo::VolumeInformationVisualizer::getSupportedFileExtensions |
( |
| ) |
const |
|
overridevirtual |
◆ hasSourceProcessor()
virtual bool inviwo::VolumeInformationVisualizer::hasSourceProcessor |
( |
| ) |
const |
|
overridevirtual |
◆ hasVisualizerNetwork()
virtual bool inviwo::VolumeInformationVisualizer::hasVisualizerNetwork |
( |
| ) |
const |
|
overridevirtual |
◆ isOutportSupported()
virtual bool inviwo::VolumeInformationVisualizer::isOutportSupported |
( |
const Outport * | port | ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following file:
- volumeinformationvisualizer.h