gpt4 book ai didi

us.ihmc.robotics.graphics.YoGraphicPlanarRegionsList.submitPlanarRegionsListToRender()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-16 23:15:31 27 4
gpt4 key购买 nike

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

YoGraphicPlanarRegionsList.submitPlanarRegionsListToRender介绍

[英]Submit a new list of planar regions to eventually render. This method does NOT update any YoVariables and does not update any graphics. Once a list of planar regions is submitted, the method #processPlanarRegionsListQueue() has to be called every update tick in the caller.
[中]提交最终渲染的平面区域的新列表。此方法不会更新任何变量,也不会更新任何图形。提交平面区域列表后,必须在调用者中的每个更新标记处调用#ProcessPlanarRegionListQueue()方法。

代码示例

代码示例来源:origin: us.ihmc/robot-environment-awareness-application

public void handlePacket(PlanarRegionsListMessage message)
{
 if (message != null)
   yoGraphicPlanarRegionsList.submitPlanarRegionsListToRender(PlanarRegionMessageConverter.convertToPlanarRegionsList(message));
}

代码示例来源:origin: us.ihmc/ihmc-robotics-toolkit

/**
* Submit a new list of planar regions to eventually render.
* This method does NOT update any YoVariables and does not update any graphics.
* Once a list of planar regions is submitted, the method {@link #processPlanarRegionsListQueue()} has to be called every update tick in the caller.
* @param planarRegionsList the list of planar regions to be eventually rendered.
* @param requestedAppearance appearance to render the planar regions
*/   
public void submitPlanarRegionsListToRender(PlanarRegionsList planarRegionsList, Color requestedColor)
{
 for(int i = 0; i < planarRegionsList.getNumberOfPlanarRegions(); i++)
 {
   int index = i + currentMeshIndex.getIntegerValue();         
   if(index < 0 || index >= planarRegionsColorBuffer.length)
    break;
   planarRegionsColorBuffer[index].set(requestedColor.getRGB());
 }
 
 submitPlanarRegionsListToRender(planarRegionsList);
}

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

yoGraphicPlanarRegionsList.submitPlanarRegionsListToRender(planarRegionsList);
yoGraphicPlanarRegionsList.processPlanarRegionsListQueue();

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

yoGraphicPlanarRegionsList.submitPlanarRegionsListToRender(planarRegionsList);
yoGraphicPlanarRegionsList.processPlanarRegionsListQueue();

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

yoGraphicPlanarRegionsList.submitPlanarRegionsListToRender(planarRegionsList.get());
yoGraphicPlanarRegionsList.processPlanarRegionsListQueue();

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