Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MeyerLukas committed Oct 27, 2023
1 parent 98902de commit c6c5288
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def add_colmap_frustums2geometrie(self, frustum_scale: float = 1., image_type: s

self.geometries.extend(geometries)

def visualization(self, frustum_scale: float = 1, point_size: float = 1., sphere_size: float = 0.02):
def visualization(self, frustum_scale: float = 1, point_size: float = 1., line_width:float = 5., sphere_size: float = 0.02):
"""
@param frustum_scale:
Expand Down Expand Up @@ -131,10 +131,11 @@ def visualization(self, frustum_scale: float = 1, point_size: float = 1., sphere
self.geometries.append(aruco_rect)
self.geometries.extend(aruco_sphere)

self.start_visualizer(point_size=point_size, title='Aruco Scale Factor Estimation')
self.start_visualizer(point_size=point_size, line_width=line_width, title='Aruco Scale Factor Estimation')

def start_visualizer(self,
point_size: float,
point_size: float = 1.,
line_width: float = 5.,
title: str = "Open3D Visualizer",
size: tuple = (1920, 1080)):
viewer = o3d.visualization.Visualizer()
Expand All @@ -145,7 +146,7 @@ def start_visualizer(self,
opt = viewer.get_render_option()
# opt.show_coordinate_frame = True
opt.point_size = point_size
opt.line_width = 5
opt.line_width = line_width
opt.background_color = self.vis_bg_color
viewer.run()
viewer.destroy_window()
Expand Down

0 comments on commit c6c5288

Please sign in to comment.