Skip to content

Use std::swap on two pointers instead of static arrays of pointers for ping-ponging between two live volumes. #299

@Algomorph

Description

@Algomorph

The code is unnecessarily confusing due to the integer indexing of live volumes as "source" and "live" and then swapping the two indices. Use two pointers directly, and swap the two volumes.

  • Method signatures of LevelSetAlignment engine.
  • Allocations in DynamicSceneVoxelEngine.
  • GenericMultiIterationAlignmentSubtest in LevelSetAlignmentTestUtilities.tpp

Metadata

Metadata

Assignees

No one assigned

    Labels

    ease-of-maintenanceResolving this issue would significantly improve ease of maintenance and future development.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions