Package gaiasky.scenegraph
Class HeliotropicSatellite
java.lang.Object
gaiasky.scenegraph.SceneGraphNode
gaiasky.scenegraph.CelestialBody
gaiasky.scenegraph.ModelBody
gaiasky.scenegraph.Satellite
gaiasky.scenegraph.HeliotropicSatellite
- All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable,I3DTextRenderable,IModelRenderable,IQuadRenderable,IRenderable,IFocus,IStarContainer,IVisibilitySwitch,IPosition
- Direct Known Subclasses:
Gaia
A heliotropic satellite, which maintains the position relative to the sun.
-
Field Summary
FieldsFields inherited from class gaiasky.scenegraph.Satellite
hidden, orientationf, parentOrientation, parentrcFields inherited from class gaiasky.scenegraph.ModelBody
fadeOpacity, inverseRefPlaneTransform, locThresholdLabel, locVaMultiplier, mc, randomize, refPlane, refPlaneTransform, seed, shadow, shadowMapValues, sizeScaleFactor, transformationsFields inherited from class gaiasky.scenegraph.CelestialBody
absmag, appmag, ccPale, colorbv, compalpha, coordinatesTimeOverflow, labelFactor, labelMax, primitiveRenderScale, rc, textScale, thresholdLabel, thresholdNone, thresholdPoint, thresholdQuad, wikinameFields 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 TypeMethodDescriptionvoiddoneLoading(com.badlogic.gdx.assets.AssetManager manager) protected voidforceUpdatePosition(ITimeFrameProvider time, boolean force) Default implementation, only sets the result of the coordinates call to posReturns the orientation quaternion of this focus.voidvoidsetAttitudeLocation(String attitudeLocation) voidsetProvider(String provider) 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, renderText, setHidden, setParentorientation, setSize, setSize, updateLocalTransform, updateLocalValuesMethods inherited from class gaiasky.scenegraph.ModelBody
addHit, addHit, addToRenderLists, dispose, getHeight, getHeight, getHeight, getHeightScale, getInnerRad, getMaterialComponent, getModelComponent, getPositionAboveSurface, getRadius, getSeed, getSize, isRandomizeAtmosphere, isRandomizeCloud, isRandomizeModel, isShadow, labelSizeConcrete, prepareShadowEnvironment, render, render, render, renderTessellated, setLocthoverfactor, setLocThresholdLabel, setLocvamultiplier, setLocViewAngleMultiplier, setModel, setRandomize, setRandomize, setRefplane, setSeed, setSeed, 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, setLabelFactor, setLabelMax, setMag, setPrimitiveRenderScale, setRotation, setTextScale, setThresholdNone, setThresholdPoint, setThresholdQuad, 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, getChildrenByComponentType, getChildrenByType, getColor, getComponentType, getCoordinates, getCt, getDelta, getDescription, getDistToCamera, getFirstStarAncestor, getId, getLabelcolor, getLineCopy, getLocalizedName, getName, getNames, getNext, getNode, getNode, getOctant, getOpacity, getOrientation, getPos, getPosition, getPosition, getPosSph, getPredictedPosition, getRoot, getSceneGraphDepth, getStarCount, getVelocity, getViewAngleApparent, getVisibilityOpacityFactor, hasCt, hasName, hasName, insert, isCopy, isForceLabel, isForceLabel, isInRender, isInRender, 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, setDescription, setForcelabel, setForceLabel, setForceLabel, setId, setLabelcolor, setLabelcolor, setLabelcolor, setName, setName, setNames, setParent, setPos, setUp, setVisible, setVisible, setVisibleGroup, shouldRender, toString, update, update, updateLocalizedName, updateLocalizedNameRecursiveMethods 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, getColor, getCt, getDelta, getDistToCamera, getFirstStarAncestor, getId, getLocalizedName, getName, getNames, getNext, getOctant, getOrientation, getPos, getPosSph, getPredictedPosition, getSceneGraphDepth, getViewAngleApparent, hasName, hasName, isCopyMethods inherited from interface gaiasky.render.IRenderable
getComponentType, getDistToCamera, getOpacity
-
Field Details
-
provider
-
attitudeLocation
-
unrotatedPos
-
-
Constructor Details
-
HeliotropicSatellite
public HeliotropicSatellite()
-
-
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.
-
setProvider
-
setAttitudeLocation
-
getAttitudeServer
-