Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitk::WindowInfo Struct Reference

#include <mitkRenderWindowBridge.h>

Collaboration diagram for mitk::WindowInfo:

Public Attributes

std::string id
 
WindowKind kind
 
std::optional< AnatomicalPlane > viewDirection
 

Detailed Description

Summary of a single render window exposed by an editor.

id is the URL-segment identifier of the window – for StdMulti the engine-fixed slot tokens "axial" / "sagittal" / "coronal" / "3d"; for MxN-derived editors the canonical fully-qualified cell id. It mirrors MxNWindowInfo::id so generic clients see the same identity field name across editor types.

viewDirection is populated for 2D windows (axial / sagittal / coronal); the 3D window leaves it as std::nullopt. The field is redundant with id under the current StdMulti definition (where the slot id equals the plane), but it puts the StdMulti and MxN window summaries on the same shape so generic clients can read view_direction uniformly across editor types without parsing StdMulti's slot id.

Definition at line 176 of file mitkRenderWindowBridge.h.

Member Data Documentation

◆ id

std::string mitk::WindowInfo::id

Definition at line 178 of file mitkRenderWindowBridge.h.

◆ kind

WindowKind mitk::WindowInfo::kind

Definition at line 179 of file mitkRenderWindowBridge.h.

◆ viewDirection

std::optional<AnatomicalPlane> mitk::WindowInfo::viewDirection

Definition at line 180 of file mitkRenderWindowBridge.h.


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