Skip to content

Add Tree I/O Option#2201

Open
danrbailey wants to merge 3 commits into
AcademySoftwareFoundation:feature/iofrom
danrbailey:io_enable_tree_io
Open

Add Tree I/O Option#2201
danrbailey wants to merge 3 commits into
AcademySoftwareFoundation:feature/iofrom
danrbailey:io_enable_tree_io

Conversation

@danrbailey
Copy link
Copy Markdown
Contributor

This adds a CMake option which defaults to ON (OPENVDB_ENABLE_TREE_IO=ON) that enables the Tree I/O methods. By switching this off, it is possible to remove all the code paths that provide Tree I/O and thus rely solely on the new I/O codecs.

Note that Itanium C++ ABI rules allow us to delete the virtual methods on the Grid and the Tree without changing the vtable layout.

In the future, we will disable Tree I/O by default and then ultimately remove it.

Signed-off-by: Dan Bailey <danbailey@ilm.com>
Signed-off-by: Dan Bailey <danbailey@ilm.com>
Signed-off-by: Dan Bailey <danbailey@ilm.com>
@danrbailey danrbailey force-pushed the io_enable_tree_io branch from c3a6b5e to e232df3 Compare May 14, 2026 22:06
@danrbailey danrbailey added the io label May 14, 2026
@danrbailey danrbailey changed the base branch from feature/io2 to feature/io May 15, 2026 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant