Class OctreeGroupLoader
- java.lang.Object
-
- gaia.cu9.ari.gaiaorbit.data.StreamingOctreeLoader
-
- gaia.cu9.ari.gaiaorbit.data.group.OctreeGroupLoader
-
- All Implemented Interfaces:
ISceneGraphLoader
,IObserver
public class OctreeGroupLoader extends StreamingOctreeLoader
Implements the loading and streaming of octree nodes from files. This version loads star groups using theSerializedDataProvider
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class gaia.cu9.ari.gaiaorbit.data.StreamingOctreeLoader
StreamingOctreeLoader.DaemonLoader
-
-
Field Summary
-
Fields inherited from class gaia.cu9.ari.gaiaorbit.data.StreamingOctreeLoader
daemon, description, idxLoadedIds, instance, lastQueueClearMs, LOAD_QUEUE_MAX_SIZE, loadedIds, loadedObjects, loadingPaused, MAX_LOAD_CHUNK, maxLoadedIds, maxLoadedStars, metadata, MIN_QUEUE_CLEAR_MS, name, nLoadedStars, particles, PRELOAD_DEPTH, toLoadQueue, toUnloadQueue
-
-
Constructor Summary
Constructors Constructor Description OctreeGroupLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
loadOctant​(OctreeNode octant, AbstractOctreeWrapper octreeWrapper, boolean fullInit)
Loads the data of the given octantprotected AbstractOctreeWrapper
loadOctreeData()
Loads the nodes and the octree-
Methods inherited from class gaia.cu9.ari.gaiaorbit.data.StreamingOctreeLoader
abortCurrentLoading, addLoadedInfo, addToQueue, addToQueue, clearQueue, emptyLoadQueue, flushLoadedIds, flushLoadQueue, getLoadQueueSize, getNLoadedStars, initialize, loadData, loadLod, loadOctant, loadOctants, notify, queue, setDescription, setName, touch, touchOctant, unloadOctant
-
-
-
-
Method Detail
-
loadOctreeData
protected AbstractOctreeWrapper loadOctreeData()
Description copied from class:StreamingOctreeLoader
Loads the nodes and the octree- Specified by:
loadOctreeData
in classStreamingOctreeLoader
- Returns:
-
loadOctant
public boolean loadOctant​(OctreeNode octant, AbstractOctreeWrapper octreeWrapper, boolean fullInit)
Description copied from class:StreamingOctreeLoader
Loads the data of the given octant- Specified by:
loadOctant
in classStreamingOctreeLoader
- Parameters:
octant
- The octant to load.octreeWrapper
- The octree wrapper.fullInit
- Whether to fully initialise the objects (on-demand load) or not (startup)- Returns:
- True if the octant was loaded, false otherwise
-
-