Class OctreeWrapper
- java.lang.Object
-
- gaia.cu9.ari.gaiaorbit.scenegraph.SceneGraphNode
-
- gaia.cu9.ari.gaiaorbit.scenegraph.AbstractPositionEntity
-
- gaia.cu9.ari.gaiaorbit.scenegraph.FadeNode
-
- gaia.cu9.ari.gaiaorbit.scenegraph.octreewrapper.AbstractOctreeWrapper
-
- gaia.cu9.ari.gaiaorbit.scenegraph.octreewrapper.OctreeWrapper
-
- All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable
,IStarContainer
,IPosition
,java.lang.Iterable<OctreeNode>
public class OctreeWrapper extends AbstractOctreeWrapper
Static Octree wrapper that can be inserted into the scene graph. This implementation is single-threaded.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class gaia.cu9.ari.gaiaorbit.scenegraph.SceneGraphNode
SceneGraphNode.RenderGroup, SceneGraphNode.TLV3, SceneGraphNode.TLV3D
-
-
Field Summary
-
Fields inherited from class gaia.cu9.ari.gaiaorbit.scenegraph.octreewrapper.AbstractOctreeWrapper
copy, lastNumberObjects, parenthood, root, roulette
-
Fields inherited from class gaia.cu9.ari.gaiaorbit.scenegraph.FadeNode
catalogInfo, highlighted, hlci, hlColor, hlColorFloat, hli, inSceneGraph, labelColour, labelPosition
-
Fields inherited from class gaia.cu9.ari.gaiaorbit.scenegraph.AbstractPositionEntity
cc, coordinates, distToCamera, octant, octantId, pos, posSph, size, viewAngle, viewAngleApparent
-
Fields inherited from class gaia.cu9.ari.gaiaorbit.scenegraph.SceneGraphNode
aux3d1, aux3d2, aux3d3, aux3d4, aux3f1, aux3f2, aux3f3, aux3f4, children, computed, ct, id, localTransform, name, namekey, numChildren, opacity, orientation, parent, parentkey, parentName, ROOT_NAME, sg, translation
-
-
Constructor Summary
Constructors Constructor Description OctreeWrapper()
OctreeWrapper(java.lang.String parentName, OctreeNode root)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
updateOctreeObjects(ITimeFrameProvider time, Vector3d parentTransform, ICamera camera)
Runs the update on all the observed and selected octree objects.-
Methods inherited from class gaia.cu9.ari.gaiaorbit.scenegraph.octreewrapper.AbstractOctreeWrapper
add, add, addToRenderLists, containsObject, dispose, getSimpleCopy, getStarCount, highlight, initialize, iterator, removeParenthood, update, update
-
Methods inherited from class gaia.cu9.ari.gaiaorbit.scenegraph.FadeNode
addToRenderLists, doneLoading, getBaseOpacity, getCatalogInfo, highlight, isHighlighted, isVisible, nextHightlightColorIndex, setCataloginfo, setCatalogInfo, setFadein, setFadeout, setLabelcolor, setLabelposition, setPosition, setPositionobjectname, setUp, setVisible, updateLocal, updateLocalValues
-
Methods inherited from class gaia.cu9.ari.gaiaorbit.scenegraph.AbstractPositionEntity
computeFuturePosition, getAbsoluteOrientation, getAbsolutePosition, getAbsolutePosition, getAlpha, getDelta, getDistToCamera, getHeight, getHeight, getHeight, getHeightScale, getNext, getOctant, getPos, getPosition, getPosition, getPosSph, getPredictedPosition, getRadius, getSize, getViewAngle, getViewAngleApparent, isCopy, mustUpdatePosition, render2DLabel, render2DLabel, render2DLabel, render2DLabel, render3DLabel, setColor, setColor, setCoordinates, setSize, setSize
-
Methods inherited from class gaia.cu9.ari.gaiaorbit.scenegraph.SceneGraphNode
add, add, addChild, addChild, addFocusableObjects, addNodes, addToIndex, addToRender, getAggregatedChildren, getChildByName, getChildByNameAndType, getChildrenByType, getComponentType, getCt, getFirstStarAncestor, getId, getLineCopy, getName, getNode, getNode, getOpacity, getOrientation, getRoot, getSceneGraphDepth, getVelocity, insert, isInRender, isInRender, isValidPosition, isVisibilityOn, mustAddToIndex, removeChild, removeFromIndex, removeFromRender, returnToPool, setComputedFlag, setCt, setCt, setId, setName, setNamekey, setParent, setParentkey, toString, updateNames, updateNamesRec
-
-
-
-
Constructor Detail
-
OctreeWrapper
public OctreeWrapper()
-
OctreeWrapper
public OctreeWrapper(java.lang.String parentName, OctreeNode root)
-
-
Method Detail
-
updateOctreeObjects
protected void updateOctreeObjects(ITimeFrameProvider time, Vector3d parentTransform, ICamera camera)
Description copied from class:AbstractOctreeWrapper
Runs the update on all the observed and selected octree objects.- Specified by:
updateOctreeObjects
in classAbstractOctreeWrapper
-
-