1 / 10

plate_renderer で地図データ表示( AUX )

plate_renderer で地図データ表示( AUX ). plate_renderer.h の #define AUX SPICEFALSE //SPICEFALSE を #define AUX SPICETRUE // SPICEFALSE にして再コンパイル. 既存地図データ. Itokawa_3DGIS/ src の amica_brightness.txt , itokawa_Gpotential20110111.dat, itokawa_slope20110111.dat, itokawa_sw.dat ,

cachez
Download Presentation

plate_renderer で地図データ表示( AUX )

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. plate_rendererで地図データ表示(AUX) plate_renderer.hの #define AUX SPICEFALSE //SPICEFALSE を #define AUX SPICETRUE //SPICEFALSE にして再コンパイル

  2. 既存地図データ Itokawa_3DGIS/src のamica_brightness.txt, itokawa_Gpotential20110111.dat, itokawa_slope20110111.dat, itokawa_sw.dat, NIRS_ch30_11_1_13.txt が使える

  3. 地図データフォーマット hay_a_amica_5_itokawashape_v1_0_64q.bds 用のデータ 49152 <-ポリゴン枚数 1 0.136988 <- (ポリゴンID) (当該ポリゴンの数値データ) 2 0.137103 3 0.137116 4 0.137244 5 0.137221 … 49149 0.139327 49150 0.139327 49151 0.138906 49152 0.138906

  4. 使用方法 ./plate_renderer (形状モデルデータ(.bds)へのパス) (表示したいデータファイルへのパス) (その他使用するカーネルファイル) 例: ./plate_renderer ../SPICE/kernels/Itokawa/dsk/hay_a_amica_5_itokawashape_v1_0_64q.bds itokawa_slope20110111.dat $(cat kernel_list_Itokawa_rendezvous.txt )

  5. 表示例

  6. 3D-GISで地図データを入れ替える方法 • 地図データのファイルを準備(サンプルとしてpolygon_ID.txtを配布) • 地図データのファイルをインポート • ソースコードを書き換えて準備した地図データファイルを参照するようにする • 実行

  7. インポート データファイルがあるフォルダを 指定 インポート対象をfilesystemとする

  8. ソースコード書き換え(前) インポートが 済んでいれば ここに表示される

  9. ソースコード書き換え(後)

  10. mapping_0 =this.getClass().getClassLoader(). getResource("itokawa_sw.dat"); を mapping_0 =this.getClass().getClassLoader(). getResource(“polygon_ID.txt”); へ書き換え (宇宙風化マップの代わりにインポートしたデータを読むようにする)

More Related