Class GlobalConf.DataConf

  • All Implemented Interfaces:
    GlobalConf.IConf
    Enclosing class:
    GlobalConf

    public static class GlobalConf.DataConf
    extends java.lang.Object
    implements GlobalConf.IConf
    Holds all configuration values related to data.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String CATALOG_JSON_FILES
      The json file with the catalogue(s) to load
      java.lang.String DATA_LOCATION
      Location of the data folder.
      boolean HIGH_ACCURACY_POSITIONS
      High accuracy positions for planets and moon - use all terms of VSOP87 and moon algorithms
      float LIMIT_MAG_LOAD
      Limit magnitude used for loading stars.
      java.lang.String OBJECTS_JSON_FILES
      The json data file in case of local data source
      boolean REAL_GAIA_ATTITUDE
      Whether to use the real attitude of Gaia or the NSL approximation
      java.lang.String SKYBOX_LOCATION
      Location of the skybox within the data folder (data/tex/skybox/[...]/)
    • Constructor Summary

      Constructors 
      Constructor Description
      DataConf()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String dataFile​(java.lang.String path)  
      com.badlogic.gdx.files.FileHandle dataFileHandle​(java.lang.String path)  
      void initialize​(java.lang.String cATALOG_JSON_FILE, java.lang.String oBJECTS_JSON_FILE, boolean dATA_SOURCE_LOCAL, float lIMIT_MAG_LOAD)  
      void initialize​(java.lang.String cATALOG_JSON_FILE, java.lang.String dATA_JSON_FILE, boolean dATA_SOURCE_LOCAL, float lIMIT_MAG_LOAD, boolean rEAL_GAIA_ATTITUDE)  
      void initialize​(java.lang.String dATA_LOCATION, java.lang.String cATALOG_JSON_FILE, java.lang.String oBJECTS_JSON_FILE, float lIMIT_MAG_LOAD, boolean rEAL_GAIA_ATTITUDE, boolean hIGH_ACCURACY_POSITIONS, java.lang.String sKYBOX_LOCATION)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • DATA_LOCATION

        public java.lang.String DATA_LOCATION
        Location of the data folder. Usually within the '.gaiasky' folder in the user's home directory in Windows and macOS, or in ~/.local/share/gaiasky in Linux
      • OBJECTS_JSON_FILES

        public java.lang.String OBJECTS_JSON_FILES
        The json data file in case of local data source
      • CATALOG_JSON_FILES

        public java.lang.String CATALOG_JSON_FILES
        The json file with the catalogue(s) to load
      • HIGH_ACCURACY_POSITIONS

        public boolean HIGH_ACCURACY_POSITIONS
        High accuracy positions for planets and moon - use all terms of VSOP87 and moon algorithms
      • LIMIT_MAG_LOAD

        public float LIMIT_MAG_LOAD
        Limit magnitude used for loading stars. All stars above this magnitude will not even be loaded by the sandbox.
      • REAL_GAIA_ATTITUDE

        public boolean REAL_GAIA_ATTITUDE
        Whether to use the real attitude of Gaia or the NSL approximation
      • SKYBOX_LOCATION

        public java.lang.String SKYBOX_LOCATION
        Location of the skybox within the data folder (data/tex/skybox/[...]/)
    • Constructor Detail

      • DataConf

        public DataConf()
    • Method Detail

      • initialize

        public void initialize​(java.lang.String dATA_LOCATION,
                               java.lang.String cATALOG_JSON_FILE,
                               java.lang.String oBJECTS_JSON_FILE,
                               float lIMIT_MAG_LOAD,
                               boolean rEAL_GAIA_ATTITUDE,
                               boolean hIGH_ACCURACY_POSITIONS,
                               java.lang.String sKYBOX_LOCATION)
      • initialize

        public void initialize​(java.lang.String cATALOG_JSON_FILE,
                               java.lang.String oBJECTS_JSON_FILE,
                               boolean dATA_SOURCE_LOCAL,
                               float lIMIT_MAG_LOAD)
      • initialize

        public void initialize​(java.lang.String cATALOG_JSON_FILE,
                               java.lang.String dATA_JSON_FILE,
                               boolean dATA_SOURCE_LOCAL,
                               float lIMIT_MAG_LOAD,
                               boolean rEAL_GAIA_ATTITUDE)
      • dataFile

        public java.lang.String dataFile​(java.lang.String path)
      • dataFileHandle

        public com.badlogic.gdx.files.FileHandle dataFileHandle​(java.lang.String path)