◆ addSourceAndVisualizerNetwork()
std::vector< Processor * > inviwo::MeshVisualizer::addSourceAndVisualizerNetwork |
( |
const std::string & |
filename, |
|
|
ProcessorNetwork * |
network |
|
) |
| 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. |
- Returns
- A list of added processors.
Implements inviwo::DataVisualizer.
◆ addSourceProcessor()
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. |
- 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()
Document inviwo::MeshVisualizer::getDescription |
( |
| ) |
const |
|
overridevirtual |
◆ getName()
std::string inviwo::MeshVisualizer::getName |
( |
| ) |
const |
|
overridevirtual |
◆ getSupportedFileExtensions()
std::vector< FileExtension > inviwo::MeshVisualizer::getSupportedFileExtensions |
( |
| ) |
const |
|
overridevirtual |
◆ hasSourceProcessor()
bool inviwo::MeshVisualizer::hasSourceProcessor |
( |
| ) |
const |
|
overridevirtual |
◆ hasVisualizerNetwork()
bool inviwo::MeshVisualizer::hasVisualizerNetwork |
( |
| ) |
const |
|
overridevirtual |
◆ isOutportSupported()
bool inviwo::MeshVisualizer::isOutportSupported |
( |
const Outport * |
port | ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following files:
- meshvisualizer.h
- meshvisualizer.cpp