Class LumierePonctuelle

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

public class LumierePonctuelle extends Lumiere
See Also:
  • Field Details

  • Constructor Details

    • LumierePonctuelle

      public LumierePonctuelle()
    • LumierePonctuelle

      public LumierePonctuelle(Point3D pos, Color couleurLumiere)
  • Method Details

    • getCouleur

      public int getCouleur(int base, Point3D p, Point3D n)
      Specified by:
      getCouleur in class Lumiere
    • intensite

      public void intensite(int r0)
    • getDirectional

      public StructureMatrix<Boolean> getDirectional()
    • setDirectional

      public void setDirectional(StructureMatrix<Boolean> directional)
    • setR0

      public void setR0(double r0)
    • 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 Representable