class
MSectorMap
- Module
- Miri
- Header
#include "Miri/Widgets/MSectorMap.h"- Namespace
Miri
Properties
| Type | Name | Description |
|---|---|---|
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
| Returns | Name | Description |
|---|---|---|
MIRI_WIDGET_ARGS | ||
void | SetCells | |
void | SetSources | |
void | SetView | |
void | SetSelection | |
const std::vector<FMiriSectorCell>& | GetCells | |
const std::vector<FMiriSectorCoord>& | GetSelection | |
const std::vector<FMiriSectorSource>& | GetSources | |
const FMiriSectorView& | GetView | |
void | SetHoveredCell | Pins a hovered cell for display (the gallery's state rows). |
FMiriSectorLayout | Layout | |
bool | CellRect | |
bool | CellAt | |
MiriVec2 | CellSpaceToScreen | |
std::vector<FMiriSectorCoord> | CellsInBand | The cells with data whose rect meets the band (a box select). |
const FMiriSectorCell* | FindCell | |
MiriVec2 | ComputeDesiredSize | |
int32_t | OnPaint | |
CReply | OnMouseButtonDown | |
CReply | OnMouseMove | |
CReply | OnMouseButtonUp | |
CReply | OnMouseWheel | |
CReply | OnKeyDown | |
void | OnMouseEnter | |
void | OnMouseLeave | |
void | OnMouseCaptureLost | |
bool | IsFocusable | |
EFocusVisual | GetFocusVisual | |
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() constGetSelection
C++
const std::vector<FMiriSectorCoord>& GetSelection() constGetSources
C++
const std::vector<FMiriSectorSource>& GetSources() constGetView
C++
const FMiriSectorView& GetView() constSetHoveredCell
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) constCellRect
C++
bool CellRect(const FMiriSectorLayout& layout, const FMiriSectorCoord& coord, MiriRect& outRect) constCellAt
C++
bool CellAt(const MiriRect& rect, const MiriVec2& screen, FMiriSectorCoord& outCoord) constCellSpaceToScreen
C++
MiriVec2 CellSpaceToScreen(const FMiriSectorLayout& layout, float x, float z) constCellsInBand
C++
std::vector<FMiriSectorCoord> CellsInBand(const MiriRect& rect, const MiriRect& band) constThe cells with data whose rect meets the band (a box select).
FindCell
C++
const FMiriSectorCell* FindCell(const FMiriSectorCoord& coord) constComputeDesiredSize
C++
MiriVec2 ComputeDesiredSize(float scale) const overrideOnPaint
C++
int32_t OnPaint(const CMiriPaintArgs& args, const CGeometry& geo, CMiriRenderer& renderer, int32_t layerId) const overrideOnMouseButtonDown
C++
CReply OnMouseButtonDown(const CGeometry& geo, const CPointerEvent& event) overrideOnMouseMove
C++
CReply OnMouseMove(const CGeometry& geo, const CPointerEvent& event) overrideOnMouseButtonUp
C++
CReply OnMouseButtonUp(const CGeometry& geo, const CPointerEvent& event) overrideOnMouseWheel
C++
CReply OnMouseWheel(const CGeometry& geo, const CPointerEvent& event) overrideOnKeyDown
C++
CReply OnKeyDown(const CGeometry& geo, const CKeyEvent& event) overrideOnMouseEnter
C++
void OnMouseEnter(const CGeometry& geo, const CPointerEvent& event) overrideOnMouseLeave
C++
void OnMouseLeave(const CPointerEvent& event) overrideOnMouseCaptureLost
C++
void OnMouseCaptureLost() overrideIsFocusable
C++
bool IsFocusable() const overrideGetFocusVisual
C++
EFocusVisual GetFocusVisual() const overrideGetTypeName
C++
const char* GetTypeName() const overrideGenerated from Miri/Widgets/MSectorMap.h via miri.json · Dec 5, 2026Version 1.1.0