Skip to content

WIP: Template generated ThresholdImageFilter example#2564

Open
dave3d wants to merge 3 commits intoSimpleITK:mainfrom
dave3d:feature/threshold-example
Open

WIP: Template generated ThresholdImageFilter example#2564
dave3d wants to merge 3 commits intoSimpleITK:mainfrom
dave3d:feature/threshold-example

Conversation

@dave3d
Copy link
Copy Markdown
Member

@dave3d dave3d commented Apr 14, 2026

No description provided.

dave3d added 3 commits April 13, 2026 12:59
- Add CMake module sitkGenerateExamples.cmake with sitk_generate_filter_examples()
- Wire CMake module into Examples/CMakeLists.txt with GenerateFilterExamples target
- Add example_filter_list.yaml listing ThresholdImageFilter
- Add Jinja2 templates for 9 output formats (C++, Python, C#, Java, Lua, R, Ruby, CMakeLists, RST)
- Fix ExampleDocumentation.rst.jinja: remove spurious empty string from exec_code args
- Fix ExampleDocumentation.rst.jinja: correct duplicate figure condition (== 0 -> > 0)
- Add generate_baselines.py utility script
- Add ExampleGeneration.rst documentation
- Gitignore generated example directories (generated files are build artifacts)
Make DisplayText a virtual no-op in the base class instead of pure-virtual
and remove the SWIGR workaround guard. This allows the R wrapping to load
the shared library without a missing symbol error for LoggerBase.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant