class
ASectorMap
- Module
- Arc
- Header
#include "Arc/Widgets/ASectorMap.h"- Namespace
Arcf
Properties
| Type | Name | Description |
|---|---|---|
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
| Returns | Name | Description |
|---|---|---|
ARC_WIDGET_ARGS | ||
void | SetCells | |
void | SetSources | |
void | SetView | |
void | SetSelection | |
const std::vector<FArcSectorCell>& | GetCells | |
const std::vector<FArcSectorCoord>& | GetSelection | |
const std::vector<FArcSectorSource>& | GetSources | |
const FArcSectorView& | GetView | |
void | SetHoveredCell | Pins a hovered cell for display (the gallery's state rows). |
FArcSectorLayout | Layout | |
bool | CellRect | |
bool | CellAt | |
ArcVec2 | CellSpaceToScreen | |
std::vector<FArcSectorCoord> | CellsInBand | The cells with data whose rect meets the band (a box select). |
const FArcSectorCell* | FindCell | |
ArcVec2 | 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
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() constGetSelection
C++
const std::vector<FArcSectorCoord>& GetSelection() constGetSources
C++
const std::vector<FArcSectorSource>& GetSources() constGetView
C++
const FArcSectorView& GetView() constSetHoveredCell
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) constCellRect
C++
bool CellRect(const FArcSectorLayout& layout, const FArcSectorCoord& coord, ArcRect& outRect) constCellAt
C++
bool CellAt(const ArcRect& rect, const ArcVec2& screen, FArcSectorCoord& outCoord) constCellSpaceToScreen
C++
ArcVec2 CellSpaceToScreen(const FArcSectorLayout& layout, float x, float z) constCellsInBand
C++
std::vector<FArcSectorCoord> CellsInBand(const ArcRect& rect, const ArcRect& band) constThe cells with data whose rect meets the band (a box select).
FindCell
C++
const FArcSectorCell* FindCell(const FArcSectorCoord& coord) constComputeDesiredSize
C++
ArcVec2 ComputeDesiredSize(float scale) const overrideOnPaint
C++
int32_t OnPaint(const CArcPaintArgs& args, const CGeometry& geo, CArcUIRenderer& 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 Arc/Widgets/ASectorMap.h via arc.json · Nov 5, 2026Version 1.0.0