Class Camera

All Implemented Interfaces:
Serializable, Comparable, TemporalComputedObject3D, MatrixPropertiesObject, XmlRepresentable
Direct Known Subclasses:
Camera2Quad, Camera3D, CameraInPath

public class Camera extends CameraBox
See Also:
  • Field Details

  • Constructor Details

    • Camera

      public Camera(boolean pass)
    • Camera

      public Camera()
    • Camera

      public Camera(Point3D eye, Point3D lookat)
    • Camera

      public Camera(Point3D eye, Point3D lookat, Point3D up)
  • Method Details

    • getVerticale

      public Point3D getVerticale()
    • rotateMatrixXaxis

      protected void rotateMatrixXaxis(double angle)
    • rotateMatrixYaxis

      protected void rotateMatrixYaxis(double angle)
    • rotateMatrixZaxis

      protected void rotateMatrixZaxis(double angle)
    • calculerVerticaleParDefaut

      protected Point3D calculerVerticaleParDefaut(Point3D senseAxeCamera)
    • calculerHorizontaParDefaut

      protected Point3D calculerHorizontaParDefaut(Point3D senseAxeCamera)
    • setMatrix

      public void setMatrix(Point3D x, Point3D y, Point3D z)
    • setMatrix

      public void setMatrix(Matrix33 m)
    • calculerMatrice

      @Deprecated public void calculerMatrice(Point3D vertical)
      Deprecated.
    • calculerPointDansRepere

      public Point3D calculerPointDansRepere(Point3D p)
    • eye

      public Point3D eye()
    • getEye

      public Point3D getEye()
    • setEye

      public void setEye(Point3D eye)
    • getLookat

      public Point3D getLookat()
    • setLookat

      public void setLookat(Point3D lookat)
    • imposerMatrice

      public void imposerMatrice(boolean im)
    • imposerMatrice

      public void imposerMatrice(Matrix33 mat)
    • toString

      public String toString()
      Overrides:
      toString in class Representable
    • getMatrice

      public Matrix33 getMatrice()
    • getMatrix

      public Matrix33 getMatrix()
    • setMatrice

      public void setMatrice(Matrix33 matrice)
    • declareProperties

      public void declareProperties()
      Description copied from class: Representable
      Declares the properties of the Representable class. This method clears the declaredDataStructure map and adds specific properties to it based on the object's rotation and type. If the object's rotation is not null and the object is not an instance of Point3D, a "rotation/Rotation" property is added. The "vectors/vectors" property is always added to the map.
      Specified by:
      declareProperties in interface MatrixPropertiesObject
      Overrides:
      declareProperties in class CameraBox
    • coordonneesPointEcranIsometrique

      public Point coordonneesPointEcranIsometrique(Point3D p, ZBufferImpl.Box2D box, int la, int ha)
    • coordonneesPoint2D

      public Point coordonneesPoint2D(Point3D p, ZBuffer impl)
    • distanceCamera

      public double distanceCamera(Point3D x3d)
    • getScale

      public StructureMatrix<Double> getScale()
    • setScale

      public void setScale(StructureMatrix<Double> scale)
    • setVerticale

      protected void setVerticale(Point3D vert2)