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

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

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

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

public void showPlotter()
 plotter.setPreferredSize(800, 600);
us.ihmc.plottingPlottersetPreferredSize

Popular methods of Plotter

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

Popular in Java

  • Making http requests using okhttp
  • scheduleAtFixedRate (ScheduledExecutorService)
  • addToBackStack (FragmentTransaction)
  • setRequestProperty (URLConnection)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • From CI to AI: The AI layer in your organization
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