Package gaiasky.scenegraph.octreewrapper
Class OctreeWrapper
java.lang.Object
gaiasky.scenegraph.SceneGraphNode
gaiasky.scenegraph.FadeNode
gaiasky.scenegraph.octreewrapper.AbstractOctreeWrapper
gaiasky.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.
-
Field Summary
Fields inherited from class gaiasky.scenegraph.octreewrapper.AbstractOctreeWrapper
copy, lastNumberObjects, parenthood, root, rouletteFields inherited from class gaiasky.scenegraph.FadeNode
catalogInfo, currentDistance, highlighted, hlc, hlcma, hlcmi, hlcmmax, hlcmmin, hlplain, inSceneGraph, labelcolor, labelPositionFields inherited from class gaiasky.scenegraph.SceneGraphNode
aux3d1, aux3d2, aux3d3, aux3d4, aux3f1, aux3f2, aux3f3, aux3f4, cc, children, computed, coordinates, ct, distToCamera, id, localTransform, namekey, names, numChildren, octant, octantId, opacity, orientation, parent, parentkey, parentName, pos, posSph, ROOT_NAME, sg, size, translation, viewAngle, viewAngleApparent -
Constructor Summary
Constructors Constructor Description OctreeWrapper()OctreeWrapper(java.lang.String parentName, OctreeNode root) -
Method Summary
Modifier and Type Method Description protected voidupdateOctreeObjects(ITimeFrameProvider time, Vector3d parentTransform, ICamera camera)Runs the update on all the observed and selected octree objects.Methods inherited from class gaiasky.scenegraph.octreewrapper.AbstractOctreeWrapper
add, add, addToRenderLists, containsObject, dispose, getSimpleCopy, getStarCount, highlight, highlight, initialize, iterator, removeParenthood, update, updateMethods inherited from class gaiasky.scenegraph.FadeNode
addToRenderLists, doneLoading, getBaseOpacity, getCatalogInfo, getHlcma, getHlcmi, getHlcmmax, getHlcmmin, isHighlighted, isHlplain, isVisible, setCataloginfo, setCatalogInfo, setCatalogInfoBare, setFadein, setFadeout, setLabelcolor, setLabelcolor, setLabelposition, setPosition, setPositionobjectname, setSize, setSize, setUp, setVisible, 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, getChildrenByType, getComponentType, getCt, getDelta, getDistToCamera, getFirstStarAncestor, getHeight, getHeight, getHeight, getHeightScale, getId, getLineCopy, getName, getNames, getNext, getNode, getNode, getOctant, getOpacity, getOrientation, getPos, getPosition, getPosition, getPosSph, getPredictedPosition, getRadius, getRoot, getSceneGraphDepth, getSize, getUnrotatedPos, getVelocity, getViewAngle, getViewAngleApparent, hasName, hasName, insert, insert, isCopy, isInRender, isInRender, isValidPosition, isVisibilityOn, mustAddToIndex, mustUpdatePosition, namesConcat, removeChild, removeFromIndex, removeFromRender, render2DLabel, render2DLabel, render2DLabel, render2DLabel, render3DLabel, render3DLabel, returnToPool, setColor, setColor, setComputedFlag, setCoordinates, setCt, setCt, setId, setName, setNamekey, setNames, setParent, setParentkey, toString, updateNames, updateNamesRecMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
OctreeWrapper
public OctreeWrapper() -
OctreeWrapper
-
-
Method Details
-
updateOctreeObjects
protected void updateOctreeObjects(ITimeFrameProvider time, Vector3d parentTransform, ICamera camera)Description copied from class:AbstractOctreeWrapperRuns the update on all the observed and selected octree objects.- Specified by:
updateOctreeObjectsin classAbstractOctreeWrapper
-