Codota Logo
ViewFrustum.moveForward
Code IndexAdd Codota to your IDE (free)

How to use
moveForward
method
in
org.deegree.rendering.r3d.ViewFrustum

Best Java code snippets using org.deegree.rendering.r3d.ViewFrustum.moveForward (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ArrayList a =
  • Codota Iconnew ArrayList<String>()
  • Codota Iconnew ArrayList()
  • Codota Iconnew ArrayList<Object>()
  • Smart code suggestions by Codota
}
origin: deegree/deegree3

@Override
public void mouseWheelMoved( MouseWheelEvent ev ) {
  double moveStep = calcMove();
  if ( ( ev.getModifiersEx() & ( InputEvent.SHIFT_DOWN_MASK | InputEvent.CTRL_DOWN_MASK ) ) == InputEvent.SHIFT_DOWN_MASK ) {
    // SHIFT (and not CTRL)
    moveStep *= 10.0;
  } else if ( ( ev.getModifiersEx() & ( InputEvent.SHIFT_DOWN_MASK | InputEvent.CTRL_DOWN_MASK ) ) == InputEvent.CTRL_DOWN_MASK ) {
    // CTRL (and not SHIFT)
    moveStep /= 10.0;
  }
  vf.moveForward( -ev.getWheelRotation() * moveStep );
  master.repaint();
}
origin: deegree/deegree3

vf.moveForward( moveStep );
break;
vf.moveForward( -moveStep );
break;
org.deegree.rendering.r3dViewFrustummoveForward

Javadoc

Move the viewfrustum to the forward (according to the view direction).

Popular methods of ViewFrustum

  • getEyePos
  • getFOVY
  • getLookingAt
  • getUp
  • getZFar
  • getZNear
  • <init>
    Create a viewFrustum from the given parameters.
  • calcObserPosition
    Calculate the position of the viewer regarding the yaw and the pitch.
  • calcUp
    The up vector only depends on the roll
  • intersects
  • intersectsFrustum
  • moveRight
    Move the viewfrustum to the right (according to the view direction).
  • intersectsFrustum,
  • moveRight,
  • moveUp,
  • rotate,
  • rotateX,
  • rotateY,
  • rotateZ,
  • setCameraParams,
  • setPerspectiveParams

Popular in Java

  • Parsing JSON documents to java classes using gson
  • setScale (BigDecimal)
  • getContentResolver (Context)
  • getSystemService (Context)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now