Codota Logo
JavaFXCoordinateSystem
Code IndexAdd Codota to your IDE (free)

How to use
JavaFXCoordinateSystem
in
us.ihmc.javaFXToolkit.shapes

Best Java code snippets using us.ihmc.javaFXToolkit.shapes.JavaFXCoordinateSystem (Showing top 7 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
SimpleDateFormat s =
  • Codota IconString pattern;new SimpleDateFormat(pattern)
  • Codota IconString template;Locale locale;new SimpleDateFormat(template, locale)
  • Codota Iconnew SimpleDateFormat()
  • Smart code suggestions by Codota
}
origin: us.ihmc/ihmc-robot-data-visualizer

public LidarScanLogViewer()
{
 JavaFXCoordinateSystem lidarFrame = new JavaFXCoordinateSystem(0.1);
 lidarFrame.getTransforms().add(lidarPose);
 root.getChildren().addAll(lidarFrame, scans);
 TextureColorPalette1D scanColorPalette = new TextureColorPalette1D();
 scanColorPalette.setHueBased(1.0, 1.0);
 scanMeshBuilder = new JavaFXMultiColorMeshBuilder(scanColorPalette);
}
origin: us.ihmc/ihmc-javafx-toolkit

/**
* Display the world coordinate system.
* @param arrowLength length of each axis of the coordinate system.
*/
public void addWorldCoordinateSystem(double arrowLength)
{
 JavaFXCoordinateSystem worldCoordinateSystem = new JavaFXCoordinateSystem(arrowLength);
 worldCoordinateSystem.setMouseTransparent(true);
 addNodeToView(worldCoordinateSystem);
}
origin: us.ihmc/IHMCJavaFXToolkit

/**
* Display the world coordinate system.
* @param arrowLength length of each axis of the coordinate system.
*/
public void addWorldCoordinateSystem(double arrowLength)
{
 JavaFXCoordinateSystem worldCoordinateSystem = new JavaFXCoordinateSystem(arrowLength);
 addNodeToView(worldCoordinateSystem);
}
origin: us.ihmc/ihmc-javafx-toolkit

  public JavaFXCoordinateSystem(double length)
  {
   TextureColorPalette1D colorPalette = new TextureColorPalette1D();
   colorPalette.setHueBased(1.0, 1.0);
   JavaFXMultiColorMeshBuilder meshBuilder = new JavaFXMultiColorMeshBuilder(colorPalette);
   double radius = 0.02 * length;
   double coneHeight = 0.10 * length;
   double coneRadius = 0.05 * length;
   meshBuilder.addCylinder(length, radius, new Point3D(), new AxisAngle(0.0, 1.0, 0.0, Math.PI / 2.0), Color.RED);
   meshBuilder.addCone(coneHeight, coneRadius, new Point3D(length, 0.0, 0.0), new AxisAngle(0.0, 1.0, 0.0, Math.PI / 2.0), Color.RED);
   meshBuilder.addCylinder(length, radius, new Point3D(), new AxisAngle(1.0, 0.0, 0.0, -Math.PI / 2.0), Color.GREEN);
   meshBuilder.addCone(coneHeight, coneRadius, new Point3D(0.0, length, 0.0), new AxisAngle(1.0, 0.0, 0.0, -Math.PI / 2.0), Color.GREEN);
   meshBuilder.addCylinder(length, radius, new Point3D(), Color.BLUE);
   meshBuilder.addCone(coneHeight, coneRadius, new Point3D(0.0, 0.0, length), Color.BLUE);

   MeshView coordinateSystem = new MeshView(meshBuilder.generateMesh());
   coordinateSystem.setMaterial(meshBuilder.generateMaterial());
   getChildren().addAll(coordinateSystem);
  }
}
origin: us.ihmc/IHMCJavaFXToolkit

  public JavaFXCoordinateSystem(double length)
  {
   TextureColorPalette1D colorPalette = new TextureColorPalette1D();
   colorPalette.setHueBased(1.0, 1.0);
   JavaFXMultiColorMeshBuilder meshBuilder = new JavaFXMultiColorMeshBuilder(colorPalette);
   double radius = 0.02 * length;
   double coneHeight = 0.10 * length;
   double coneRadius = 0.05 * length;
   meshBuilder.addCylinder(length, radius, new Point3d(), new AxisAngle4d(0.0, 1.0, 0.0, Math.PI / 2.0), Color.RED);
   meshBuilder.addCone(coneHeight, coneRadius, new Point3d(length, 0.0, 0.0), new AxisAngle4d(0.0, 1.0, 0.0, Math.PI / 2.0), Color.RED);
   meshBuilder.addCylinder(length, radius, new Point3d(), new AxisAngle4d(1.0, 0.0, 0.0, -Math.PI / 2.0), Color.GREEN);
   meshBuilder.addCone(coneHeight, coneRadius, new Point3d(0.0, length, 0.0), new AxisAngle4d(1.0, 0.0, 0.0, -Math.PI / 2.0), Color.GREEN);
   meshBuilder.addCylinder(length, radius, new Point3d(), Color.BLUE);
   meshBuilder.addCone(coneHeight, coneRadius, new Point3d(0.0, 0.0, length), Color.BLUE);

   MeshView coordinateSystem = new MeshView(meshBuilder.generateMesh());
   coordinateSystem.setMaterial(meshBuilder.generateMaterial());
   getChildren().addAll(coordinateSystem);
  }
}
origin: us.ihmc/IHMCRobotDataVisualizer

public LidarScanLogViewer()
{
 JavaFXCoordinateSystem lidarFrame = new JavaFXCoordinateSystem(0.1);
 lidarFrame.getTransforms().add(lidarPose);
 root.getChildren().addAll(lidarFrame, scans);
 TextureColorPalette1D scanColorPalette = new TextureColorPalette1D();
 scanColorPalette.setHueBased(1.0, 1.0);
 scanMeshBuilder = new JavaFXMultiColorMeshBuilder(scanColorPalette);
}
origin: us.ihmc/robot-environment-awareness

public LidarFrameViewer(REAUIMessager uiMessager)
{
 lidarCoordinateSystem = new JavaFXCoordinateSystem(0.1);
 lidarCoordinateSystem.getTransforms().add(lidarPose);
 root.getChildren().add(lidarCoordinateSystem);
 root.setMouseTransparent(true);
 uiMessager.registerTopicListener(REAModuleAPI.LidarScanState, this::handleMessage);
 uiMessager.registerModuleMessagerStateListener(isMessagerOpen -> {
   if (isMessagerOpen)
    start();
   else
    stop();
 });
}
us.ihmc.javaFXToolkit.shapesJavaFXCoordinateSystem

Most used methods

  • <init>
  • getTransforms
  • getChildren
  • setMouseTransparent

Popular in Java

  • Finding current android device location
  • getResourceAsStream (ClassLoader)
  • runOnUiThread (Activity)
  • getContentResolver (Context)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • Path (java.nio.file)
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Collectors (java.util.stream)
  • Runner (org.openjdk.jmh.runner)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now