Class Camera2Quad

All Implemented Interfaces:
Serializable, Comparable, TemporalComputedObject3D, MatrixPropertiesObject, XmlRepresentable

public class Camera2Quad extends Camera
See Also:
  • Field Details

  • Constructor Details

    • Camera2Quad

      public Camera2Quad(ZBuffer z, Polygon near, Polygon far)
      near(pa1,nb1,pc1,pd1)- far(pa2,pb2,pc2,pd2)
      Parameters:
      z -
      near - quad 1
      far - quad 2
  • Method Details

    • init

      public void init()
    • 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 Camera
    • tracerQuad

      public void tracerQuad(Point3D pp1, Point3D pp2, Point3D pp3, Point3D pp4, ITexture texture, double u0, double u1, double v0, double v1, ParametricSurface n)