![]() |
ImFusion SDK 4.3
|
#include <ImFusion/Seg/StructuresViewRenderer.h>
Helper class to automatically visualize the content of a StructuresView in a DisplayWidget. More...
Inheritance diagram for StructuresViewRenderer:Helper class to automatically visualize the content of a StructuresView in a DisplayWidget.
StructuresViewRenderer will listen to all changes provide the following visualizations:
You can enable setUseMeshBasedVisualization() to gain a more high-quality visualization. If enabled, StructuresViewRenderer will compute a mesh for each Structure and use this for outline rendering in MPR views and for rendering in the 3D view.
This class will forward changes of the structure configuration (e.g. color, visibility) to the corresponding renderer objects.
Public Member Functions | |
| StructuresViewRenderer (DisplayWidgetMulti &display) | |
| StructuresView * | structuresView () const |
| Returns the StructuresView to visualize in the DisplayWidget. | |
| void | setStructuresView (StructuresView *value) |
| Sets the StructuresView to visualize in the DisplayWidget. | |
| double | labelRendererOpacity () const |
| Returns the global opacity of the GlLabelRenderer instances used for visualization. | |
| void | setLabelRendererOpacity (double value) |
| Sets the global opacity of the GlLabelRenderer instances used for visualization. | |
| double | lineThicknessPx () const |
| Returns the thickness of the outline rendered for the structures in 2D/MPR views. | |
| void | setLineThicknessPx (double value) |
| Sets the thickness of the outline rendered for the structures in 2D/MPR views. | |
| bool | usesMeshBasedVisualization () const |
| Returns the flag whether to use a mesh-based visualization (higher quality but more expensive) of the structures. | |
| void | setUseMeshBasedVisualization (bool value) |
| Sets the flag whether to use a mesh-based visualization (higher quality but more expensive) of the structures. | |
Public Member Functions inherited from SignalReceiver | |
| SignalReceiver ()=default | |
| Default constructor. | |
| SignalReceiver (const SignalReceiver &other) | |
| Copy constructor, does not copy any existing signal connections from other. | |
| SignalReceiver & | operator= (SignalReceiver rhs) |
| Assignment operator, disconnects all existing connections, does not copy any existing signal connections from rhs. | |
| virtual | ~SignalReceiver () |
| Virtual destructor disconnects from all connected signals. | |
Additional Inherited Members | |
Protected Member Functions inherited from SignalReceiver | |
| void | disconnectAll () |
| Disconnects all existing connections. | |