Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::VolumeRaycastVisualizer Class Reference
+ Inheritance diagram for inviwo::VolumeRaycastVisualizer:

Public Member Functions

 VolumeRaycastVisualizer (InviwoApplication *app)
 
virtual std::string getName () const override
 
virtual Document getDescription () const override
 
virtual std::vector< FileExtensiongetSupportedFileExtensions () const override
 
virtual bool isOutportSupported (const Outport *port) const override
 
virtual bool hasSourceProcessor () const override
 
virtual bool hasVisualizerNetwork () const override
 
virtual std::pair< Processor *, Outport * > addSourceProcessor (const std::filesystem::path &filename, ProcessorNetwork *network, const ivec2 &origin) const override
 
virtual std::vector< Processor * > addVisualizerNetwork (Outport *outport, ProcessorNetwork *network) const override
 
virtual std::vector< Processor * > addSourceAndVisualizerNetwork (const std::filesystem::path &filename, ProcessorNetwork *network, const ivec2 &origin) const override
 
- Public Member Functions inherited from inviwo::DataVisualizer

Member Function Documentation

◆ addSourceAndVisualizerNetwork()

virtual std::vector< Processor * > inviwo::VolumeRaycastVisualizer::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
filenameThe file to load in the source processor. The extension of the filename should be in the list of extensions returned by getSupportedFileExtensions.
networkThe network to add the processor to.
originthe initial position for the visualizer network
Returns
A list of added processors.

Implements inviwo::DataVisualizer.

◆ addSourceProcessor()

virtual std::pair< Processor *, Outport * > inviwo::VolumeRaycastVisualizer::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
filenameThe file to load in the source processor. The extension of the filename should be in the list of extensions returned by getSupportedFileExtensions.
networkThe network to add the processor to.
originthe 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()

virtual std::vector< Processor * > inviwo::VolumeRaycastVisualizer::addVisualizerNetwork ( Outport * outport,
ProcessorNetwork * network ) const
overridevirtual

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
outportThe port to get data from. It will be connected to the added network.
networkThe network to add the Visualizer Network into.
Returns
A list of added processors.

Implements inviwo::DataVisualizer.

◆ getDescription()

virtual Document inviwo::VolumeRaycastVisualizer::getDescription ( ) const
overridevirtual

A detailed description

Implements inviwo::DataVisualizer.

◆ getName()

virtual std::string inviwo::VolumeRaycastVisualizer::getName ( ) const
overridevirtual

A descriptive name of the visualizer

Implements inviwo::DataVisualizer.

◆ getSupportedFileExtensions()

virtual std::vector< FileExtension > inviwo::VolumeRaycastVisualizer::getSupportedFileExtensions ( ) const
overridevirtual

A list of file formats that the visualizer can open

Implements inviwo::DataVisualizer.

◆ hasSourceProcessor()

virtual bool inviwo::VolumeRaycastVisualizer::hasSourceProcessor ( ) const
overridevirtual

Does the visualizer provide a source processor

Implements inviwo::DataVisualizer.

◆ hasVisualizerNetwork()

virtual bool inviwo::VolumeRaycastVisualizer::hasVisualizerNetwork ( ) const
overridevirtual

Does the visualizer provide a visualization network

Implements inviwo::DataVisualizer.

◆ isOutportSupported()

virtual bool inviwo::VolumeRaycastVisualizer::isOutportSupported ( const Outport * port) const
overridevirtual

Test if the visualizer can be connected to the given outport

Implements inviwo::DataVisualizer.


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