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 SceneGraphImplementationProviderprovider -
Constructor Summary
Constructors Constructor Description SceneGraphImplementationProvider() -
Method Summary
Modifier and Type Method Description abstract ISceneGraphgetImplementation(boolean multithreading, boolean hasOctree, boolean hasStarGroup, int maxThreads)Gets the right scene graph implementation for the given information about itstatic voidinitialize(SceneGraphImplementationProvider provider)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
provider
-
-
Constructor Details
-
SceneGraphImplementationProvider
public SceneGraphImplementationProvider()
-
-
Method Details
-
initialize
-
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
-