Class BillboardDataset

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

public class BillboardDataset extends Object
  • Field Details

    • file

      public String file
    • fileUnpack

      public String fileUnpack
    • data

      public List<IParticleRecord> data
    • type

    • layers

      public int[] layers
    • completion

      public float[] completion
    • 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)
    • setCompletion

      public void setCompletion(Double completion)
      Sets the completion rate to skip particles, in [0..1].
      Parameters:
      completion - The completion rate, applied to all graphics qualities.
    • setCompletion

      public void setCompletion(double[] completion)
      Sets the completion rate array per graphics quality.
      Parameters:
      completion - Array with the completion rate for each quality setting.
    • setDepthMask

      public void setDepthMask(Boolean depthMask)
    • setDepthmask

      public void setDepthmask(Boolean depthMask)
    • setBlending

      public void setBlending(String blending)
    • setMaxSize

      public void setMaxSize(Double maxSize)
      Set 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.
    • setMaxsize

      @Deprecated public void setMaxsize(Double maxSize)
      Deprecated.
      Use setMaxSize(Double) instead.
      Parameters:
      maxSize - The maximum size in degrees.
    • setMaxSizes

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

      @Deprecated public void setMaxsizes(double[] maxSizes)
      Deprecated.
      Parameters:
      maxSizes - The maximum size per graphics quality, in degrees.