congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
JavaFXMultiColorMeshBuilder.addBox
Code IndexAdd Tabnine to your IDE (free)

How to use
addBox
method
in
us.ihmc.javaFXToolkit.shapes.JavaFXMultiColorMeshBuilder

Best Java code snippets using us.ihmc.javaFXToolkit.shapes.JavaFXMultiColorMeshBuilder.addBox (Showing top 6 results out of 315)

origin: us.ihmc/IHMCJavaFXToolkit

/**
* Add a cube to this builder.
* @param size edge length of the cube.
* @param cubeOffset coordinates of the cube's center. Not modified.
* @param color color of the cube. Color accuracy depends on the color palette in use.
*/
public void addCube(double size, Tuple3d pointsOffset, Color color)
{
 addBox(size, size, size, pointsOffset, color);
}
origin: us.ihmc/ihmc-javafx-toolkit

/**
* Add a cube to this builder.
* @param size edge length of the cube.
* @param cubeOffset coordinates of the cube's center. Not modified.
* @param color color of the cube. Color accuracy depends on the color palette in use.
*/
public void addCube(double size, Tuple3DReadOnly pointsOffset, Color color)
{
 addBox(size, size, size, pointsOffset, color);
}
origin: us.ihmc/ihmc-javafx-toolkit

/**
* Add a cube to this builder.
* @param size edge length of the cube.
* @param cubeOffset coordinates of the cube's center. Not modified.
* @param color color of the cube. Color accuracy depends on the color palette in use.
*/
public void addCube(float size, Tuple3DReadOnly pointsOffset, Color color)
{
 addBox(size, size, size, pointsOffset, color);
}
origin: us.ihmc/IHMCJavaFXToolkit

/**
* Add a cube to this builder.
* @param size edge length of the cube.
* @param cubeOffset coordinates of the cube's center. Not modified.
* @param color color of the cube. Color accuracy depends on the color palette in use.
*/
public void addCube(float size, Tuple3f pointsOffset, Color color)
{
 addBox(size, size, size, pointsOffset, color);
}
origin: us.ihmc/IHMCJavaFXToolkit

/**
* Add a cube to this builder.
* @param size edge length of the cube.
* @param xOffset x-coordinate of the cube's center.
* @param yOffset y-coordinate of the cube's center.
* @param zOffset z-coordinate of the cube's center.
* @param color color of the cube. Color accuracy depends on the color palette in use.
*/
public void addCube(double size, double xOffset, double yOffset, double zOffset, Color color)
{
 addBox(size, size, size, new Point3d(xOffset, yOffset, zOffset), color);
}
origin: us.ihmc/ihmc-javafx-toolkit

/**
* Add a cube to this builder.
* @param size edge length of the cube.
* @param xOffset x-coordinate of the cube's center.
* @param yOffset y-coordinate of the cube's center.
* @param zOffset z-coordinate of the cube's center.
* @param color color of the cube. Color accuracy depends on the color palette in use.
*/
public void addCube(double size, double xOffset, double yOffset, double zOffset, Color color)
{
 addBox(size, size, size, new Point3D(xOffset, yOffset, zOffset), color);
}
us.ihmc.javaFXToolkit.shapesJavaFXMultiColorMeshBuilderaddBox

Javadoc

Add a box to this builder.

Popular methods of JavaFXMultiColorMeshBuilder

  • <init>
    Creates an empty mesh builder given a texture color palette to use.
  • generateMaterial
  • generateMesh
  • addLine
    Add a 3D line to this builder.
  • addMesh
    Rotates, translates, then combines the given mesh with the mesh contained in this builder.
  • addMultiLine
    Add a series of connected 3D lines to this builder.
  • clear
    Clears the meshes contained in this builder.
  • addCone
    Add a cone to this builder. Its axis is aligned with the z-axis and its top is the vertex with the h
  • addCube
    Add a cube to this builder.
  • addCylinder
    Add a cylinder to this builder. Its axis is aligned with the z-axis in its local coordinate system.
  • addPolygon
    Add a 2D polygon to this builder.
  • setColor
  • addPolygon,
  • setColor,
  • addPolyon,
  • addTetrahedron

Popular in Java

  • Reading from database using SQL prepared statement
  • putExtra (Intent)
  • requestLocationUpdates (LocationManager)
  • runOnUiThread (Activity)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Top 12 Jupyter Notebook Extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now