Skip to content

Conversation

lmuffang
Copy link

@lmuffang lmuffang commented Oct 1, 2025

Type

  • Bug fix (non-breaking change which fixes an issue): Fixes #
  • New feature (non-breaking change which adds functionality). Resolves Translate not implemented for VoxelGrid geometry #3361
  • Breaking change (fix or feature that would cause existing functionality to not work as expected) Resolves #

Motivation and Context

It was not possible to move around this type of geometry before.

Checklist:

  • I have run python util/check_style.py --apply to apply Open3D code style
    to my code.
  • This PR changes Open3D behavior or adds new functionality.
    • Both C++ (Doxygen) and Python (Sphinx / Google style) documentation is
      updated accordingly.
    • I have added or updated C++ and / or Python unit tests OR included test
      results
      (e.g. screenshots or numbers) here.
  • I will follow up and update the code if CI fails.
  • For fork PRs, I have selected Allow edits from maintainers.

Description

This pr implements the Transform, Rotate, Translate and Scale methods for the VoxelGrid object in cpp.
It introduces an origin_transform_ attribute to be able to rotate the grid origin easily and efficiently, keeping all voxels indexes the same.
Python bindings and docs seem to be already done for these methods.

Copy link

update-docs bot commented Oct 1, 2025

Thanks for submitting this pull request! The maintainers of this repository would appreciate if you could update the CHANGELOG.md based on your changes.

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