Package gaiasky.data

Class SceneGraphImplementationProvider

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

public abstract class SceneGraphImplementationProvider extends Object
Provides the scene graph implementation.
  • 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, int numNodes)
      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 group?
      maxThreads - Max number of threads.
      numNodes - Initial number of nodes.
      Returns:
      The scene graph.