Tabnine Logo
Plotter.setFocusPointX
Code IndexAdd Tabnine to your IDE (free)

How to use
setFocusPointX
method
in
us.ihmc.plotting.Plotter

Best Java code snippets using us.ihmc.plotting.Plotter.setFocusPointX (Showing top 7 results out of 315)

origin: us.ihmc/ihmc-common-walking-control-modules-test

plotter.setFocusPointX(focus.getX());
plotter.setFocusPointY(focus.getY());
origin: us.ihmc/ihmc-avatar-interfaces

boolPlotter.setFocusPointX((double) 320);
boolPlotter.setFocusPointY((double) 80);
boolPlotter.setViewRange(200);
origin: us.ihmc/DarpaRoboticsChallenge

boolPlotter.setFocusPointX((double) 320);
boolPlotter.setFocusPointY((double) 80);
boolPlotter.setViewRange(200);
origin: us.ihmc/IHMCAvatarInterfaces

boolPlotter.setFocusPointX((double) 320);
boolPlotter.setFocusPointY((double) 80);
boolPlotter.setViewRange(200);
origin: us.ihmc/ihmc-swing-plotting

 plotter.setFocusPointX(point2D.getX());
 plotter.setFocusPointY(point2D.getY());
 return;
plotter.setFocusPointX(adjustingViewRangeMin.get().getX() + ((adjustingViewRangeMax.get().getX() - adjustingViewRangeMin.get().getX()) / 2.0));
plotter.setFocusPointY(adjustingViewRangeMin.get().getY() + ((adjustingViewRangeMax.get().getY() - adjustingViewRangeMin.get().getY()) / 2.0));
origin: us.ihmc/ihmc-manipulation-planning

public CTNodeVisualizer(String ctaskName, int configurationIndex, boolean enabled)
{
 this.ctaskName = ctaskName;
 this.plotter = new Plotter();
 this.configurationIndex = configurationIndex;
 /*
  * zoom- always normalized.
  */
 plotter.setPreferredSize(700, 700);
 plotter.setViewRange(1.5);
 plotter.setXYZoomEnabled(true);
 plotter.setShowLabels(true);
 plotter.setFocusPointX(0.5);
 plotter.setFocusPointY(0.5);
 this.enabled = enabled;
}
origin: us.ihmc/ihmc-avatar-interfaces

public SpatialNodePlotter(WholeBodyTrajectoryToolboxData toolboxData, boolean enabled)
{
 this.dimensionOfConfigurations = toolboxData.getExplorationDimension();
 this.upperLimits = new double[dimensionOfConfigurations];
 this.lowerLimits = new double[dimensionOfConfigurations];
 this.trajectoryTime = toolboxData.getTrajectoryTime();
 for (int i = 0; i < dimensionOfConfigurations; i++)
 {
   Plotter plotter = new Plotter();
   plotter.setPreferredSize(400, 600);
   plotter.setViewRange(2.0);
   plotter.setXYZoomEnabled(true);
   plotter.setShowLabels(true);
   plotter.setFocusPointX(0.5);
   plotter.setFocusPointY(0.0);
   plotters.add(plotter);
   upperLimits[i] = Double.NEGATIVE_INFINITY;
   lowerLimits[i] = Double.POSITIVE_INFINITY;
   String plotterName = toolboxData.createRandomSpatialData().getConfigurationNames().get(i);
   isFrameEnabled = enabled;
   if (enabled)
    plotter.showInNewWindow(plotterName, false);
 }
 cnt = 0;
}
us.ihmc.plottingPlottersetFocusPointX

Popular methods of Plotter

  • setViewRange
    Specify amount of meters that occupy view in X and Y.
  • <init>
  • addArtifact
  • getJPanel
  • setFocusPointY
  • addArtifactsChangedListener
  • showInNewWindow
  • setXYZoomEnabled
  • update
  • setPreferredSize
  • setShowLabels
  • calculateGridSizePixels
  • setShowLabels,
  • calculateGridSizePixels,
  • centerOnFocusPoint,
  • createAndAttachPlotterLegendPanel,
  • forAllArtifacts,
  • getArtifacts,
  • getPlotter2DAdapter,
  • getPlotterHeightPixels,
  • getPlotterWidthPixels

Popular in Java

  • Finding current android device location
  • getSystemService (Context)
  • compareTo (BigDecimal)
  • setRequestProperty (URLConnection)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • Top plugins for Android Studio
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