1#ifndef YAZE_APP_EDITOR_GRAPHICS_RESEARCH_POLYHEDRAL_EDITOR_VIEW_H_
2#define YAZE_APP_EDITOR_GRAPHICS_RESEARCH_POLYHEDRAL_EDITOR_VIEW_H_
7#include "absl/status/status.h"
33 std::vector<PolyFace>
faces;
44 std::string
GetId()
const override {
return "graphics.polyhedral"; }
64 void Draw(
bool* p_open)
override;
The Rom class is used to load, save, and modify Rom data. This is a generic SNES ROM container and do...
void Draw(bool *p_open) override
Draw the polyhedral editor UI (WindowContent interface)
void DrawVertexList(PolyShape &shape)
void DrawPlot(const char *label, PlotPlane plane, PolyShape &shape)
int GetPriority() const override
Get display priority for menu ordering.
void DrawFaceList(PolyShape &shape)
absl::Status Update()
Legacy Update method for backward compatibility.
void DrawPreview(PolyShape &shape)
std::string GetEditorCategory() const override
Editor category this panel belongs to.
void DrawShapeEditor(PolyShape &shape)
absl::Status SaveShapes()
std::vector< PolyShape > shapes_
absl::Status WriteShape(const PolyShape &shape)
absl::Status LoadShapes()
std::string GetId() const override
Unique identifier for this panel.
std::string GetIcon() const override
Material Design icon for this panel.
PolyhedralEditorView(Rom *rom=nullptr)
std::string GetDisplayName() const override
Human-readable name shown in menus and title bars.
Base interface for all logical window content components.
#define ICON_MD_VIEW_IN_AR
std::vector< uint8_t > vertex_indices
std::vector< PolyFace > faces
std::vector< PolyVertex > vertices