本文整理了Java中us.ihmc.graphicsDescription.appearance.YoAppearance.RGBColorFromHex()
方法的一些代码示例,展示了YoAppearance.RGBColorFromHex()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YoAppearance.RGBColorFromHex()
方法的具体详情如下:
包路径:us.ihmc.graphicsDescription.appearance.YoAppearance
类名称:YoAppearance
方法名:RGBColorFromHex
暂无
代码示例来源:origin: us.ihmc/ihmc-graphics-description
public static AppearanceDefinition BlanchedAlmond()
{
return RGBColorFromHex(0xFFEBCD);
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
public static AppearanceDefinition BlueViolet()
{
return RGBColorFromHex(0x8A2BE2);
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
public static AppearanceDefinition Coral()
{
return RGBColorFromHex(0xFF7F50);
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
public static AppearanceDefinition Cyan()
{
return RGBColorFromHex(0x00FFFF);
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
public static AppearanceDefinition DarkSalmon()
{
return RGBColorFromHex(0xE9967A);
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
public static AppearanceDefinition DarkSlateGrey()
{
return RGBColorFromHex(0x2F4F4F);
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
public static AppearanceDefinition DarkViolet()
{
return RGBColorFromHex(0x9400D3);
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
public static AppearanceDefinition DimGrey()
{
return RGBColorFromHex(0x696969);
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
public static AppearanceDefinition Gold()
{
return RGBColorFromHex(0xFFD700);
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
public static AppearanceDefinition Green()
{
return RGBColorFromHex(0x008000);
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
public static AppearanceDefinition GreenYellow()
{
return RGBColorFromHex(0xADFF2F);
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
public static AppearanceDefinition Khaki()
{
return RGBColorFromHex(0xF0E68C);
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
public static AppearanceDefinition Lavender()
{
return RGBColorFromHex(0xE6E6FA);
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
public static AppearanceDefinition MediumSeaGreen()
{
return RGBColorFromHex(0x3CB371);
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
public static AppearanceDefinition NavajoWhite()
{
return RGBColorFromHex(0xFFDEAD);
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
public static AppearanceDefinition OliveDrab()
{
return RGBColorFromHex(0x6B8E23);
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
public static AppearanceDefinition Orchid()
{
return RGBColorFromHex(0xDA70D6);
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
public static AppearanceDefinition PeachPuff()
{
return RGBColorFromHex(0xFFDAB9);
}
代码示例来源:origin: us.ihmc/ihmc-graphics-description
public static AppearanceDefinition White()
{
return RGBColorFromHex(0xFFFFFF);
}
代码示例来源:origin: us.ihmc/ihmc-avatar-interfaces
public Graphics3DObject createVisualization(FramePoint3D voxelLocation, double scale, double reachabilityValue)
{
ReferenceFrame originalFrame = voxelLocation.getReferenceFrame();
voxelLocation.changeFrame(ReferenceFrame.getWorldFrame());
Graphics3DObject voxelViz = new Graphics3DObject();
AppearanceDefinition appearance = YoAppearance.RGBColorFromHex(Color.HSBtoRGB((float) (0.7 * reachabilityValue), 1.0f, 1.0f));
voxelViz.translate(voxelLocation.getX(), voxelLocation.getY(), voxelLocation.getZ());
voxelViz.addSphere(scale * voxelSize / 2.0, appearance);
voxelLocation.changeFrame(originalFrame);
return voxelViz;
}
}
内容来源于网络,如有侵权,请联系作者删除!