Display3DArgs struct
#include <FAST/Visualization/Shortcuts.hpp>
Arguments for display3D function.
Contents
- Reference
Public variables
- std::variant<std::monostate, std::shared_ptr<Image>, std::shared_ptr<ProcessObject>> image
- std::variant<std::monostate, std::shared_ptr<Image>, std::shared_ptr<ProcessObject>> segmentation
- std::optional<float> intensityLevel
- std::optional<float> intensityWindow
- LabelColors segmentationColors
- float segmentationOpacity
- float segmentationBorderOpacity
- int segmentationBorderRadius
- TransferFunction transferFunction
- DisplayType displayType
- Color bgcolor
- int width
- int height
- std::optional<int> timeout
- bool returnWindow
- std::variant<std::monostate, std::vector<QWidget*>, std::map<WidgetPosition, std::vector<QWidget*>>> widgets
Variable documentation
std::variant<std::monostate, std::shared_ptr<Image>, std::shared_ptr<ProcessObject>> fast:: Display3DArgs:: image
Source of Image data to display (optional)
std::variant<std::monostate, std::shared_ptr<Image>, std::shared_ptr<ProcessObject>> fast:: Display3DArgs:: segmentation
Source of segmentation Image data to display (optional)
std::optional<float> fast:: Display3DArgs:: intensityLevel
Intensity level used by ImageRenderer. Only used with DisplayType::
std::optional<float> fast:: Display3DArgs:: intensityWindow
Intensity window used by ImageRenderer. Only used with DisplayType::
TransferFunction fast:: Display3DArgs:: transferFunction
Transfer function to use by AlphaBlendingVolumeRenderer when displayType == DisplayType::
int fast:: Display3DArgs:: width
Width of window, set to 0 to use default width.
int fast:: Display3DArgs:: height
Height of window, set to 0 to use default height.
std::optional<int> fast:: Display3DArgs:: timeout
Milliseconds until closing window automatically. If not setm the window will not automatically close.
bool fast:: Display3DArgs:: returnWindow
If set to true, the window is returned by the function, else display2D will call run on the window and return nothing.
std::variant<std::monostate, std::vector<QWidget*>, std::map<WidgetPosition, std::vector<QWidget*>>> fast:: Display3DArgs:: widgets
Widgets to attach to window.