How to register a structure in nested show()
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- ドキュメント
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 領域
- api, computer-graphics
調査の方向性
まず、提供されたコールバックの例を使って、エントリーポイント ps::show()、ps.set_invoke_user_callback_for_nested_show()、ps.register_surface_mesh() を追跡します。ネストされた表示に必要な登録シーケンスを確認し、その後、「Show」を押すと 2 番目の表示にサーフェスメッシュが表示されることを検証します。
索引モデルが issue の本文から書いたものです。
説明
Hey there,
as I can read, there is the possibility to do a nested show. That means one can call the ps::show() function a second time. Now I don't seem to understand what I need to do in order to register strutures in the second show. As an example I currently have the following code
`
def callback():
if psim.Button("Show"):
ps.show()
ms = pymeshlab.MeshSet()
ms.load_new_mesh(os.getcwd()+"/Experiment-78/Experiment-78+curvature.ply")
vertices = ms.current_mesh().vertex_matrix()
faces = ms.current_mesh().face_matrix()
ps.set_invoke_user_callback_for_nested_show(True)
ps.register_surface_mesh("first mesh", vertices, faces)
(This example is in python but the structure is sufficiently similar). Currently when I press the button the surface mesh is registered in the first show. What do I need to do in order to get it in the second show?
(I am happy about a solution in either C++ or python)
I hope you get what I mean
- 主要言語
- C++
- スター
- 2.2k
- フォーク
- 242
- 平均マージ
- 11分
- マージ済み PR(30日)
- 1
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nmwsharp/polyscope のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
-
Rust Version オープン
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
nmwsharp/polyscope の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
flutter-webrtc/flutter-webrtc#2206 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
google-ai-edge/LiteRT-LM#3739 ·
-
Component: GLib
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
brave/brave-browser#59300 ·
-
Mute ydb/tests/functional/dstool/test_canonical_requests.py.Test.test_group_take_snapshot in main オープンai_reviewed
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
ydb-platform/ydb#53974 · コメント 3 件 ·