Class Camera3D

java.lang.Object
org.jlab.geom.prim.Camera3D
All Implemented Interfaces:
Transformable

public class Camera3D extends Object implements Transformable
Author:
gavalian
  • Constructor Details Link icon

    • Camera3D Link icon

      public Camera3D()
  • Method Details Link icon

    • translateXYZ Link icon

      public void translateXYZ(double dx, double dy, double dz)
      Description copied from interface: Transformable
      Translates this object linearly by the amounts specified.
      Specified by:
      translateXYZ in interface Transformable
      Parameters:
      dx - amount to translate along the x axis
      dy - amount to translate along the y axis
      dz - amount to translate along the z axis
    • rotateX Link icon

      public void rotateX(double angle)
      Description copied from interface: Transformable
      Rotates this object clockwise around the x axis.
      Specified by:
      rotateX in interface Transformable
      Parameters:
      angle - rotation angle in radians
    • rotateY Link icon

      public void rotateY(double angle)
      Description copied from interface: Transformable
      Rotates this object clockwise around the y axis.
      Specified by:
      rotateY in interface Transformable
      Parameters:
      angle - rotation angle in radians
    • setCanvasSize Link icon

      public void setCanvasSize(int w, int h)
    • getCanvasX Link icon

      public int getCanvasX(Point3D point)
    • getCanvasY Link icon

      public int getCanvasY(Point3D point)
    • rotateZ Link icon

      public void rotateZ(double angle)
      Description copied from interface: Transformable
      Rotates this object clockwise around the z axis.
      Specified by:
      rotateZ in interface Transformable
      Parameters:
      angle - rotation angle in radians
    • setAspectRatio Link icon

      public void setAspectRatio(double ratio)
    • setDistance Link icon

      public void setDistance(double distance)
    • getPoint Link icon

      public Point3D getPoint(Point3D point)
    • getLine Link icon

      public Line3D getLine(Line3D line)