22 lines
835 B
CMake
22 lines
835 B
CMake
# Spike S3: 真实样本 banded contour 离屏渲染(验证设计 §4.3 管线选型)
|
||
find_package(nlohmann_json CONFIG REQUIRED)
|
||
find_package(VTK REQUIRED COMPONENTS
|
||
CommonCore
|
||
CommonDataModel
|
||
CommonColor
|
||
FiltersGeometry
|
||
FiltersModeling
|
||
RenderingOpenGL2
|
||
IOImage
|
||
)
|
||
|
||
add_executable(grid_contour_spike grid_contour_spike.cpp)
|
||
target_link_libraries(grid_contour_spike PRIVATE ${VTK_LIBRARIES} nlohmann_json::nlohmann_json)
|
||
vtk_module_autoinit(TARGETS grid_contour_spike MODULES ${VTK_LIBRARIES})
|
||
|
||
# 离屏渲染验证:用真实数据把剖面/帘面渲成 PNG,肉眼核对方向与 2D/3D 差异。
|
||
add_executable(render_verify render_verify.cpp)
|
||
target_link_libraries(render_verify PRIVATE
|
||
geopro_render geopro_data geopro_core ${VTK_LIBRARIES})
|
||
vtk_module_autoinit(TARGETS render_verify MODULES ${VTK_LIBRARIES})
|