本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicsList.getLabel()
方法的一些代码示例,展示了YoGraphicsList.getLabel()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YoGraphicsList.getLabel()
方法的具体详情如下:
包路径:us.ihmc.graphicsDescription.yoGraphics.YoGraphicsList
类名称:YoGraphicsList
方法名:getLabel
暂无
代码示例来源:origin: us.ihmc/IHMCGraphicsDescription
public void registerYoGraphicsList(YoGraphicsList yoGraphicsList)
{
if (alreadyAddedToSimulationConstructionSet)
throw new RuntimeException("Graphics have already been added to the SimulationConstructionSet. Cannot register more objects after this.");
if (yoGraphicsLists.contains(yoGraphicsList))
{
throw new RuntimeException("Already registered YoGraphicsList " + yoGraphicsList);
}
checkForRepeatNames(yoGraphicsList);
for (YoGraphicsList list : yoGraphicsLists)
{
if (list.getLabel().equals(yoGraphicsList.getLabel()))
{
// Combine them:
ArrayList<YoGraphic> yoGraphics = yoGraphicsList.getYoGraphics();
list.addAll(yoGraphics);
return;
}
}
yoGraphicsLists.add(yoGraphicsList);
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
public void registerYoGraphicsList(YoGraphicsList yoGraphicsList)
{
if (alreadyAddedToSimulationConstructionSet)
throw new RuntimeException("Graphics have already been added to the SimulationConstructionSet. Cannot register more objects after this.");
if (yoGraphicsLists.contains(yoGraphicsList))
{
throw new RuntimeException("Already registered YoGraphicsList " + yoGraphicsList);
}
checkForRepeatNames(yoGraphicsList);
for (YoGraphicsList list : yoGraphicsLists)
{
if (list.getLabel().equals(yoGraphicsList.getLabel()))
{
// Combine them:
ArrayList<YoGraphic> yoGraphics = yoGraphicsList.getYoGraphics();
list.addAll(yoGraphics);
return;
}
}
yoGraphicsLists.add(yoGraphicsList);
}
代码示例来源:origin: us.ihmc/IHMCRobotDataLogger
yoProtoHandshakeBuilder.addGraphicObject(msg.setListName(yoGraphicsList.getLabel()));
代码示例来源:origin: us.ihmc/ihmc-robot-data-logger
msg.setListName(yoGraphicsList.getLabel());
messageFromDynamicGraphicObject((RemoteYoGraphic) yoGraphic, msg);
代码示例来源:origin: us.ihmc/CommonWalkingControlModules
yoGraphicsListRegistry.registerYoGraphicsList(yoGraphicsList);
bagOfBalls = new BagOfBalls(numberOfBalls, 0.01, yoGraphicsList.getLabel(), registry, yoGraphicsListRegistry);
代码示例来源:origin: us.ihmc/CommonWalkingControlModules
yoGraphicsListRegistry.registerYoGraphicsList(yoGraphicsList);
bagOfBalls = new BagOfBalls(numberOfBalls, 0.01, yoGraphicsList.getLabel(), registry, yoGraphicsListRegistry);
代码示例来源:origin: us.ihmc/CommonWalkingControlModules
yoGraphicsListRegistry.registerYoGraphicsList(yoGraphicsList);
bagOfBalls = new BagOfBalls(numberOfBalls, 0.01, yoGraphicsList.getLabel(), registry, yoGraphicsListRegistry);
代码示例来源:origin: us.ihmc/CommonWalkingControlModules
yoGraphicsListRegistry.registerYoGraphicsList(yoGraphicsList);
bagOfBalls = new BagOfBalls(numberOfBalls, 0.01, yoGraphicsList.getLabel(), registry, yoGraphicsListRegistry);
代码示例来源:origin: us.ihmc/CommonWalkingControlModules
yoGraphicsListRegistry.registerYoGraphicsList(yoGraphicsList);
bagOfBalls = new BagOfBalls(numberOfBalls, 0.01, yoGraphicsList.getLabel(), registry, yoGraphicsListRegistry);
代码示例来源:origin: us.ihmc/CommonWalkingControlModules
yoGraphicsListRegistry.registerYoGraphicsList(yoGraphicsList);
bagOfBalls = new BagOfBalls(numberOfBalls, 0.01, yoGraphicsList.getLabel(), registry, yoGraphicsListRegistry);
代码示例来源:origin: us.ihmc/CommonWalkingControlModules
bagOfBalls = new BagOfBalls(numberOfBalls, 0.01, yoGraphicsList.getLabel(), registry, yoGraphicsListRegistry);
内容来源于网络,如有侵权,请联系作者删除!