Package gaiasky.util

Class SlaveManager

java.lang.Object
gaiasky.util.SlaveManager

public class SlaveManager
extends java.lang.Object
Manages a slave instance configured with an MPCDI file.
  • Field Summary

    Fields
    Modifier and Type Field Description
    java.nio.file.Path blend  
    java.lang.String bufferId  
    float cameraFov  
    float downAngle  
    static SlaveManager instance  
    float leftAngle  
    java.nio.file.Path pfm  
    float pitch  
    java.lang.String regionId  
    float rightAngle  
    float roll  
    float upAngle  
    int xResolution  
    float yaw  
    int yResolution  
  • Constructor Summary

    Constructors
    Constructor Description
    SlaveManager()  
  • Method Summary

    Modifier and Type Method Description
    static void initialize()  
    boolean isWarpOrBlend()  
    static void load​(com.badlogic.gdx.assets.AssetManager manager)  
    void loadAssets​(com.badlogic.gdx.assets.AssetManager manager)  
    static boolean projectionActive()
    Checks if a special projection is active in this slave (yaw/pitch/roll, etc.)

    Methods inherited from class java.lang.Object

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

    • instance

      public static SlaveManager instance
    • bufferId

      public java.lang.String bufferId
    • regionId

      public java.lang.String regionId
    • pfm

      public java.nio.file.Path pfm
    • blend

      public java.nio.file.Path blend
    • xResolution

      public int xResolution
    • yResolution

      public int yResolution
    • yaw

      public float yaw
    • pitch

      public float pitch
    • roll

      public float roll
    • upAngle

      public float upAngle
    • downAngle

      public float downAngle
    • rightAngle

      public float rightAngle
    • leftAngle

      public float leftAngle
    • cameraFov

      public float cameraFov
  • Constructor Details

    • SlaveManager

      public SlaveManager()
  • Method Details

    • initialize

      public static void initialize()
    • projectionActive

      public static boolean projectionActive()
      Checks if a special projection is active in this slave (yaw/pitch/roll, etc.)
      Returns:
      True if a special projection is active
    • load

      public static void load​(com.badlogic.gdx.assets.AssetManager manager)
    • isWarpOrBlend

      public boolean isWarpOrBlend()
    • loadAssets

      public void loadAssets​(com.badlogic.gdx.assets.AssetManager manager)