You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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
Checklist
main
branch).My Question
I consult the chatGPT, it gives code as below
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?
The text was updated successfully, but these errors were encountered: