Package gaiasky.data

Class SceneGraphImplementationProvider

java.lang.Object
gaiasky.data.SceneGraphImplementationProvider
Direct Known Subclasses:
DesktopSceneGraphImplementationProvider

public abstract class SceneGraphImplementationProvider
extends java.lang.Object
Provides the scene graph implementation.
  • Field Summary

    Fields
    Modifier and Type Field Description
    static SceneGraphImplementationProvider provider  
  • Constructor Summary

    Constructors
    Constructor Description
    SceneGraphImplementationProvider()  
  • Method Summary

    Modifier and Type Method Description
    abstract ISceneGraph getImplementation​(boolean multithreading, boolean hasOctree, boolean hasStarGroup, int maxThreads)
    Gets the right scene graph implementation for the given information about it.
    static void initialize​(SceneGraphImplementationProvider provider)  

    Methods inherited from class java.lang.Object

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

  • Constructor Details

    • SceneGraphImplementationProvider

      public SceneGraphImplementationProvider()
  • Method Details

    • initialize

      public static void initialize​(SceneGraphImplementationProvider provider)
    • getImplementation

      public abstract ISceneGraph getImplementation​(boolean multithreading, boolean hasOctree, boolean hasStarGroup, int maxThreads)
      Gets the right scene graph implementation for the given information about it.
      Parameters:
      multithreading - Multithreading on?
      hasOctree - Does it have an octree?
      hasStarGroup - Does it contain a star gorup?
      maxThreads - Max number of threads.
      Returns:
      The scene graph.