us.ihmc.simulationconstructionset.SimulationConstructionSet.setCameraDolly()方法的使用及代码示例

x33g5p2x  于2022-01-30 转载在 其他  
字(1.7k)|赞(0)|评价(0)|浏览(86)

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

SimulationConstructionSet.setCameraDolly介绍

暂无

代码示例

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

scs.setCameraDollyVars("q_x", "q_y", "q_z");
scs.setCameraTracking(useTrackAndDolly.get(), useTrackAndDolly.get(), useTrackAndDolly.get(), useTrackAndDolly.get());
scs.setCameraDolly(useTrackAndDolly.get(), useTrackAndDolly.get(), useTrackAndDolly.get(), false);
scs.setCameraDollyOffsets(4.0, 4.0, 1.0);
SimulationOverheadPlotterFactory simulationOverheadPlotterFactory = scs.createSimulationOverheadPlotterFactory();

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

assertTrue(isCameraTrackingZ4);
scs.setCameraDolly(true, false, false, false);
boolean isCameraDolly = scs.getGUI().getCamera().isDolly();
boolean isCameraDollyX = scs.getGUI().getCamera().isDollyX();
assertFalse(isCameraDollyZ);
scs.setCameraDolly(false, true, false, false);
boolean isCameraDolly2 = scs.getGUI().getCamera().isDolly();
boolean isCameraDollyX2 = scs.getGUI().getCamera().isDollyX();
assertFalse(isCameraDollyZ2);
scs.setCameraDolly(false, false, true, false);
boolean isCameraDolly3 = scs.getGUI().getCamera().isDolly();
boolean isCameraDollyX3 = scs.getGUI().getCamera().isDollyX();
assertFalse(isCameraDollyZ3);
scs.setCameraDolly(false, false, false, true);
boolean isCameraDolly4 = scs.getGUI().getCamera().isDolly();
boolean isCameraDollyX4 = scs.getGUI().getCamera().isDollyX();

相关文章

微信公众号

最新文章

更多

SimulationConstructionSet类方法