Tabnine Logo
Animator.start
Code IndexAdd Tabnine to your IDE (free)

How to use
start
method
in
com.jogamp.opengl.util.Animator

Best Java code snippets using com.jogamp.opengl.util.Animator.start (Showing top 10 results out of 315)

origin: matsim-org/matsim

  @Override
  public void run() {
    animator.start();
  }
}).start();
origin: org.jogamp.jogl/jogl-all-noawt

public void start() {
  if(isValid) {
    glWindow.setVisible(true);
    glWindow.sendWindowEvent(WindowEvent.EVENT_WINDOW_RESIZED);
    glAnimator.start();
    parentWin = glWindow.getParent();
  }
}
origin: ch.unibas.cs.gravis/scalismo-native-stub

public void start() {
  if(isValid) {
    glWindow.setVisible(true);
    glWindow.sendWindowEvent(WindowEvent.EVENT_WINDOW_RESIZED);
    if( null == pointerIconTest ) {
      final IOUtil.ClassResources res = new IOUtil.ClassResources(glWindow.getClass(), new String[] { "newt/data/cross-grey-alpha-16x16.png" } );
      final Display disp = glWindow.getScreen().getDisplay();
      try {
        pointerIconTest = disp.createPointerIcon(res, 8, 8);
      } catch (final Exception e) {
        e.printStackTrace();
      }
    }
    glAnimator.start();
    parentWin = glWindow.getParent();
    glWindow.addWindowListener(reparentHomeListener);
  }
}
origin: com.io7m.jcamera/com.io7m.jcamera.examples.jogl

CameraLabWindow()
{
 final Container content = this.getContentPane();
 this.setJMenuBar(menu(this));
 final ExecutorService background_workers =
  NullCheck.notNull(Executors.newFixedThreadPool(1));
 final GLProfile profile = GLProfile.get(GLProfile.GL3);
 final GLCapabilities caps = new GLCapabilities(profile);
 final GLWindow window = GLWindow.create(caps);
 window.setSize(512, 512);
 final NewtCanvasAWT canvas = new NewtCanvasAWT(window);
 canvas.requestFocus();
 final JPanel canvas_panel = new JPanel();
 canvas_panel.add(canvas);
 final ExampleRenderer renderer = new ExampleRenderer();
 final Panel controls =
  new Panel(background_workers, renderer, canvas_panel, window);
 final FlowLayout layout = new FlowLayout(FlowLayout.LEADING, 8, 8);
 layout.setAlignOnBaseline(true);
 content.setLayout(layout);
 content.add(canvas_panel);
 content.add(controls);
 final Animator anim = new Animator();
 anim.add(window);
 anim.start();
}
origin: openimaj/openimaj

/**
 *    @param width
 *    @param height
 */
public Visualisation3D( final int width, final int height )
{
  this.window = new JOGLWindow( width, height );
  if( this.window.getDrawableSurface() == null )
    throw new RuntimeException( "Unable to get OpenGL surface." );
  this.window.getDrawableSurface().addGLEventListener( this );
  this.animator = new Animator( this.window.getDrawableSurface() );
  this.animator.add( this.window.getDrawableSurface() );
  this.animator.start();
}
origin: kendzi/kendzi3d

animator.start();
canvas.setFocusable(true);
canvas.requestFocus();
origin: kendzi/kendzi3d

animator.start();
canvas.setFocusable(true);
canvas.requestFocus();
origin: com.io7m.jcamera/com.io7m.jcamera.examples.jogl

anim.start();
origin: com.io7m.jcamera/com.io7m.jcamera.examples.jogl

anim.start();
origin: kendzi/kendzi3d

animator.start();
com.jogamp.opengl.utilAnimatorstart

Popular methods of Animator

  • <init>
    Creates a new Animator for a particular drawable.
  • stop
  • add
  • isStarted
  • display
  • finishLifecycleAction
  • flushGLRunnables
  • getThreadName
  • handleUncaughtException
  • isAnimating
  • isPaused
  • setDrawablesExclCtxState
  • isPaused,
  • setDrawablesExclCtxState,
  • setThreadGroup,
  • remove,
  • setModeBits,
  • setRunAsFastAsPossible,
  • setUpdateFPSFrames

Popular in Java

  • Reactive rest calls using spring rest template
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • findViewById (Activity)
  • setContentView (Activity)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • Github Copilot alternatives
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