Package gaiasky.scenegraph
Class Gaia
java.lang.Object
- All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable,I3DTextRenderable,IModelRenderable,IQuadRenderable,IRenderable,IFocus,IStarContainer,IPosition
public class Gaia extends Satellite
Gaia is a special entity, mainly because it has its own camera modes (FoV1/2/1&2, Gaia camera)
-
Field Summary
Fields Modifier and Type Field Description Vector3dunrotatedPosFields inherited from class gaiasky.scenegraph.Satellite
hidden, orientationf, parentOrientation, parentrc, TH_ANGLE_NONE, TH_ANGLE_POINT, TH_ANGLE_QUADFields inherited from class gaiasky.scenegraph.ModelBody
fadeOpacity, inverseRefPlaneTransform, locThOverFactor, locVaMultiplier, mc, refPlane, refPlaneTransform, shadow, shadowMapValues, sizeScaleFactor, transformationsFields inherited from class gaiasky.scenegraph.CelestialBody
absmag, appmag, ccPale, ccTransit, colorbv, compalpha, coordinatesTimeOverflow, rc, TH_OVER_FACTOR, wikinameFields inherited from class gaiasky.scenegraph.SceneGraphNode
aux3d1, aux3d2, aux3d3, aux3d4, aux3f1, aux3f2, aux3f3, aux3f4, cc, children, computed, coordinates, copy, 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 Gaia() -
Method Summary
Modifier and Type Method Description voiddoneLoading(com.badlogic.gdx.assets.AssetManager manager)protected voidforceUpdatePosition(ITimeFrameProvider time, boolean force)Default implementation, only sets the result of the coordinates call to posQuaterniondgetOrientationQuaternion()Returns the orientation quaternion of this focusVector3dgetUnrotatedPos()voidinitialize()voidsetToLocalTransform(float sizeFactor, com.badlogic.gdx.math.Matrix4 localTransform, boolean forceUpdate)Sets the local transform of this satelliteMethods inherited from class gaiasky.scenegraph.Satellite
getFuzzyRenderSize, getRotationComponent, getThOverFactorScl, getViewAnglePow, labelFactor, labelMax, renderText, setHidden, setParentorientation, setSize, setSize, THRESHOLD_NONE, THRESHOLD_POINT, THRESHOLD_QUAD, updateLocalTransform, updateLocalValuesMethods inherited from class gaiasky.scenegraph.ModelBody
addHit, addHit, addToRenderLists, dispose, getHeight, getHeight, getHeight, getHeightScale, getInnerRad, getPositionAboveSurface, getRadius, getSize, getThOverFactor, isShadow, labelSizeConcrete, prepareShadowEnvironment, render, render, render, renderTessellated, setLocthoverfactor, setLocvamultiplier, setModel, setRefplane, setShadowvalues, setSizescalefactor, setToLocalTransform, setTransformations, textScale, updateLocalMethods inherited from class gaiasky.scenegraph.CelestialBody
addFocusableObjects, checkClickDistance, checkHitCondition, computeViewAngle, getAbsmag, getAppmag, getCandidateId, getCandidateName, getCandidateViewAngleApparent, getClosestAbsolutePos, getClosestDistToCamera, getClosestName, getFocus, getPmX, getPmY, getPmZ, getSimpleCopy, getTextOpacity, getViewAngle, getWikiname, hasAtmosphere, isActive, isCoordinatesTimeOverflow, isLabel, isStar, isValidPosition, makeFocus, render, setAbsmag, setAltname, setAppmag, setColor2Data, setColorbv, setMag, setRotation, setWikiname, text, textColour, textDepthBuffer, textPosition, textSizeMethods inherited from class gaiasky.scenegraph.SceneGraphNode
add, add, addChild, addChild, addName, addNodes, addToIndex, addToRender, computeFuturePosition, getAbsoluteOrientation, getAbsolutePosition, getAbsolutePosition, getAggregatedChildren, getAlpha, getChildByName, getChildByNameAndType, getChildrenByType, getComponentType, getCt, getDelta, getDistToCamera, getFirstStarAncestor, getId, getLineCopy, getName, getNames, getNext, getNode, getNode, getOctant, getOpacity, getOrientation, getPos, getPosition, getPosition, getPosSph, getPredictedPosition, getRoot, getSceneGraphDepth, getStarCount, getVelocity, getViewAngleApparent, hasName, hasName, insert, insert, isCopy, isInRender, isInRender, isVisibilityOn, mustAddToIndex, mustUpdatePosition, namesConcat, removeChild, removeFromIndex, removeFromRender, render2DLabel, render2DLabel, render2DLabel, render2DLabel, render3DLabel, render3DLabel, returnToPool, setColor, setColor, setComputedFlag, setCoordinates, setCt, setCt, setId, setLabelcolor, setLabelcolor, setName, setNamekey, setNames, setParent, setParentkey, setUp, toString, update, update, updateNames, updateNamesRecMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface gaiasky.scenegraph.IFocus
getAbsolutePosition, getAbsolutePosition, getAlpha, getCt, getDelta, getDistToCamera, getFirstStarAncestor, getId, getName, getNames, getNext, getOctant, getOrientation, getPos, getPosSph, getPredictedPosition, getSceneGraphDepth, getViewAngleApparent, hasName, hasName, isCopyMethods inherited from interface gaiasky.render.IRenderable
getComponentType, getDistToCamera, getOpacity
-
Field Details
-
unrotatedPos
-
-
Constructor Details
-
Gaia
public Gaia()
-
-
Method Details
-
initialize
public void initialize()- Overrides:
initializein classSatellite
-
doneLoading
public void doneLoading(com.badlogic.gdx.assets.AssetManager manager)- Overrides:
doneLoadingin classSatellite
-
forceUpdatePosition
Description copied from class:SatelliteDefault implementation, only sets the result of the coordinates call to pos- Overrides:
forceUpdatePositionin classSatellite- Parameters:
time- Time to get the coordinatesforce- Whether to force the update
-
getUnrotatedPos
- Overrides:
getUnrotatedPosin classSceneGraphNode
-
setToLocalTransform
public void setToLocalTransform(float sizeFactor, com.badlogic.gdx.math.Matrix4 localTransform, boolean forceUpdate)Description copied from class:SatelliteSets the local transform of this satellite- Overrides:
setToLocalTransformin classSatellite
-
getOrientationQuaternion
Description copied from interface:IFocusReturns the orientation quaternion of this focus- Specified by:
getOrientationQuaternionin interfaceIFocus- Overrides:
getOrientationQuaternionin classCelestialBody- Returns:
- The orientation quaternion. Can be null
-