Class Star
- java.lang.Object
-
- All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable
,I3DTextRenderable
,ILineRenderable
,IModelRenderable
,IQuadRenderable
,IRenderable
,IFocus
,IProperMotion
,IStarContainer
,IStarFocus
,IPosition
public class Star extends Particle
Deprecated.Move Sun to star vgroupRepresents a single star. Currently only the Sun uses this class.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class gaia.cu9.ari.gaiaorbit.scenegraph.Particle
Particle.ParamUpdater
-
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 int
hip
Deprecated.HIP number, negative if non existentjava.lang.String
tycho
Deprecated.TYCHO2 identifier string-
Fields inherited from class gaia.cu9.ari.gaiaorbit.scenegraph.Particle
catalogSource, computedSize, fovFactor, innerRad, paramUpdater, pm, pmSph, renderOn, thdownOverFovfactor, thpointTimesFovfactor, thupOverFovfactor
-
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 Star()
Deprecated.Star(Vector3d pos, float appmag, float absmag, float colorbv, java.lang.String name, float ra, float dec, long starid)
Deprecated.Creates a new Star objectStar(Vector3d pos, float appmag, float absmag, float colorbv, java.lang.String name, float ra, float dec, long starid, int hip, byte source)
Deprecated.Creates a new Star objectStar(Vector3d pos, float appmag, float absmag, float colorbv, java.lang.String name, float ra, float dec, long starid, int hip, java.lang.String tycho, byte source)
Deprecated.Creates a new Star objectStar(Vector3d pos, float appmag, float absmag, float colorbv, java.lang.String name, long starid)
Deprecated.Star(Vector3d pos, com.badlogic.gdx.math.Vector3 pm, com.badlogic.gdx.math.Vector3 pmSph, float appmag, float absmag, float colorbv, java.lang.String name, float ra, float dec, long starid)
Deprecated.Creates a new Star objectStar(Vector3d pos, com.badlogic.gdx.math.Vector3 pm, com.badlogic.gdx.math.Vector3 pmSph, float appmag, float absmag, float colorbv, java.lang.String name, float ra, float dec, long starid, int hip, java.lang.String tycho, byte source)
Deprecated.Creates a new Star object
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addHit(int screenX, int screenY, int w, int h, int minPixDist, NaturalCamera camera, com.badlogic.gdx.utils.Array<IFocus> hits)
Deprecated.Adds this focus to the hits list if it is hit by the [screenX, screenY] positionprotected void
addToIndex(com.badlogic.gdx.utils.ObjectMap<java.lang.String,SceneGraphNode> map)
Deprecated.Special actions to be taken for this object when adding to the index.protected void
addToRenderLists(ICamera camera)
Deprecated.Adds this entity to the necessary render lists after the distance to the camera and the view angle have been determined.protected double
computeViewAngle(float fovFactor)
Deprecated.void
doneLoading(com.badlogic.gdx.assets.AssetManager manager)
Deprecated.int
getHip()
Deprecated.Returns the HIP number of this star, or negative if it has no HIP numberdouble
getPmX()
Deprecated.double
getPmY()
Deprecated.double
getPmZ()
Deprecated.void
initialize()
Deprecated.static void
initModel()
Deprecated.protected void
removeFromIndex(com.badlogic.gdx.utils.ObjectMap<java.lang.String,SceneGraphNode> map)
Deprecated.Special actions to be taken for this object when removing from the index.void
render(IntModelBatch modelBatch, float alpha, double t, RenderingContext rc)
Deprecated.Model renderingjava.lang.String
toString()
Deprecated.-
Methods inherited from class gaia.cu9.ari.gaiaorbit.scenegraph.Particle
addToRender, checkHitCondition, getCatalogSource, getClosestAbsolutePos, getClosestCol, getClosestDistToCamera, getClosestName, getClosestPos, getClosestSize, getFuzzyRenderSize, getGlType, getInnerRad, getLineWidth, getMuAlpha, getMuDelta, getRadialVelocity, getRadius, getSimpleCopy, getStarCount, getThOverFactorScl, isStar, labelFactor, labelMax, labelSizeConcrete, render, renderText, setDerivedAttributes, setRGB, textScale, THRESHOLD_NONE, THRESHOLD_POINT, THRESHOLD_QUAD, update, update, updateLocalValues
-
Methods inherited from class gaia.cu9.ari.gaiaorbit.scenegraph.CelestialBody
addFocusableObjects, addHit, checkClickDistance, getAbsmag, getAltname, getAppmag, getCandidateId, getCandidateName, getCandidateViewAngleApparent, getFocus, getOrientationQuaternion, getRotationComponent, getTextOpacity, getThOverFactor, getViewAngle, getViewAnglePow, hasAtmosphere, isActive, isCoordinatesTimeOverflow, isLabel, isValidPosition, makeFocus, render, render, setAbsmag, setAltname, setAppmag, setColor2Data, setMag, setRotation, setSize, text, textColour, textDepthBuffer, textPosition, textSize, timeCondition, updateTransitNumber, withinMagLimit
-
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, getSize, getViewAngleApparent, isCopy, mustUpdatePosition, render2DLabel, render2DLabel, render2DLabel, render2DLabel, render3DLabel, setColor, setColor, setCoordinates, setSize, updateLocal
-
Methods inherited from class gaia.cu9.ari.gaiaorbit.scenegraph.SceneGraphNode
add, add, addChild, addChild, addNodes, dispose, getAggregatedChildren, getChildByName, getChildByNameAndType, getChildrenByType, getComponentType, getCt, getFirstStarAncestor, getId, getLineCopy, getName, getNode, getNode, getOpacity, getOrientation, getRoot, getSceneGraphDepth, getVelocity, insert, isInRender, isInRender, isVisibilityOn, mustAddToIndex, removeChild, removeFromRender, returnToPool, setComputedFlag, setCt, setCt, setId, setName, setNamekey, setParent, setParentkey, setUp, 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
addHit, getAbsmag, getAbsolutePosition, getAbsolutePosition, getAlpha, getAppmag, getCandidateId, getCandidateName, getCandidateViewAngleApparent, getCt, getDelta, getDistToCamera, getFirstStarAncestor, getFocus, getHeight, getHeight, getHeight, getHeightScale, getName, getNext, getOctant, getOrientation, getOrientationQuaternion, getPos, getPosSph, getPredictedPosition, getRotationComponent, getSceneGraphDepth, getSize, getViewAngle, getViewAngleApparent, isActive, isCoordinatesTimeOverflow, isCopy, makeFocus, withinMagLimit
-
Methods inherited from interface gaia.cu9.ari.gaiaorbit.render.IRenderable
getComponentType, getDistToCamera, getOpacity
-
Methods inherited from interface gaia.cu9.ari.gaiaorbit.scenegraph.IStarFocus
getId
-
-
-
-
Constructor Detail
-
Star
public Star()
Deprecated.
-
Star
public Star(Vector3d pos, float appmag, float absmag, float colorbv, java.lang.String name, long starid)
Deprecated.
-
Star
public Star(Vector3d pos, float appmag, float absmag, float colorbv, java.lang.String name, float ra, float dec, long starid)
Deprecated.Creates a new Star object- Parameters:
pos
- The position of the star in equatorial cartesian coordinatesappmag
- The apparent magnitudeabsmag
- The absolute magnitudecolorbv
- The B-V color indexname
- The proper name of the star, if anyra
- in degreesdec
- in degreesstarid
- The star id
-
Star
public Star(Vector3d pos, float appmag, float absmag, float colorbv, java.lang.String name, float ra, float dec, long starid, int hip, byte source)
Deprecated.Creates a new Star object- Parameters:
pos
- The position of the star in equatorial cartesian coordinatesappmag
- The apparent magnitudeabsmag
- The absolute magnitudecolorbv
- The B-V color indexname
- The proper name of the star, if anyra
- in degreesdec
- in degreesstarid
- The star idhip
- The HIP identifiersource
- Catalog source. 1: Gaia, 2: HIP, 3: TYC, -1: Unknown
-
Star
public Star(Vector3d pos, com.badlogic.gdx.math.Vector3 pm, com.badlogic.gdx.math.Vector3 pmSph, float appmag, float absmag, float colorbv, java.lang.String name, float ra, float dec, long starid, int hip, java.lang.String tycho, byte source)
Deprecated.Creates a new Star object- Parameters:
pos
- The position of the star in equatorial cartesian coordinatespm
- The proper motion of the star in equatorial cartesian coordinates.pmSph
- The proper motion with mualpha, mudelta, radvel.appmag
- The apparent magnitudeabsmag
- The absolute magnitudecolorbv
- The B-V color indexname
- The proper name of the star, if anyra
- in degreesdec
- in degreesstarid
- The star idhip
- The HIP identifiersource
- Catalog source. See {#Particle}
-
Star
public Star(Vector3d pos, float appmag, float absmag, float colorbv, java.lang.String name, float ra, float dec, long starid, int hip, java.lang.String tycho, byte source)
Deprecated.Creates a new Star object- Parameters:
pos
- The position of the star in equatorial cartesian coordinatesappmag
- The apparent magnitudeabsmag
- The absolute magnitudecolorbv
- The B-V color indexname
- The proper name of the star, if anyra
- in degreesdec
- in degreesstarid
- The star idhip
- The HIP identifiertycho
- The TYC identifiersource
- Catalog source. See {#Particle}
-
Star
public Star(Vector3d pos, com.badlogic.gdx.math.Vector3 pm, com.badlogic.gdx.math.Vector3 pmSph, float appmag, float absmag, float colorbv, java.lang.String name, float ra, float dec, long starid)
Deprecated.Creates a new Star object- Parameters:
pos
- The position of the star in equatorial cartesian coordinatespm
- The proper motion of the star in equatorial cartesian coordinatespmSph
- The proper motion with mualpha, mudelta, radvel.appmag
- The apparent magnitudeabsmag
- The absolute magnitudecolorbv
- The B-V color indexname
- The proper name of the star, if anyra
- in degreesdec
- in degreesstarid
- The star id
-
-
Method Detail
-
initModel
public static void initModel()
Deprecated.
-
initialize
public void initialize()
Deprecated.- Overrides:
initialize
in classParticle
-
addToRenderLists
protected void addToRenderLists(ICamera camera)
Deprecated.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 classParticle
-
render
public void render(IntModelBatch modelBatch, float alpha, double t, RenderingContext rc)
Deprecated.Description copied from class:Particle
Model rendering- Specified by:
render
in interfaceIModelRenderable
- Overrides:
render
in classParticle
-
addHit
public void addHit(int screenX, int screenY, int w, int h, int minPixDist, NaturalCamera camera, com.badlogic.gdx.utils.Array<IFocus> hits)
Deprecated.Description copied from interface:IFocus
Adds this focus to the hits list if it is hit by the [screenX, screenY] position- Specified by:
addHit
in interfaceIFocus
- Overrides:
addHit
in classCelestialBody
- Parameters:
screenX
- The x position of the hitscreenY
- The y position of the hitw
- The viewport widthh
- The viewport heightminPixDist
- The minimum pixel distance to consider as hitcamera
- The camerahits
- The list where to add the element
-
doneLoading
public void doneLoading(com.badlogic.gdx.assets.AssetManager manager)
Deprecated.- Overrides:
doneLoading
in classParticle
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classSceneGraphNode
-
getPmX
public double getPmX()
Deprecated.- Overrides:
getPmX
in classCelestialBody
-
getPmY
public double getPmY()
Deprecated.- Overrides:
getPmY
in classCelestialBody
-
getPmZ
public double getPmZ()
Deprecated.- Overrides:
getPmZ
in classCelestialBody
-
computeViewAngle
protected double computeViewAngle(float fovFactor)
Deprecated.- Overrides:
computeViewAngle
in classCelestialBody
-
getHip
public int getHip()
Deprecated.Description copied from interface:IStarFocus
Returns the HIP number of this star, or negative if it has no HIP number- Specified by:
getHip
in interfaceIStarFocus
- Overrides:
getHip
in classParticle
- Returns:
- The HIP number
-
addToIndex
protected void addToIndex(com.badlogic.gdx.utils.ObjectMap<java.lang.String,SceneGraphNode> map)
Deprecated.Description copied from class:SceneGraphNode
Special actions to be taken for this object when adding to the index.- Overrides:
addToIndex
in classCelestialBody
- Parameters:
map
- The index
-
removeFromIndex
protected void removeFromIndex(com.badlogic.gdx.utils.ObjectMap<java.lang.String,SceneGraphNode> map)
Deprecated.Description copied from class:SceneGraphNode
Special actions to be taken for this object when removing from the index. Must implement if addToIndex is implemented- Overrides:
removeFromIndex
in classCelestialBody
- Parameters:
map
- The index
-
-