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

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

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

origin: us.ihmc/ihmc-system-identification

  public static Plotter createPlotter(String frameTitle)
  {
   PlotterPanel plotterPanel = new PlotterPanel();
   Plotter plotter = plotterPanel.getPlotter();
   plotter.setViewRange(1.0);
   if (frameTitle == null)
   {
     frameTitle = "Plotter Panel " + plotterPanelId;
   }
   JFrame f = new JFrame(frameTitle);
   f.getContentPane().add(new JScrollPane(plotterPanel), BorderLayout.CENTER);
   f.pack();
   f.setVisible(true);
   return plotter;
  }
}
origin: us.ihmc/ihmc-footstep-planning-test

private static void showPlotterAndSleep(ArtifactList artifacts)
{
 Plotter plotter = new Plotter();
 plotter.setViewRange(2.0);
 artifacts.setVisible(true);
 JFrame frame = new JFrame("PolygonWigglingTest");
 Dimension preferredSize = new Dimension(600, 600);
 frame.setPreferredSize(preferredSize);
 frame.add(plotter.getJPanel(), BorderLayout.CENTER);
 frame.setSize(preferredSize);
 frame.setVisible(true);
 artifacts.addArtifactsToPlotter(plotter);
 ThreadTools.sleepForever();
}
origin: us.ihmc/ihmc-whole-body-controller

private static void showPlotter(YoGraphicsListRegistry yoGraphicsListRegistry, String windowName)
 plotter.setViewRange(viewRange);
origin: us.ihmc/ihmc-common-walking-control-modules-test

private void showPlotter(YoGraphicsListRegistry yoGraphicsListRegistry, String windowName)
 plotter.setViewRange(1.0);
origin: us.ihmc/ihmc-common-walking-control-modules-test

plotter.setViewRange(range);
plotter.setFocusPointX(focus.getX());
plotter.setFocusPointY(focus.getY());
origin: us.ihmc/ihmc-path-planning-test

public static void showPlotter(YoGraphicsListRegistry yoGraphicsListRegistry, String windowName)
 plotter.setViewRange(2.0);
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-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;
}
origin: us.ihmc/simulation-construction-set-test

plotter.setPreferredSize(800, 600);
plotter.setViewRange(10.0);
plotter.setXYZoomEnabled(true);
plotter.setRotationEnabled(true);
us.ihmc.plottingPlottersetViewRange

Javadoc

Specify amount of meters that occupy view in X and Y.

Popular methods of Plotter

  • <init>
  • addArtifact
  • getJPanel
  • setFocusPointX
  • setFocusPointY
  • addArtifactsChangedListener
  • showInNewWindow
  • setXYZoomEnabled
  • update
  • setPreferredSize
  • setShowLabels
  • calculateGridSizePixels
  • setShowLabels,
  • calculateGridSizePixels,
  • centerOnFocusPoint,
  • createAndAttachPlotterLegendPanel,
  • forAllArtifacts,
  • getArtifacts,
  • getPlotter2DAdapter,
  • getPlotterHeightPixels,
  • getPlotterWidthPixels

Popular in Java

  • Making http post requests using okhttp
  • setScale (BigDecimal)
  • getResourceAsStream (ClassLoader)
  • scheduleAtFixedRate (Timer)
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • BoxLayout (javax.swing)
  • 21 Best IntelliJ Plugins
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