class

ASectorMap

Module
Arc
Header
#include "Arc/Widgets/ASectorMap.h"
Namespace
Arcf

Properties

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

Public functions

ReturnsNameDescription
ARC_WIDGET_ARGS
voidSetCells
voidSetSources
voidSetView
voidSetSelection
const std::vector<FArcSectorCell>&GetCells
const std::vector<FArcSectorCoord>&GetSelection
const std::vector<FArcSectorSource>&GetSources
const FArcSectorView&GetView
voidSetHoveredCellPins a hovered cell for display (the gallery's state rows).
FArcSectorLayoutLayout
boolCellRect
boolCellAt
ArcVec2CellSpaceToScreen
std::vector<FArcSectorCoord>CellsInBandThe cells with data whose rect meets the band (a box select).
const FArcSectorCell*FindCell
ArcVec2ComputeDesiredSize
int32_tOnPaint
CReplyOnMouseButtonDown
CReplyOnMouseMove
CReplyOnMouseButtonUp
CReplyOnMouseWheel
CReplyOnKeyDown
voidOnMouseEnter
voidOnMouseLeave
voidOnMouseCaptureLost
boolIsFocusable
EFocusVisualGetFocusVisual
const char*GetTypeName

Function details

ARC_WIDGET_ARGS

C++
ARC_WIDGET_ARGS(ASectorMap) ARC_WIDGET_ARGS_END() void Construct(const CArguments& args)

SetCells

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

SetSources

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

SetView

C++
void SetView(const FArcSectorView& view)

SetSelection

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

GetCells

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

GetSelection

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

GetSources

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

GetView

C++
const FArcSectorView& GetView() const

SetHoveredCell

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

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

Layout

C++
FArcSectorLayout Layout(const ArcRect& rect) const

CellRect

C++
bool CellRect(const FArcSectorLayout& layout, const FArcSectorCoord& coord, ArcRect& outRect) const

CellAt

C++
bool CellAt(const ArcRect& rect, const ArcVec2& screen, FArcSectorCoord& outCoord) const

CellSpaceToScreen

C++
ArcVec2 CellSpaceToScreen(const FArcSectorLayout& layout, float x, float z) const

CellsInBand

C++
std::vector<FArcSectorCoord> CellsInBand(const ArcRect& rect, const ArcRect& band) const

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

FindCell

C++
const FArcSectorCell* FindCell(const FArcSectorCoord& coord) const

ComputeDesiredSize

C++
ArcVec2 ComputeDesiredSize(float scale) const override

OnPaint

C++
int32_t OnPaint(const CArcPaintArgs& args, const CGeometry& geo, CArcUIRenderer& 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 Arc/Widgets/ASectorMap.h via arc.json · Nov 5, 2026Version 1.0.0