class

MSectorMap

Module
Miri
Header
#include "Miri/Widgets/MSectorMap.h"
Namespace
Miri

Properties

TypeNameDescription
std::function<void(const FMiriSectorCoord&, bool)>OnHoverChanged
std::function<void(const FMiriSectorCoord&, bool)>OnCellClicked
std::function<void(const FMiriSectorCoord&)>OnCellDoubleClicked
std::function<void(const FMiriSectorCoord&, const MiriVec2&)>OnCellContext
std::function<void(std::vector<FMiriSectorCoord>)>OnBoxSelected
std::function<void(int32_t)>OnZoomStep

Public functions

ReturnsNameDescription
MIRI_WIDGET_ARGS
voidSetCells
voidSetSources
voidSetView
voidSetSelection
const std::vector<FMiriSectorCell>&GetCells
const std::vector<FMiriSectorCoord>&GetSelection
const std::vector<FMiriSectorSource>&GetSources
const FMiriSectorView&GetView
voidSetHoveredCellPins a hovered cell for display (the gallery's state rows).
FMiriSectorLayoutLayout
boolCellRect
boolCellAt
MiriVec2CellSpaceToScreen
std::vector<FMiriSectorCoord>CellsInBandThe cells with data whose rect meets the band (a box select).
const FMiriSectorCell*FindCell
MiriVec2ComputeDesiredSize
int32_tOnPaint
CReplyOnMouseButtonDown
CReplyOnMouseMove
CReplyOnMouseButtonUp
CReplyOnMouseWheel
CReplyOnKeyDown
voidOnMouseEnter
voidOnMouseLeave
voidOnMouseCaptureLost
boolIsFocusable
EFocusVisualGetFocusVisual
const char*GetTypeName

Function details

MIRI_WIDGET_ARGS

C++
MIRI_WIDGET_ARGS(MSectorMap) MIRI_WIDGET_ARGS_END() void Construct(const CArguments& args)

SetCells

C++
void SetCells(std::vector<FMiriSectorCell> cells)

SetSources

C++
void SetSources(std::vector<FMiriSectorSource> sources)

SetView

C++
void SetView(const FMiriSectorView& view)

SetSelection

C++
void SetSelection(std::vector<FMiriSectorCoord> selection)

GetCells

C++
const std::vector<FMiriSectorCell>& GetCells() const

GetSelection

C++
const std::vector<FMiriSectorCoord>& GetSelection() const

GetSources

C++
const std::vector<FMiriSectorSource>& GetSources() const

GetView

C++
const FMiriSectorView& GetView() const

SetHoveredCell

C++
void SetHoveredCell(bool hasHover, const FMiriSectorCoord& coord)

Pins a hovered cell for display (the gallery's state rows).

Layout

C++
FMiriSectorLayout Layout(const MiriRect& rect) const

CellRect

C++
bool CellRect(const FMiriSectorLayout& layout, const FMiriSectorCoord& coord, MiriRect& outRect) const

CellAt

C++
bool CellAt(const MiriRect& rect, const MiriVec2& screen, FMiriSectorCoord& outCoord) const

CellSpaceToScreen

C++
MiriVec2 CellSpaceToScreen(const FMiriSectorLayout& layout, float x, float z) const

CellsInBand

C++
std::vector<FMiriSectorCoord> CellsInBand(const MiriRect& rect, const MiriRect& band) const

The cells with data whose rect meets the band (a box select).

FindCell

C++
const FMiriSectorCell* FindCell(const FMiriSectorCoord& coord) const

ComputeDesiredSize

C++
MiriVec2 ComputeDesiredSize(float scale) const override

OnPaint

C++
int32_t OnPaint(const CMiriPaintArgs& args, const CGeometry& geo, CMiriRenderer& renderer, int32_t layerId) const override

OnMouseButtonDown

C++
CReply OnMouseButtonDown(const CGeometry& geo, const CPointerEvent& event) override

OnMouseMove

C++
CReply OnMouseMove(const CGeometry& geo, const CPointerEvent& event) override

OnMouseButtonUp

C++
CReply OnMouseButtonUp(const CGeometry& geo, const CPointerEvent& event) override

OnMouseWheel

C++
CReply OnMouseWheel(const CGeometry& geo, const CPointerEvent& event) override

OnKeyDown

C++
CReply OnKeyDown(const CGeometry& geo, const CKeyEvent& event) override

OnMouseEnter

C++
void OnMouseEnter(const CGeometry& geo, const CPointerEvent& event) override

OnMouseLeave

C++
void OnMouseLeave(const CPointerEvent& event) override

OnMouseCaptureLost

C++
void OnMouseCaptureLost() override

IsFocusable

C++
bool IsFocusable() const override

GetFocusVisual

C++
EFocusVisual GetFocusVisual() const override

GetTypeName

C++
const char* GetTypeName() const override
Generated from Miri/Widgets/MSectorMap.h via miri.json · Dec 5, 2026Version 1.1.0