nmwsharp / nmwsharp/polyscope

Provide mechanism to load/store GUI settings

Đang mở
#87 2 bình luận 2 reaction 1 người được giao Xem trên GitHub

@nmwsharp đang làm issue này rồi.

Từ ngày 11/1/2021.

enhancement
Ngôn ngữ chính
C++
Star
2.2k
Fork
242
Merge trung bình
11 phút
Pull request đã merge (30 ngày)
1

Mô tả

When iterating on the development of some algorithm, it's common to repeatedly re-load Polyscope; in some cases, the user has to set the same options over and over again (e.g., the camera, the ground plane, the mesh material, etc.).

Would be nice to have a mechanism for saying, "save the state now" (e.g., upon exit) and also for reading this state back in upon the next invocation of Polyscope. E.g., functions storeGuiState( filename ) and loadGuiState( filename ).

Implementing these methods would entail some kind of serialization of the GUI state. Easiest would be to just handle "global" state that does not refer to any specific data passed to Polyscope.

Even cooler would be to also store settings attached to individual named data items—and ignore these settings if these items cannot be found (or have different types) on load. Polyscope should make it feasible to do this, since data can be queried by name.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.