本文整理了Java中us.ihmc.robotics.graphics.YoGraphicPlanarRegionsList.submitPlanarRegionsListToRender()
方法的一些代码示例,展示了YoGraphicPlanarRegionsList.submitPlanarRegionsListToRender()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YoGraphicPlanarRegionsList.submitPlanarRegionsListToRender()
方法的具体详情如下:
包路径:us.ihmc.robotics.graphics.YoGraphicPlanarRegionsList
类名称: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();
内容来源于网络,如有侵权,请联系作者删除!