Class SphericalGrid
- 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.BackgroundModel
-
- gaia.cu9.ari.gaiaorbit.scenegraph.SphericalGrid
-
- All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable
,I3DTextRenderable
,IAnnotationsRenderable
,IModelRenderable
,IRenderable
,IStarContainer
,IPosition
public class SphericalGrid extends BackgroundModel implements IAnnotationsRenderable
A spherical grid
-
-
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 ModelComponent
mc
-
Fields inherited from class gaia.cu9.ari.gaiaorbit.scenegraph.BackgroundModel
transformName
-
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, 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 SphericalGrid()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addToRenderLists(ICamera camera)
Adds this entity to the necessary render lists after the distance to the camera and the view angle have been determined.void
doneLoading(com.badlogic.gdx.assets.AssetManager manager)
void
render(ExtSpriteBatch spriteBatch, ICamera camera, BitmapFont font, float alpha)
Annotation rendering-
Methods inherited from class gaia.cu9.ari.gaiaorbit.scenegraph.BackgroundModel
getTextOpacity, hasAtmosphere, initialize, isLabel, render, render, renderText, setLabel, setLabel2d, setModel, setRendergroup, setSize, setSize, setTransformName, text, textColour, textDepthBuffer, textPosition, textScale, textSize, updateLocalValues
-
Methods inherited from class gaia.cu9.ari.gaiaorbit.scenegraph.FadeNode
getBaseOpacity, getCatalogInfo, highlight, highlight, isHighlighted, isVisible, nextHightlightColorIndex, setCataloginfo, setCatalogInfo, setFadein, setFadeout, setLabelcolor, setLabelposition, setPosition, setPositionobjectname, setUp, setVisible, update, updateLocal
-
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, getSimpleCopy, getSize, getViewAngle, getViewAngleApparent, isCopy, mustUpdatePosition, render2DLabel, render2DLabel, render2DLabel, render2DLabel, render3DLabel, setColor, setColor, setCoordinates
-
Methods inherited from class gaia.cu9.ari.gaiaorbit.scenegraph.SceneGraphNode
add, add, addChild, addChild, addFocusableObjects, addNodes, addToIndex, addToRender, dispose, getAggregatedChildren, getChildByName, getChildByNameAndType, getChildrenByType, getComponentType, getCt, getFirstStarAncestor, getId, getLineCopy, getName, getNode, getNode, getOpacity, getOrientation, getRoot, getSceneGraphDepth, getStarCount, getVelocity, insert, isInRender, isInRender, isValidPosition, isVisibilityOn, mustAddToIndex, removeChild, removeFromIndex, removeFromRender, returnToPool, setComputedFlag, setCt, setCt, setId, setName, setNamekey, setParent, setParentkey, 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.render.IRenderable
getComponentType, getDistToCamera, getOpacity
-
-
-
-
Field Detail
-
mc
public ModelComponent mc
-
-
Method Detail
-
doneLoading
public void doneLoading(com.badlogic.gdx.assets.AssetManager manager)
- Overrides:
doneLoading
in classBackgroundModel
-
addToRenderLists
protected void addToRenderLists(ICamera camera)
Description copied from class:AbstractPositionEntity
Adds this entity to the necessary render lists after the distance to the camera and the view angle have been determined.- Overrides:
addToRenderLists
in classBackgroundModel
-
render
public void render(ExtSpriteBatch spriteBatch, ICamera camera, BitmapFont font, float alpha)
Annotation rendering- Specified by:
render
in interfaceIAnnotationsRenderable
-
-