本文整理了Java中us.ihmc.graphicsDescription.appearance.YoAppearance.Pink()
方法的一些代码示例,展示了YoAppearance.Pink()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YoAppearance.Pink()
方法的具体详情如下:
包路径:us.ihmc.graphicsDescription.appearance.YoAppearance
类名称:YoAppearance
方法名:Pink
暂无
代码示例来源:origin: us.ihmc/IHMCJMonkeyEngineToolkit
public static Graphics3DObject createCylinderObject(double radius)
{
Graphics3DObject cylinder = new Graphics3DObject();
double height = 1.0;
cylinder.addCylinder(height, radius, YoAppearance.Pink());
return cylinder;
}
代码示例来源:origin: us.ihmc/ihmc-jmonkey-engine-toolkit
public static Graphics3DObject createCylinderObject(double radius)
{
Graphics3DObject cylinder = new Graphics3DObject();
double height = 1.0;
cylinder.addCylinder(height, radius, YoAppearance.Pink());
return cylinder;
}
代码示例来源:origin: us.ihmc/IHMCJMonkeyEngineToolkit
public static Graphics3DObject createCylinderObject(double radius)
{
Graphics3DObject cylinder = new Graphics3DObject();
double height = 1.0;
cylinder.addCylinder(height, radius, YoAppearance.Pink());
return cylinder;
}
代码示例来源:origin: us.ihmc/ihmc-jmonkey-engine-toolkit
public static Graphics3DObject createCylinderObject(double radius)
{
Graphics3DObject cylinder = new Graphics3DObject();
double height = 1.0;
cylinder.addCylinder(height, radius, YoAppearance.Pink());
return cylinder;
}
代码示例来源:origin: us.ihmc/simulation-construction-set-tools-test
public DoublePendulum()
{
super("DoublePendulum");
j1 = new PinJoint("j1", new Vector3D(0, 0, 2), this, Axis.X);
Link l1 = new Link("l1");
l1.setComOffset(0, 0, 0.5);
l1.setMassAndRadiiOfGyration(1.0, 0.05, 0.05, 0.3);
l1.addEllipsoidFromMassProperties(YoAppearance.Pink());
j1.setLink(l1);
j2 = new PinJoint("j2", new Vector3D(0.0, 0.0, 1.0), this, Axis.X);
Link l2 = new Link("l2");
l2.setComOffset(0, 0, 0.5);
l2.setMassAndRadiiOfGyration(1.0, 0.05, 0.05, 0.3);
l2.addEllipsoidFromMassProperties(YoAppearance.Purple());
j2.setLink(l2);
j1.addJoint(j2);
addRootJoint(j1);
}
代码示例来源:origin: us.ihmc/CommonWalkingControlModules
final YoGraphicPosition finalPositionViz = new YoGraphicPosition(namePrefix + "FinalPosition", yoFinalPositionWorld, 0.02, YoAppearance.Red());
final YoGraphicCoordinateSystem tangentialFrameViz = new YoGraphicCoordinateSystem(namePrefix + "TangentialFrame", yoTangentialCircleFramePose, 0.2,
YoAppearance.Pink());
代码示例来源:origin: us.ihmc/CommonWalkingControlModules
pointD0Viz = new YoGraphicPosition("pointD0", "", registry, pointSize, YoAppearance.BlueViolet());
pointDFViz = new YoGraphicPosition("pointDF", "", registry, pointSize, YoAppearance.Azure());
pointSNextViz = new YoGraphicPosition("pointSNext", "", registry, pointSize, YoAppearance.Pink());
pointD0MinViz = new YoGraphicPosition("pointD0Min", "", registry, 0.8 * pointSize, YoAppearance.BlueViolet());
pointDFMinViz = new YoGraphicPosition("pointDFMin", "", registry, 0.8 * pointSize, YoAppearance.Azure());
pointSNextMinViz = new YoGraphicPosition("pointSNextMin", "", registry, 0.8 * pointSize, YoAppearance.Pink());
pointD0MaxViz = new YoGraphicPosition("pointD0Max", "", registry, 0.9 * pointSize, YoAppearance.BlueViolet());
pointDFMaxViz = new YoGraphicPosition("pointDFMax", "", registry, 0.9 * pointSize, YoAppearance.Azure());
pointSNextMaxViz = new YoGraphicPosition("pointSNextMax", "", registry, 0.9 * pointSize, YoAppearance.Pink());
代码示例来源:origin: us.ihmc/CommonWalkingControlModules
final YoGraphicPosition finalPositionViz = new YoGraphicPosition(namePrefix + "FinalSteeringPosition", yoFinalPositionWorld, 0.02, YoAppearance.Red());
final YoGraphicCoordinateSystem tangentialFrameViz = new YoGraphicCoordinateSystem(namePrefix + "TangentialSteeringFrame",
yoTangentialSteeringFramePose, 0.2, YoAppearance.Pink());
final YoGraphicCoordinateSystem steeringWheelFrameViz = new YoGraphicCoordinateSystem(namePrefix + "SteeringWheelFrame", yoSteeringWheelFramePose, 0.2,
YoAppearance.Green());
内容来源于网络,如有侵权,请联系作者删除!