nmwsharp / nmwsharp/polyscope

Implement saving/loading of persistent values to configure multiple views

未关闭
#192 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

enhancement
主要语言
C++
星标
2.2k
派生
242
平均合并
11 分钟
30 天内合并 PR
1

描述

Desired workflow: The user programmatically configures several "views" of their data, each of which corresponds to a different collection of settings (stuff which is enabled, etc). The user wants to quickly switch between these views without clicking a bunch.

How to get there: We could get this fairly easily by leveraging the persistent value caches. Work items would be:

  • define a serialization format for persistent values (in-memory for now)
  • add a storeConfiguration() function or something, which saves the state of all persistent values to an internal list
  • add a loadConfiguration() function which restores persistent values
  • buttons in the GUI, etc

This has significant overlap with things we would want to do regardless to enable serialization more broadly.

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先阅读 include/polyscope/persistent_value.h,并追踪 persistent values 的创建和访问方式。在实现配置保存/加载之前,先定义内存中的序列化格式以及所存储状态的范围;只有在核心行为明确并且可测试之后,再考虑 GUI 按钮。

由索引模型根据 Issue 内容生成。

评估

技术栈
cpp
领域
desktop
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。