gpt4 book ai didi

us.ihmc.graphicsDescription.appearance.YoAppearance.Aqua()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-17 10:26:40 26 4
gpt4 key购买 nike

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

YoAppearance.Aqua介绍

暂无

代码示例

代码示例来源:origin: us.ihmc/CommonWalkingControlModules

public BasisVectorVisualizer(String name, int rhoSize, double vizScaling, YoGraphicsListRegistry yoGraphicsListRegistry,
   YoVariableRegistry parentRegistry)
{
 AppearanceDefinition basisAppearance = YoAppearance.Aqua();
 this.rhoSize = rhoSize;
 YoGraphicsList yoGraphicsList = new YoGraphicsList(name);
 for (int i = 0; i < rhoSize; i++)
 {
   String prefix = name + i;
   YoFrameVector basisVector = new YoFrameVector(prefix + "BasisVector", ReferenceFrame.getWorldFrame(), registry);
   yoBasisVectors.put(i, basisVector);
   YoFramePoint pointOfBasis = new YoFramePoint(prefix + "PointOfBasis", ReferenceFrame.getWorldFrame(), registry);
   pointOfBases.put(i, pointOfBasis);
   YoGraphicVector basisVisualizer = new YoGraphicVector(prefix + "BasisViz", pointOfBasis , basisVector, BASIS_VECTOR_SCALE  * vizScaling,
      basisAppearance, true);
   basisVisualizers.put(i, basisVisualizer);
   yoGraphicsList.add(basisVisualizer);
 }
 yoGraphicsListRegistry.registerYoGraphicsList(yoGraphicsList);
 parentRegistry.addChild(registry);
}

代码示例来源:origin: us.ihmc/simulation-construction-set-tools

public void addPoints(List<Point3D> points)
{
 if(!disableGraphics)
 {
   for(Point3D point : points)
   {
    Graphics3DObject testCubeGraphicObject = new Graphics3DObject();
    testCubeGraphicObject.addCube(VOXEL_SIZE, VOXEL_SIZE, VOXEL_SIZE, YoAppearance.Aqua());
    Graphics3DNode cubeNode = scs.addStaticLinkGraphics(testCubeGraphicObject, Graphics3DNodeType.VISUALIZATION);
    cubeNode.translate(point.getX(), point.getY(), point.getZ());
    if(rootNode == null)
      rootNode = cubeNode;
    else
      rootNode.addChild(cubeNode);
   }
 }
}

代码示例来源:origin: us.ihmc/simulation-construction-set-test

private static Link link22(Link link21)
{
 Link ret = new Link("link22");
 ret.setComOffset(link21.getComOffset());
 ret.setMass(link21.getMass());
 Matrix3D link2moi = new Matrix3D();
 link21.getMomentOfInertia(link2moi);
 ret.setMomentOfInertia(link2moi);
 Graphics3DObject linkGraphics = new Graphics3DObject();
 linkGraphics.addCoordinateSystem(COORDINATE_SYSTEM_LENGTH);
 createInertiaEllipsoid(ret, linkGraphics, YoAppearance.Aqua());
 ret.setLinkGraphics(linkGraphics);
 return ret;
}

代码示例来源:origin: us.ihmc/simulation-construction-set-test

linkGraphics.addSphere(SPHERE_R, YoAppearance.Aqua());

代码示例来源:origin: us.ihmc/simulation-construction-set-test

linkGraphics.addSphere(SPHERE_R, YoAppearance.Aqua());

代码示例来源:origin: us.ihmc/ihmc-footstep-planning-test

YoAppearance.Aqua());
vectors.add(surfaceNormalGraphic);

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