Tabnine Logo
YoGraphic.computeRotationTranslation
Code IndexAdd Tabnine 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)

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

  • Making http post requests using okhttp
  • setRequestProperty (URLConnection)
  • getSupportFragmentManager (FragmentActivity)
  • getSystemService (Context)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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