Interface IParticleGroupDataProvider

All Known Subinterfaces:
IStarGroupDataProvider
All Known Implementing Classes:
AbstractStarGroupDataProvider, BinaryDataProvider, BinaryPointDataProvider, PointDataProvider, SerializedDataProvider, STILDataProvider

public interface IParticleGroupDataProvider
  • Method Details

    • loadData

      List<IParticleRecord> loadData(String file)
      Loads the data as it is.
      Parameters:
      file - The file to load.
      Returns:
      The array of particle records.
    • loadDataMapped

      List<IParticleRecord> loadDataMapped(String file, double factor)
      Loads the data applying a factor using a memory mapped file for improved speed.
      Parameters:
      file - The file to load.
      factor - Factor to apply to the positions.
      Returns:
      The array of particle records.
    • loadData

      List<IParticleRecord> loadData(String file, double factor)
      Loads the data applying a factor.
      Parameters:
      file - The file to load.
      factor - Factor to apply to the positions.
      Returns:
      The array of particle records.
    • loadData

      List<IParticleRecord> loadData(InputStream is, double factor)
      Loads the data applying a factor.
      Parameters:
      is - Input stream to load the data from.
      factor - Factor to apply to the positions.
      Returns:
      The array of particle records.
    • setFileNumberCap

      void setFileNumberCap(int cap)
      Sets a cap on the number of files to load. Set to negative for unlimited.
      Parameters:
      cap - The file cap number.
    • setStarNumberCap

      void setStarNumberCap(int cap)
      Sets the maximum number of stars to be processed per file. Set to negative for unlimited.
      Parameters:
      cap - The star cap number.
    • setProviderParams

      void setProviderParams(Map<String,Object> params)
      Set provider parameters as a map.
      Parameters:
      params - The parameters map.
    • setTransformMatrix

      void setTransformMatrix(Matrix4d matrix)
      Sets a transform matrix to apply to all data points.
      Parameters:
      matrix - The transform matrix.