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<ImagePyramid>, 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
int vertexMinSize
Color vertexColor
LabelColors vertexLabelColors
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
std::string title
bool fullscreen
bool maximize

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<ImagePyramid>, 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 set, 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.

std::string fast::Display2DArgs::title

Title to set to window, if renderToImage is false.

bool fast::Display2DArgs::fullscreen

Enable fullscreen window, if renderToImage is false.

bool fast::Display2DArgs::maximize

Maximize window, if renderToImage is false.