Package gaiasky.scene.component
Class StarSet
java.lang.Object
gaiasky.scene.component.ParticleSet
gaiasky.scene.component.StarSet
- All Implemented Interfaces:
com.badlogic.ashley.core.Component,IDisposable
-
Field Summary
FieldsModifier and TypeFieldDescriptiondoubleCurrent computed epoch time.final Vector3dfinal Vector3ddoubleEpoch for positions/proper motions in julian days.Stars for which forceLabel is enabled.Stars with special label colors.doubledoubleEpoch for the times in the light curves in julian days.booleanDoes this contain variable stars?Fields inherited from class gaiasky.scene.component.ParticleSet
active, background, candidateFocusIndex, ccMax, ccMin, colorNoise, cPosD, D31, datafile, disposed, factor, focus, focusDistToCamera, focusIndex, focusPosition, focusPositionSph, focusSize, focusSolidAngle, focusSolidAngleApparent, idSeq, index, indices1, indices2, isStars, lastSortCameraPos, lastSortTime, maxDistance, meanDistance, meanPosition, metadata, minDistance, particleSizeLimits, particleSizeLimitsPoint, pointData, profileDecay, provider, providerParams, proximity, updaterTask, updating, visibilityArray -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfetchPosition(IParticleRecord pb, Vector3d campos, Vector3d out, double deltaYears) Fetches the real position of the particle.getAbsolutePosition(String name, Vector3b aux) Returns the position of the particle with the given name, if any, in the out vector.getAbsolutePosition(String name, Vector3d aux) longdoublefloat[]doublegetClosestPos(Vector3d out) doubledoubleReturns the delta years to integrate the proper motion.intgetHip()longgetId()booleanisForceLabel(String name) voidmarkForUpdate(Render render) voidSets the epoch to use for the stars in this set.voidsetEpochJd(Double epochJd) Sets the epoch to use for the stars in this set.voidsetForceLabel(Boolean forceLabel, String name) voidsetLabelColor(float[] color, String name) voidsetVariabilityEpoch(Double epochJd) Sets the light curve epoch to use for the stars in this group.voidsetVariabilityEpochJd(Double epochJd) Sets the light curve epoch to use for the stars in this group.voidupdateFocus(ICamera camera) Updates the parameters of the focus, if the focus is active in this groupMethods inherited from class gaiasky.scene.component.ParticleSet
canSelect, data, dispose, generateIndex, get, getAbsolutePosition, getAlpha, getCandidateBean, getClosestName, getColorMax, getColorMin, getDelta, getDistToCamera, getFocusSize, getLocalizedName, getMaxDistance, getMeanDistance, getMinDistance, getName, getNames, getPosSph, getRadius, getRadius, getRandomParticleName, getSize, getSize, getSolidAngle, getSolidAngleApparent, isVisible, makeFocus, regenerateIndex, setColorMax, setColorMax, setColorMin, setColorMin, setColornoise, setColorNoise, setData, setData, setDatafile, setFactor, setFocusIndex, setFocusIndex, setParticlesizelimits, setParticleSizeLimits, setPosition, setPosition, setPositionKm, setPositionPc, setPosKm, setPosPc, setProfiledecay, setProfileDecay, setProviderparams, setVisible, setVisible, updateFocusDataPos
-
Field Details
-
epochJd
public double epochJdEpoch for positions/proper motions in julian days. -
variabilityEpochJd
public double variabilityEpochJdEpoch for the times in the light curves in julian days. -
currDeltaYears
public double currDeltaYearsCurrent computed epoch time. -
modelDist
public double modelDist -
variableStars
public boolean variableStarsDoes this contain variable stars? -
forceLabelStars
Stars for which forceLabel is enabled. -
labelColors
Stars with special label colors. -
D32
-
D33
-
-
Constructor Details
-
StarSet
public StarSet()
-
-
Method Details
-
getAbsolutePosition
Description copied from class:ParticleSetReturns the position of the particle with the given name, if any, in the out vector.- Overrides:
getAbsolutePositionin classParticleSet
-
getAbsolutePosition
-
updateFocus
Updates the parameters of the focus, if the focus is active in this group- Overrides:
updateFocusin classParticleSet- Parameters:
camera- The current camera
-
setEpoch
Sets the epoch to use for the stars in this set.- Parameters:
epochJd- The epoch in julian days (days since January 1, 4713 BCE).
-
setEpochJd
Sets the epoch to use for the stars in this set.- Parameters:
epochJd- The epoch in julian days (days since January 1, 4713 BCE).
-
setVariabilityEpoch
Sets the light curve epoch to use for the stars in this group.- Parameters:
epochJd- The light curve epoch in julian days (days since January 1, 4713 BCE).
-
setVariabilityEpochJd
Sets the light curve epoch to use for the stars in this group.- Parameters:
epochJd- The light curve epoch in julian days (days since January 1, 4713 BCE).
-
fetchPosition
Description copied from class:ParticleSetFetches the real position of the particle. It will apply the necessary integrations (i.e. proper motion).- Overrides:
fetchPositionin classParticleSet- Parameters:
pb- The particle beancampos- The position of the camera. If null, the camera position is not subtracted so that the coordinates are given in the global reference system instead of the camera reference system.out- The destination factordeltaYears- The delta years- Returns:
- The vector for chaining
-
getDeltaYears
public double getDeltaYears()Description copied from class:ParticleSetReturns the delta years to integrate the proper motion.- Overrides:
getDeltaYearsin classParticleSet- Returns:
- The current delta years.
-
getHip
public int getHip() -
getId
public long getId()- Overrides:
getIdin classParticleSet
-
getCandidateId
public long getCandidateId()- Overrides:
getCandidateIdin classParticleSet
-
getCandidateName
- Overrides:
getCandidateNamein classParticleSet
-
getCandidateSolidAngleApparent
public double getCandidateSolidAngleApparent()- Overrides:
getCandidateSolidAngleApparentin classParticleSet
-
getClosestDistToCamera
public double getClosestDistToCamera() -
getClosestSize
public double getClosestSize() -
getClosestPos
-
getClosestAbsolutePos
-
getClosestCol
public float[] getClosestCol() -
markForUpdate
- Overrides:
markForUpdatein classParticleSet
-
setForceLabel
-
isForceLabel
-
setLabelColor
-