Package gaiasky.scenegraph
Class OrbitalElementsGroup
java.lang.Object
gaiasky.scenegraph.SceneGraphNode
gaiasky.scenegraph.FadeNode
gaiasky.scenegraph.GenericCatalog
gaiasky.scenegraph.OrbitalElementsGroup
- All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable,IObserver,IFadeObject,IRenderable,IStarContainer,IVisibilitySwitch,IPosition
This class acts as a group of orbital element objects.
It compiles the orbit objects which are only-body and those which are not, and
updates them accordingly to reduce CPU calls.
-
Field Summary
Fields inherited from class gaiasky.scenegraph.GenericCatalog
datafile, description, ds, objects, providerFields inherited from class gaiasky.scenegraph.FadeNode
catalogInfo, currentDistance, highlighted, hlallvisible, hlc, hlcma, hlcmi, hlcmmax, hlcmmin, hlplain, initialUpdate, inSceneGraph, labelPosition, pointscaling, positionFields inherited from class gaiasky.scenegraph.SceneGraphNode
B31, B32, B33, B34, cc, children, computed, coordinates, copy, ct, D31, D32, D33, D34, distToCamera, F31, F32, F33, F34, forceLabel, id, labelcolor, lastStateChangeTimeMs, localizedNameIndex, localTransform, names, numChildren, octant, octantId, opacity, orientation, parent, parentName, pos, posSph, ROOT_NAME, size, translation, viewAngle, viewAngleApparent, visible -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddToRenderLists(ICamera camera) Adds this entity to the necessary render lists after the distance to the camera and the view angle have been determined.voiddispose()voiddoneLoading(com.badlogic.gdx.assets.AssetManager manager) voidhighlight(boolean hl, float[] color, boolean allVisible) Highlight using a plain colorvoidvoidEvent notification call.voidupdate(ITimeFrameProvider time, Vector3b parentTransform, ICamera camera, float opacity) Methods inherited from class gaiasky.scenegraph.GenericCatalog
getDatafile, getDescription, getProvider, initialize, initialize, setDatafile, setDataSource, setDescription, setProvider, setUpMethods inherited from class gaiasky.scenegraph.FadeNode
getBaseOpacity, getCatalogInfo, getFadeIn, getFadeOut, getHlcma, getHlcmi, getHlcmmax, getHlcmmin, getPointscaling, highlight, initializeCatalogInfo, isHighlighted, isHlAllVisible, isHlplain, setCataloginfo, setCatalogInfo, setCatalogInfoBare, setFadein, setFadeIn, setFadeout, setFadeOut, setLabelposition, setPointscaling, setPosition, setPosition, setPositionobjectname, setSize, setSize, updateLocal, updateLocalValues, updateOpacityMethods inherited from class gaiasky.scenegraph.SceneGraphNode
add, add, addChild, addChild, addFocusableObjects, addName, addNodes, addToIndex, addToRender, computeFuturePosition, getAbsoluteOrientation, getAbsolutePosition, getAbsolutePosition, getAggregatedChildren, getAlpha, getChildByName, getChildByNameAndType, getChildrenByComponentType, getChildrenByType, getColor, getComponentType, getCoordinates, getCt, getDelta, getDistToCamera, getFirstStarAncestor, getHeight, getHeight, getHeight, getHeightScale, getId, getLabelcolor, getLineCopy, getLocalizedName, getName, getNames, getNext, getNode, getNode, getOctant, getOpacity, getOrientation, getPos, getPosition, getPosition, getPosSph, getPredictedPosition, getRadius, getRoot, getSceneGraphDepth, getSimpleCopy, getSize, getStarCount, getUnrotatedPos, getVelocity, getViewAngle, getViewAngleApparent, getVisibilityOpacityFactor, hasCt, hasName, hasName, insert, isCopy, isForceLabel, isForceLabel, isInRender, isInRender, isValidPosition, isVisibilityOn, isVisible, isVisible, isVisible, isVisibleGroup, isVisibleGroup, msSinceStateChange, mustAddToIndex, mustUpdatePosition, namesConcat, removeChild, removeFromIndex, removeFromRender, render2DLabel, render2DLabel, render2DLabel, render2DLabel, render3DLabel, render3DLabel, returnToPool, setColor, setColor, setComputedFlag, setCoordinates, setCt, setCt, setForcelabel, setForceLabel, setForceLabel, setId, setLabelcolor, setLabelcolor, setLabelcolor, setName, setName, setNames, setParent, setPos, setVisible, setVisible, setVisibleGroup, shouldRender, toString, update, updateLocalizedName, updateLocalizedNameRecursiveMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface gaiasky.render.IRenderable
getComponentType, getDistToCamera, getOpacity
-
Constructor Details
-
OrbitalElementsGroup
public OrbitalElementsGroup()
-
-
Method Details
-
doneLoading
public void doneLoading(com.badlogic.gdx.assets.AssetManager manager) - Overrides:
doneLoadingin classGenericCatalog
-
addToRenderLists
Description copied from class:SceneGraphNodeAdds this entity to the necessary render lists after the distance to the camera and the view angle have been determined.- Overrides:
addToRenderListsin classFadeNode
-
update
public void update(ITimeFrameProvider time, Vector3b parentTransform, ICamera camera, float opacity) -
markForUpdate
public void markForUpdate() -
highlight
public void highlight(boolean hl, float[] color, boolean allVisible) Description copied from class:FadeNodeHighlight using a plain color -
dispose
public void dispose()- Specified by:
disposein interfacecom.badlogic.gdx.utils.Disposable- Overrides:
disposein classSceneGraphNode
-
notify
Description copied from interface:IObserverEvent notification call.
-