Codota Logo
CylinderGraphics3DInstruction.setAppearance
Code IndexAdd Codota to your IDE (free)

How to use
setAppearance
method
in
us.ihmc.graphicsDescription.instructions.CylinderGraphics3DInstruction

Best Java code snippets using us.ihmc.graphicsDescription.instructions.CylinderGraphics3DInstruction.setAppearance (Showing top 4 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Connection c =
  • Codota IconDataSource dataSource;dataSource.getConnection()
  • Codota IconString url;DriverManager.getConnection(url)
  • Codota IconIdentityDatabaseUtil.getDBConnection()
  • Smart code suggestions by Codota
}
origin: us.ihmc/simulation-construction-set-tools

@Override
public void unSelect(boolean reset)
{
 cylinderGraphic.setAppearance(new YoAppearanceRGBColor(defaultColor, unselectTransparency));
 
}
origin: us.ihmc/ihmc-graphics-description

/**
* Adds a soild cylinder with the given radius, height and appearance centered on the origin of the current coordinate system.
* </ br></ br>
* The image below demonstrates a maroon cylinder with radius of 0.3 and a height of 0.1 as described by the following code:<br /><br />
* {@code linkGraphics.addCoordinateSystem(0.5);}<br />
* {@code linkGraphics.addCylinder(0.1, 0.3, YoAppearance.Maroon());}<br /><br />
*
* As is show by the graphical representation the cylinder is centered on the coordinate system.
* Again, x, y and z are red, white and blue.
* <br /><br /><img src="doc-files/LinkGraphics.addCylinder2.jpg">
*
* @param height cylinder height in meters.
* @param radius cylinder radius in meters.
* @param cylApp Appearance to be used with the new cylinder.  See {@link YoAppearance YoAppearance} for implementations.
*/
public CylinderGraphics3DInstruction addCylinder(double height, double radius, AppearanceDefinition cylApp)
{
 CylinderGraphics3DInstruction cylinderInstruction = new CylinderGraphics3DInstruction(radius, height, RESOLUTION);
 cylinderInstruction.setAppearance(cylApp);
 graphics3DInstructions.add(cylinderInstruction);
 return cylinderInstruction;
}
origin: us.ihmc/IHMCGraphicsDescription

/**
* Adds a soild cylinder with the given radius, height and appearance centered on the origin of the current coordinate system.
* </ br></ br>
* The image below demonstrates a maroon cylinder with radius of 0.3 and a height of 0.1 as described by the following code:<br /><br />
* {@code linkGraphics.addCoordinateSystem(0.5);}<br />
* {@code linkGraphics.addCylinder(0.1, 0.3, YoAppearance.Maroon());}<br /><br />
*
* As is show by the graphical representation the cylinder is centered on the coordinate system.
* Again, x, y and z are red, white and blue.
* <br /><br /><img src="doc-files/LinkGraphics.addCylinder2.jpg">
*
* @param height cylinder height in meters.
* @param radius cylinder radius in meters.
* @param cylApp Appearance to be used with the new cylinder.  See {@link YoAppearance YoAppearance} for implementations.
*/
public CylinderGraphics3DInstruction addCylinder(double height, double radius, AppearanceDefinition cylApp)
{
 CylinderGraphics3DInstruction cylinderInstruction = new CylinderGraphics3DInstruction(radius, height, RESOLUTION);
 cylinderInstruction.setAppearance(cylApp);
 graphics3DInstructions.add(cylinderInstruction);
 return cylinderInstruction;
}
origin: us.ihmc/simulation-construction-set-tools

@Override
public void select()
{
 unSelect(false);
 
 cylinderGraphic.setAppearance(new YoAppearanceRGBColor(selectedColor, selectTransparency));
 
 notifySelectedListenersThisWasSelected(this);
}
us.ihmc.graphicsDescription.instructionsCylinderGraphics3DInstructionsetAppearance

Popular methods of CylinderGraphics3DInstruction

  • getAppearance
  • getHeight
  • getRadius
  • getResolution
  • <init>

Popular in Java

  • Making http requests using okhttp
  • compareTo (BigDecimal)
  • getContentResolver (Context)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • IOException (java.io)
    Signals that an I/O exception of some sort has occurred. This class is the general class of exceptio
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • TreeSet (java.util)
    A NavigableSet implementation based on a TreeMap. The elements are ordered using their Comparable, o
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
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