Codota Logo
YoGraphic.computeRotationTranslation
Code IndexAdd Codota to your IDE (free)

How to use
computeRotationTranslation
method
in
us.ihmc.graphicsDescription.yoGraphics.YoGraphic

Best Java code snippets using us.ihmc.graphicsDescription.yoGraphics.YoGraphic.computeRotationTranslation (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Charset c =
  • Codota IconString charsetName;Charset.forName(charsetName)
  • Codota IconCharset.defaultCharset()
  • Codota IconContentType contentType;contentType.getCharset()
  • Smart code suggestions by Codota
}
origin: us.ihmc/IHMCGraphicsDescription

public final Transform3d getTransform()
{
 if (showGraphicObject && !containsNaN())
 {
   computeRotationTranslation(objectTransform);
   if (USE_JESPERS_BUGGY_HACK_TO_TRY_TO_PUT_YOGRAPHICS_WITH_RESPECT_TO_ROBOT)
   {
    // This is a buggy attempt to make the graphic objects go where the robot is, rather than the estimated robot.
    // It works when simulating, but not when rewinding.
    transform.multiply(rootTransform, objectTransform);
   }
   else
   {
    transform.set(objectTransform);
   }
 }
 else
 {
   transform.setIdentity();
   transform.setScale(0.0);
 }
 return transform;
}
origin: us.ihmc/ihmc-graphics-description

public final AffineTransform getTransform()
{
 if (showGraphicObject && !containsNaN())
 {
   computeRotationTranslation(objectTransform);
   if (USE_JESPERS_BUGGY_HACK_TO_TRY_TO_PUT_YOGRAPHICS_WITH_RESPECT_TO_ROBOT)
   {
    // This is a buggy attempt to make the graphic objects go where the robot is, rather than the estimated robot.
    // It works when simulating, but not when rewinding.
    transform.set(objectTransform);
    transform.preMultiply(rootTransform);
   }
   else
   {
    transform.set(objectTransform);
   }
 }
 else
 {
   transform.setIdentity();
   transform.setScale(0.0);
 }
 return transform;
}
us.ihmc.graphicsDescription.yoGraphicsYoGraphiccomputeRotationTranslation

Popular methods of YoGraphic

  • hideGraphicObject
  • update
    Overwrite the update method if an object needs special updating. But it is up to each user to update
  • containsNaN
  • getName
  • isGraphicObjectShowing
  • setRootTransform
  • setVisible
  • showGraphicObject
  • toString
  • setGlobalScaleProvider

Popular in Java

  • Running tasks concurrently on multiple threads
  • onCreateOptionsMenu (Activity)
  • setRequestProperty (URLConnection)
    Sets the general request property. If a property with the key already exists, overwrite its value wi
  • getContentResolver (Context)
  • Socket (java.net)
    Provides a client-side TCP socket.
  • HashSet (java.util)
    This class implements the Set interface, backed by a hash table (actually a HashMap instance). It m
  • ConcurrentHashMap (java.util.concurrent)
    A hash table supporting full concurrency of retrievals and adjustable expected concurrency for updat
  • JTable (javax.swing)
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • 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