Package gaia.cu9.ari.gaiaorbit.data
Class SceneGraphImplementationProvider
- java.lang.Object
-
- gaia.cu9.ari.gaiaorbit.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
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods 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 itstatic void
initialize(SceneGraphImplementationProvider provider)
-
-
-
Field Detail
-
provider
public static SceneGraphImplementationProvider provider
-
-
Method Detail
-
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
-
-