Intel Realsense D435 composite_frame类 frame类 video_frame类 depth_frame类的关系
生活随笔
收集整理的這篇文章主要介紹了
Intel Realsense D435 composite_frame类 frame类 video_frame类 depth_frame类的关系
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
繼承的概念:子類 擁有 父類 的所有 方法 和 屬性
? 子類 繼承自 父類,可以直接 享受 父類中已經封裝好的方法,不需要再次開發
? 子類 中應該根據 職責,封裝 子類特有的 屬性和方法
? 當 父類 的方法實現不能滿足子類需求時,可以對方法進行 重寫(override)
在使用常見的流中,我們要知道各種流所屬的類:
frames是composite_frame類
color_frame是video_frame類
depth_frame是depth_frame類
它們可以說都是frame類的子類。depth_frame類是video_frame類的子類,
class frame(__pybind11_builtins.pybind11_object):""" Base class for multiple frame extensions """ class composite_frame(frame):""" Extends the frame class with additional frameset related attributes and functions """ class video_frame(frame):""" Extends the frame class with additional video related attributes and functions. """ class depth_frame(video_frame):""" Extends the video_frame class with additional depth related attributes and functions. 用其他與深度相關的屬性和功能擴展的視頻幀類。"""繼承關系圖:
總結
以上是生活随笔為你收集整理的Intel Realsense D435 composite_frame类 frame类 video_frame类 depth_frame类的关系的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Intel Realsense 如何获取
- 下一篇: python pycharm 如何绘制类