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

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

Best Java code snippets using org.deegree.rendering.r3d.ViewFrustum.calcObserPosition (Showing top 1 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

/**
 * Create a view Frustum by using the given roll, pitch, yaw and distance to the point of interest (looking at), to
 * calculate the eye and the up vector.
 * 
 * @param pitch
 * @param yaw
 * @param roll
 * @param distance
 * @param lookingAt
 * @param fovy
 *            the field-of-view in y direction
 * @param aspect
 * @param zNear
 * @param zFar
 */
public ViewFrustum( double pitch, double yaw, double roll, double distance, Point3d lookingAt, double fovy,
          double aspect, double zNear, double zFar ) {
  Point3d calculatedEye = calcObserPosition( lookingAt, pitch, yaw, distance );
  Vector3d calculatedUp = calcUp( roll, calculatedEye, lookingAt );
  setPerspectiveParams( fovy, aspect, zNear, zFar );
  setCameraParams( calculatedEye, lookingAt, calculatedUp );
}
org.deegree.rendering.r3dViewFrustumcalcObserPosition

Javadoc

Calculate the position of the viewer regarding the yaw and the pitch.

Popular methods of ViewFrustum

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

Popular in Java

  • Reactive rest calls using spring rest template
  • getResourceAsStream (ClassLoader)
  • getExternalFilesDir (Context)
  • putExtra (Intent)
  • Kernel (java.awt.image)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • ConcurrentHashMap (java.util.concurrent)
    A hash table supporting full concurrency of retrievals and adjustable expected concurrency for updat
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
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