- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicPosition.setAppearance()
方法的一些代码示例,展示了YoGraphicPosition.setAppearance()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YoGraphicPosition.setAppearance()
方法的具体详情如下:
包路径:us.ihmc.graphicsDescription.yoGraphics.YoGraphicPosition
类名称:YoGraphicPosition
方法名:setAppearance
暂无
代码示例来源:origin: us.ihmc/ihmc-graphics-description
public void setBall(double x, double y, double z, AppearanceDefinition appearance, int ballIndex)
{
if (ballIndex < yoGraphicPositions.size())
{
YoGraphicPosition yoGraphicPosition = yoGraphicPositions.get(ballIndex);
yoGraphicPosition.setPosition(x, y, z);
if (appearance != null)
yoGraphicPosition.setAppearance(appearance);
}
else
{
if (!outOfBallsWarning)
{
// System.err.println("Bag of Balls doesn't have enough footstep graphic positions!");
outOfBallsWarning = true;
}
}
}
代码示例来源:origin: us.ihmc/IHMCGraphicsDescription
public void setBall(double x, double y, double z, AppearanceDefinition appearance, int ballIndex)
{
if (ballIndex < dynamicGraphicPositions.size())
{
YoGraphicPosition dynamicGraphicPosition = dynamicGraphicPositions.get(ballIndex);
dynamicGraphicPosition.setPosition(x, y, z);
if (appearance != null)
dynamicGraphicPosition.setAppearance(appearance);
}
else
{
if (!this.outOfBallsWarning)
{
// System.err.println("Bag of Balls doesn't have enough footstep graphic positions!");
this.outOfBallsWarning = true;
}
}
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
/**
* Sets the next ball to the given location with the given Appearance. If all the balls have been
* set, then loops to the first ball.
*
* @param location FramePoint to set the next ball to.
* @param appearance Appearance to give the next ball.
*/
public void setBallLoop(FramePoint3DReadOnly location, AppearanceDefinition appearance)
{
location.checkReferenceFrameMatch(worldFrame);
if (index >= yoGraphicPositions.size())
{
index = 0;
}
YoGraphicPosition yoGraphicPosition = yoGraphicPositions.get(index);
yoGraphicPosition.setPosition(location);
if (appearance != null)
yoGraphicPosition.setAppearance(appearance);
index++;
}
代码示例来源:origin: us.ihmc/IHMCGraphicsDescription
/**
* Sets the next ball to the given location with the given Appearance. If all the balls have been set, then loops to the first ball.
*
* @param location FramePoint to set the next ball to.
* @param appearance Appearance to give the next ball.
*/
public void setBallLoop(FramePoint location, AppearanceDefinition appearance)
{
location.changeFrame( ReferenceFrame.getWorldFrame());
if (index >= dynamicGraphicPositions.size())
{
index = 0;
}
YoGraphicPosition dynamicGraphicPosition = dynamicGraphicPositions.get(index);
dynamicGraphicPosition.setPosition(location);
if (appearance != null)
dynamicGraphicPosition.setAppearance(appearance);
index++;
}
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicsList类的一些代码示例,展示了YoGraphicsList类的具体用法。这些代码
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicPosition类的一些代码示例,展示了YoGraphicPosition类的具体用
本文整理了Java中us.ihmc.graphicsDescription.appearance.YoAppearance类的一些代码示例,展示了YoAppearance类的具体用法。这些代码示例主要
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicsListRegistry类的一些代码示例,展示了YoGraphicsListReg
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicVector类的一些代码示例,展示了YoGraphicVector类的具体用法。这些
本文整理了Java中us.ihmc.graphicsDescription.appearance.YoAppearanceTexture类的一些代码示例,展示了YoAppearanceTexture类
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicPolygon类的一些代码示例,展示了YoGraphicPolygon类的具体用法。
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicReferenceFrame类的一些代码示例,展示了YoGraphicReferen
本文整理了Java中us.ihmc.graphicsDescription.appearance.YoAppearanceRGBColor类的一些代码示例,展示了YoAppearanceRGBColo
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicCoordinateSystem类的一些代码示例,展示了YoGraphicCoord
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicLineSegment类的一些代码示例,展示了YoGraphicLineSegmen
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphic类的一些代码示例,展示了YoGraphic类的具体用法。这些代码示例主要来源于Git
本文整理了Java中us.ihmc.graphicsDescription.appearance.YoAppearanceMaterial类的一些代码示例,展示了YoAppearanceMateria
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicShape类的一些代码示例,展示了YoGraphicShape类的具体用法。这些代码
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicText类的一些代码示例,展示了YoGraphicText类的具体用法。这些代码示例
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicCylinder类的一些代码示例,展示了YoGraphicCylinder类的具体用
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicVRML类的一些代码示例,展示了YoGraphicVRML类的具体用法。这些代码示例
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.YoGraphicAbstractShape类的一些代码示例,展示了YoGraphicAbstract
本文整理了Java中us.ihmc.graphicsDescription.appearance.YoAppearanceTransparent类的一些代码示例,展示了YoAppearanceTran
本文整理了Java中us.ihmc.graphicsDescription.yoGraphics.plotting.YoArtifactPosition类的一些代码示例,展示了YoArtifactPo
我是一名优秀的程序员,十分优秀!