Package gaiasky.data
Class AbstractSceneLoader
java.lang.Object
gaiasky.data.AbstractSceneLoader
- All Implemented Interfaces:
ISceneLoader
- Direct Known Subclasses:
GeoJsonLoader
,JsonLoader
,OctreeLoader
,StarClusterLoader
Abstract implementation of
ISceneLoader
, which contains some common utilities to all implementers.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize
(String[] files, Scene scene) void
initialize
(String[] files, String dsLocation, Scene scene) void
initialize
(uk.ac.starlink.util.DataSource dataSource, Scene scene) void
void
setParentName
(String parentName) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface gaiasky.data.api.ISceneLoader
loadData, setDescription, setName, setParams
-
Field Details
-
filePaths
-
dataSource
protected uk.ac.starlink.util.DataSource dataSource -
datasetDirectory
-
scene
-
loggedArchetypes
-
parentName
-
index
-
-
Constructor Details
-
AbstractSceneLoader
public AbstractSceneLoader()
-
-
Method Details
-
initialize
- Specified by:
initialize
in interfaceISceneLoader
- Throws:
RuntimeException
-
initialize
- Specified by:
initialize
in interfaceISceneLoader
- Throws:
RuntimeException
-
initialize
- Specified by:
initialize
in interfaceISceneLoader
-
setParentName
-
setIndex
- Specified by:
setIndex
in interfaceISceneLoader
-