cosense3d.agents.viewer package
Subpackages
Submodules
cosense3d.agents.viewer.gl_viewer module
- class cosense3d.agents.viewer.gl_viewer.GLViewer(name: str, parent=None)[source]
Bases:
GLViewWidget
- evt_pos_to_world(pos1, pos2=None)[source]
- Args:
pos1: center pos if pos2 is None else start post of a region pos2: end pos of a region
- get_region_depth(p1: QPoint, p2: QPoint) ndarray [source]
- Args:
p1: start point of region. p2: end point of region
- paintGL(region=None, viewport=None, useItemNames=False)[source]
viewport specifies the arguments to glViewport. If None, then we use self.opts[‘viewport’] region specifies the sub-region of self.opts[‘viewport’] that should be rendered. Note that we may use viewport != self.opts[‘viewport’] when exporting.
- updateFrameData(pcds, local_label=None, global_label=None, local_det=None, global_det=None, predecessor=None, successor=None, successor_gt=None, pcd_color='united')[source]
cosense3d.agents.viewer.img_anno3d_viewer module
cosense3d.agents.viewer.img_viewer module
cosense3d.agents.viewer.output_viewer module
- class cosense3d.agents.viewer.output_viewer.BEVDenseCanvas(lidar_range=None, **kwargs)[source]
Bases:
MplCanvas
- class cosense3d.agents.viewer.output_viewer.BEVSparseCanvas(lidar_range=None, s=4, **kwargs)[source]
Bases:
MplCanvas
- class cosense3d.agents.viewer.output_viewer.DetectionCanvas(lidar_range=None, topk_ctr=0, **kwargs)[source]
Bases:
MplCanvas
- class cosense3d.agents.viewer.output_viewer.DetectionScoreMap(lidar_range=None, s=4, **kwargs)[source]
Bases:
MplCanvas
- class cosense3d.agents.viewer.output_viewer.MplCanvas(data_keys, width=5, height=4, dpi=100, title='plot', nrows=1, ncols=1)[source]
Bases:
FigureCanvasQTAgg