Package gaiasky.data
Class DesktopSceneGraphImplementationProvider
java.lang.Object
gaiasky.data.SceneGraphImplementationProvider
gaiasky.data.DesktopSceneGraphImplementationProvider
-
Field Summary
Fields inherited from class gaiasky.data.SceneGraphImplementationProvider
provider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetImplementation(boolean multithreading, boolean hasOctree, boolean hasStarGroup, int maxThreads, int numNodes)
Gets the right scene graph implementation for the given information about it.Methods inherited from class gaiasky.data.SceneGraphImplementationProvider
initialize
-
Constructor Details
-
DesktopSceneGraphImplementationProvider
public DesktopSceneGraphImplementationProvider()
-
-
Method Details
-
getImplementation
public ISceneGraph getImplementation(boolean multithreading, boolean hasOctree, boolean hasStarGroup, int maxThreads, int numNodes)Description copied from class:SceneGraphImplementationProvider
Gets the right scene graph implementation for the given information about it.- Specified by:
getImplementation
in classSceneGraphImplementationProvider
- 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.
-