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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class gaia.cu9.ari.gaiaorbit.scenegraph.SceneGraphNode
SceneGraphNode.RenderGroup, SceneGraphNode.TLV3, SceneGraphNode.TLV3D
-
-
Field Summary
Fields Modifier and Type Field Description Vector3d
unrotatedPos
-
Fields inherited from class gaia.cu9.ari.gaiaorbit.scenegraph.Satellite
hidden, orientationf, parentOrientation, parentrc, TH_ANGLE_NONE, TH_ANGLE_POINT, TH_ANGLE_QUAD
-
Fields inherited from class gaia.cu9.ari.gaiaorbit.scenegraph.ModelBody
fadeOpacity, inverseRefPlaneTransform, locThOverFactor, locVaMultiplier, mc, refPlane, refPlaneTransform, shadow, shadowMapValues, sizeScaleFactor, transformations, wikiname
-
Fields inherited from class gaia.cu9.ari.gaiaorbit.scenegraph.CelestialBody
absmag, appmag, ccPale, ccTransit, colorbv, compalpha, coordinatesTimeOverflow, lastTransitIncrease, rc, TH_OVER_FACTOR, transits
-
Fields inherited from class gaia.cu9.ari.gaiaorbit.scenegraph.AbstractPositionEntity
cc, coordinates, copy, 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 Gaia()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doneLoading(com.badlogic.gdx.assets.AssetManager manager)
protected void
forceUpdatePosition(ITimeFrameProvider time, boolean force)
Default implementation, only sets the result of the coordinates call to posQuaterniond
getOrientationQuaternion()
Returns the orientation quaternion of this focusvoid
initialize()
void
setToLocalTransform(float sizeFactor, com.badlogic.gdx.math.Matrix4 localTransform, boolean forceUpdate)
Sets the local transform of this satellite-
Methods inherited from class gaia.cu9.ari.gaiaorbit.scenegraph.Satellite
getFuzzyRenderSize, getRotationComponent, getThOverFactorScl, getViewAnglePow, labelFactor, labelMax, renderText, setHidden, setParentorientation, THRESHOLD_NONE, THRESHOLD_POINT, THRESHOLD_QUAD, updateLocalTransform, updateLocalValues
-
Methods inherited from class gaia.cu9.ari.gaiaorbit.scenegraph.ModelBody
addHit, addToRenderLists, dispose, getHeight, getHeight, getHeight, getHeightScale, getInnerRad, getPositionAboveSurface, getRadius, getSize, getThOverFactor, getWikiname, isShadow, labelSizeConcrete, prepareShadowEnvironment, render, render, render, renderTessellated, setLocthoverfactor, setLocvamultiplier, setModel, setRefplane, setShadowvalues, setSizescalefactor, setToLocalTransform, setTransformations, setWikiname, textScale, updateLocal, withinMagLimit
-
Methods inherited from class gaia.cu9.ari.gaiaorbit.scenegraph.CelestialBody
addFocusableObjects, addToIndex, checkClickDistance, checkHitCondition, computeViewAngle, getAbsmag, getAltname, getAppmag, getCandidateId, getCandidateName, getCandidateViewAngleApparent, getFocus, getPmX, getPmY, getPmZ, getSimpleCopy, getTextOpacity, getViewAngle, hasAtmosphere, isActive, isCoordinatesTimeOverflow, isLabel, isStar, isValidPosition, makeFocus, removeFromIndex, render, setAbsmag, setAltname, setAppmag, setColor2Data, setMag, setRotation, setSize, text, textColour, textDepthBuffer, textPosition, textSize, timeCondition, update, updateTransitNumber
-
Methods inherited from class gaia.cu9.ari.gaiaorbit.scenegraph.AbstractPositionEntity
computeFuturePosition, getAbsoluteOrientation, getAbsolutePosition, getAbsolutePosition, getAlpha, getDelta, getDistToCamera, getNext, getOctant, getPos, getPosition, getPosition, getPosSph, getPredictedPosition, getViewAngleApparent, isCopy, mustUpdatePosition, render2DLabel, render2DLabel, render2DLabel, render2DLabel, render3DLabel, setColor, setColor, setCoordinates, setSize
-
Methods inherited from class gaia.cu9.ari.gaiaorbit.scenegraph.SceneGraphNode
add, add, addChild, addChild, addNodes, addToRender, getAggregatedChildren, getChildByName, getChildByNameAndType, getChildrenByType, getComponentType, getCt, getFirstStarAncestor, getId, getLineCopy, getName, getNode, getNode, getOpacity, getOrientation, getRoot, getSceneGraphDepth, getStarCount, getVelocity, insert, isInRender, isInRender, isVisibilityOn, mustAddToIndex, removeChild, removeFromRender, returnToPool, setComputedFlag, setCt, setCt, setId, setName, setNamekey, setParent, setParentkey, setUp, toString, update, updateNames, updateNamesRec
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface gaia.cu9.ari.gaiaorbit.scenegraph.IFocus
getAbsolutePosition, getAbsolutePosition, getAlpha, getCt, getDelta, getDistToCamera, getFirstStarAncestor, getId, getName, getNext, getOctant, getOrientation, getPos, getPosSph, getPredictedPosition, getSceneGraphDepth, getViewAngleApparent, isCopy
-
Methods inherited from interface gaia.cu9.ari.gaiaorbit.render.IRenderable
getComponentType, getDistToCamera, getOpacity
-
-
-
-
Field Detail
-
unrotatedPos
public Vector3d unrotatedPos
-
-
Method Detail
-
initialize
public void initialize()
- Overrides:
initialize
in classSatellite
-
doneLoading
public void doneLoading(com.badlogic.gdx.assets.AssetManager manager)
- Overrides:
doneLoading
in classSatellite
-
forceUpdatePosition
protected void forceUpdatePosition(ITimeFrameProvider time, boolean force)
Description copied from class:Satellite
Default implementation, only sets the result of the coordinates call to pos- Overrides:
forceUpdatePosition
in classSatellite
- Parameters:
time
- Time to get the coordinatesforce
- Whether to force the update
-
setToLocalTransform
public void setToLocalTransform(float sizeFactor, com.badlogic.gdx.math.Matrix4 localTransform, boolean forceUpdate)
Description copied from class:Satellite
Sets the local transform of this satellite- Overrides:
setToLocalTransform
in classSatellite
-
getOrientationQuaternion
public Quaterniond getOrientationQuaternion()
Description copied from interface:IFocus
Returns the orientation quaternion of this focus- Specified by:
getOrientationQuaternion
in interfaceIFocus
- Overrides:
getOrientationQuaternion
in classCelestialBody
- Returns:
- The orientation quaternion. Can be null
-
-