fast::Display2DArgs struct

Arguments for display2D function.

Contents

Public variables

std::variant<std::monostate, std::shared_ptr<Image>, std::shared_ptr<ProcessObject>> image
std::variant<std::monostate, std::shared_ptr<ImagePyramid>, std::shared_ptr<ProcessObject>> imagePyramid
std::variant<std::monostate, std::shared_ptr<Image>, std::shared_ptr<ProcessObject>> segmentation
std::variant<std::monostate, std::shared_ptr<Mesh>, std::shared_ptr<ProcessObject>> vertices
std::variant<std::monostate, std::shared_ptr<Mesh>, std::shared_ptr<ProcessObject>> lines
std::optional<float> intensityLevel
std::optional<float> intensityWindow
LabelColors segmentationColors
float segmentationOpacity
float segmentationBorderOpacity
int segmentationBorderRadius
float lineWidth
Color lineColor
float vertexSize
bool vertexSizeIsInPixels
float vertexMinSize
Color vertexColor
float vertexOpacity
Color bgcolor
int width
int height
std::optional<int> timeout
bool renderToImage
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::Display2DArgs::image

Source of Image data to display (optional)

std::variant<std::monostate, std::shared_ptr<ImagePyramid>, std::shared_ptr<ProcessObject>> fast::Display2DArgs::imagePyramid

Source of ImagePyramid data to display (optional)

std::variant<std::monostate, std::shared_ptr<Image>, std::shared_ptr<ProcessObject>> fast::Display2DArgs::segmentation

Source of segmentation Image data to display (optional)

std::variant<std::monostate, std::shared_ptr<Mesh>, std::shared_ptr<ProcessObject>> fast::Display2DArgs::vertices

Source of vertices Mesh data to display (optional)

std::variant<std::monostate, std::shared_ptr<Mesh>, std::shared_ptr<ProcessObject>> fast::Display2DArgs::lines

Source of lines Mesh data to display (optional)

std::optional<float> fast::Display2DArgs::intensityLevel

Intensity level used by ImageRenderer

std::optional<float> fast::Display2DArgs::intensityWindow

Intensity window used by ImageRenderer

Color fast::Display2DArgs::bgcolor

Background color to use for the View.

int fast::Display2DArgs::width

Width of window, set to 0 to use default width.

int fast::Display2DArgs::height

Height of window, set to 0 to use default height.

std::optional<int> fast::Display2DArgs::timeout

Milliseconds until closing window automatically. If not setm the window will not automatically close.

bool fast::Display2DArgs::renderToImage

If set to true, the data is rendered to an Image and returned, instead of displaying it using a window.

bool fast::Display2DArgs::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::Display2DArgs::widgets

Widgets to attach to window.