Class BillboardDataset

java.lang.Object
gaiasky.scene.record.BillboardDataset

public class BillboardDataset extends Object
Holds a particle dataset with the metadata.
  • Field Details

    • file

      public String file
    • fileUnpack

      public String fileUnpack
    • data

      public List<IParticleRecord> data
    • type

    • layers

      public int[] layers
    • modulus

      public int modulus
    • size

      public float size
    • intensity

      public float intensity
    • depthMask

      public boolean depthMask
    • blending

      public BlendMode blending
    • maxSizes

      public double[] maxSizes
      Maximum particle size for each graphics quality mode. It has 4 entries, from LOW to ULTRA. See Settings.GraphicsQuality.
  • Constructor Details

    • BillboardDataset

      public BillboardDataset()
  • Method Details

    • initialize

      public boolean initialize(PointDataProvider provider, boolean reload)
    • setFile

      public void setFile(String file)
    • setSize

      public void setSize(Double size)
    • setIntensity

      public void setIntensity(Double intensity)
    • setType

      public void setType(String type)
    • setLayers

      public void setLayers(int[] layers)
    • setModulus

      public void setModulus(Long modulus)
    • setDepthmask

      public void setDepthmask(Boolean depthMask)
    • setBlending

      public void setBlending(String blending)
    • setMaxsize

      public void setMaxsize(Double maxSize)
      Sets the maximum size as a solid angle [deg]. The same setting is used for all graphics quality settings.
      Parameters:
      maxSize - The maximum size in degrees.
    • setMaxsizes

      public void setMaxsizes(double[] maxSizes)
      Sets the maximum size as a list of solid angles [deg], one for each of the graphics qualities LOW, NORMAL, HIGH and ULTRA.
      Parameters:
      maxSizes - The maximum size per graphics quality, in degrees.