Skip to content

How to write proper e57 header #323

Description

@iegorval

Hi all. Due to lack of extensive docs and tutorials, I cannot find a way to properly specify the e57 header which would be accepted by external tools such as Autodesk ReCap.

Data3D scanHeader;
scanHeader.guid = "{D3817EC3-A3DD-4a81-9EF5-2FFD0EC91D5A}";
scanHeader.name = ustring("merged_scan");
scanHeader.pointCount = N;
scanHeader.pointFields.cartesianXField = true;
scanHeader.pointFields.cartesianYField = true;
scanHeader.pointFields.cartesianZField = true;
scanHeader.pose = RigidBodyTransform::identity();
scanHeader.cartesianBounds.xMinimum = minX;
scanHeader.cartesianBounds.xMaximum = maxX;
scanHeader.cartesianBounds.yMinimum = minY;
scanHeader.cartesianBounds.yMaximum = maxY;
scanHeader.cartesianBounds.zMinimum = minZ;
scanHeader.cartesianBounds.zMaximum = maxZ;

While this works (i.e. I manage to save e57 when using this header), I have issues opening this with eg. Autodesk ReCap. Are there some fields that are usually required to be also filled? Or is something not filled properly here? Would appreciate any advice.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions