gpt4 book ai didi

us.ihmc.graphicsDescription.yoGraphics.YoGraphic.update()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-14 10:44:49 27 4
gpt4 key购买 nike

本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphic.update()方法的一些代码示例,展示了YoGraphic.update()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YoGraphic.update()方法的具体详情如下:
包路径:us.ihmc.graphicsDescription.yoGraphics.YoGraphic
类名称:YoGraphic
方法名:update

YoGraphic.update介绍

[英]Overwrite the update method if an object needs special updating. But it is up to each user to update their objects. The internals only update the position and orientation transform... This is generally use to update YoGraphics based on non-yovariablized data (referenceframes etc). Not doing this will break rewind-playback.
[中]如果对象需要特殊更新,请覆盖更新方法。但这取决于每个用户更新他们的对象。内部结构仅更新位置和方向变换。。。这通常用于基于非Yovariablied数据(参考框架等)更新YoGraphics。不这样做会中断回放。

代码示例

代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces

public void update()
{
 for (YoGraphic yoGraphic : yoGraphicsList.getYoGraphics())
 {
   yoGraphic.update();
 }
}

代码示例来源:origin: us.ihmc/IHMCAvatarInterfaces

public void update()
{
 for (YoGraphic yoGraphic : yoGraphicsList.getYoGraphics())
 {
   yoGraphic.update();
 }
}

代码示例来源:origin: us.ihmc/IHMCRobotDataVisualizer

private void updateYoGraphics()
  {
   if (yoGraphicsListRegistry == null)
     return;

   List<YoGraphicsList> yoGraphicsLists = yoGraphicsListRegistry.getYoGraphicsLists();
   for (YoGraphicsList yoGraphicsList : yoGraphicsLists)
   {
     ArrayList<YoGraphic> yoGraphics = yoGraphicsList.getYoGraphics();
     for (YoGraphic yoGraphic : yoGraphics)
      yoGraphic.update();
   }
   yoGraphicsListRegistry.update();
  }
}

代码示例来源:origin: us.ihmc/ihmc-robot-data-visualizer

private void updateYoGraphics(YoGraphicsListRegistry yoGraphicsListRegistry)
{
 if (yoGraphicsListRegistry == null)
   return;
 List<YoGraphicsList> yoGraphicsLists = yoGraphicsListRegistry.getYoGraphicsLists();
 for (YoGraphicsList yoGraphicsList : yoGraphicsLists)
 {
   ArrayList<YoGraphic> yoGraphics = yoGraphicsList.getYoGraphics();
   for (YoGraphic yoGraphic : yoGraphics)
    yoGraphic.update();
 }
 yoGraphicsListRegistry.update();
}

代码示例来源:origin: us.ihmc/IHMCRobotDataVisualizer

private void updateYoGraphics(YoGraphicsListRegistry yoGraphicsListRegistry)
{
 if (yoGraphicsListRegistry == null)
   return;
 List<YoGraphicsList> yoGraphicsLists = yoGraphicsListRegistry.getYoGraphicsLists();
 for (YoGraphicsList yoGraphicsList : yoGraphicsLists)
 {
   ArrayList<YoGraphic> yoGraphics = yoGraphicsList.getYoGraphics();
   for (YoGraphic yoGraphic : yoGraphics)
    yoGraphic.update();
 }
 yoGraphicsListRegistry.update();
}

代码示例来源:origin: us.ihmc/ihmc-robot-data-visualizer

private void updateYoGraphics()
  {
   if (yoGraphicsListRegistry == null)
     return;

   List<YoGraphicsList> yoGraphicsLists = yoGraphicsListRegistry.getYoGraphicsLists();
   for (YoGraphicsList yoGraphicsList : yoGraphicsLists)
   {
     ArrayList<YoGraphic> yoGraphics = yoGraphicsList.getYoGraphics();
     for (YoGraphic yoGraphic : yoGraphics)
      yoGraphic.update();
   }
   yoGraphicsListRegistry.update();
  }
}

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com