Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is the box.GetOrientedBoundingBoxLines() deleted in recent version? #6766

Open
3 tasks done
hitbuyi opened this issue Apr 24, 2024 · 0 comments
Open
3 tasks done

Is the box.GetOrientedBoundingBoxLines() deleted in recent version? #6766

hitbuyi opened this issue Apr 24, 2024 · 0 comments
Labels

Comments

@hitbuyi
Copy link

hitbuyi commented Apr 24, 2024

Checklist

My Question

I consult the chatGPT, it gives code as below

Eigen::Vector4d extrinsics(0.0, 0.0, 0.0, 1.0); // Replace with actual extrinsics

    // Create visualization window and visualize point cloud
    open3d::visualization::Visualizer visualizer;
    visualizer.CreateVisualizerWindow("Open3D - KITTI LiDAR Viewer", 1600, 900);
    visualizer.AddGeometry(cloud);

    // Draw a 3D box on the point cloud
    open3d::geometry::AxisAlignedBoundingBox box(Eigen::Vector3d(1, 1, 1), Eigen::Vector3d(2, 2, 2)); // Example box
    auto lines = box.GetOrientedBoundingBoxLines();
    for (auto& line : lines) {
        line.Transform(extrinsics);
        visualizer.AddGeometry(line);
    }

but in my code, box.GetOrientedBoundingBoxLines() is not found, if this function was deleted in the new version, how to get lines from a box quickly?

@hitbuyi hitbuyi changed the title Are function of getting lineset from a box deleted in recent version? Is the box.GetOrientedBoundingBoxLines() deleted in recent version? Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant