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 TypeFieldDescriptiondoubledoubleEpoch for the times in the light curves in julian days.booleanDoes this contain variable stars?Fields inherited from class gaiasky.scene.component.ParticleSet
active, B31, B32, B33, B34, background, candidateFocusIndex, ccMax, ccMin, colorNoise, cPosD, currDeltaYears, D31, D32, D33, datafile, disposed, epochJd, factor, fixedAngularSize, focus, focusDistToCamera, focusIndex, focusPosition, focusPositionSph, focusSize, focusSolidAngle, focusSolidAngleApparent, forceLabel, idSeq, index, indices1, indices2, isExtended, isStars, labelColors, lastSortCameraPos, lastSortTime, maxDistance, meanDistance, meanPosition, metadata, minDistance, model, modelFile, modelParams, modelPrimitive, modelType, numLabels, particleSizeLimits, particleSizeLimitsPoint, pointData, profileDecay, provider, providerParams, proximity, renderParticles, renderSetLabel, textureArray, textureFiles, updaterTask, updating, visibilityArray -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublefloat[]doublegetClosestPos(Vector3d out) doubleintgetHip()longgetId()doublegetSolidAngleApparent(int index) Returns the apparent solid angle of the star with the given index.voidmarkForUpdate(Render render) 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 group.Methods inherited from class gaiasky.scene.component.ParticleSet
canSelect, data, dispose, fetchPosition, fetchPositionDouble, generateIndex, get, getAbsolutePosition, getAbsolutePosition, getAbsolutePosition, getAbsolutePosition, getAlpha, getCandidateBean, getCandidateId, getCandidateName, getClosestName, getColorMax, getColorMin, getDelta, getDeltaYears, getDistToCamera, getFocusSize, getLocalizedName, getMaxDistance, getMeanDistance, getMinDistance, getName, getNames, getPosSph, getRadius, getRadius, getRandomParticleName, getSize, getSize, getSolidAngle, getSolidAngleApparent, isBillboard, isForceLabel, isVisible, isWireframe, makeFocus, regenerateIndex, setColorMax, setColorMax, setColorMin, setColorMin, setColornoise, setColorNoise, setData, setData, setDatafile, setDataFile, setEpoch, setEpochJd, setExtended, setFactor, setFixedAngularSize, setFixedAngularSizeDeg, setFixedAngularSizeRad, setFocusIndex, setFocusIndex, setForceLabel, setLabelColor, setMeanPosition, setMeanPositionKm, setMeanPositionPc, setModelParams, setModelPrimitive, setModelType, setNumLabels, setParticlesizelimits, setParticleSizeLimits, setPosition, setPosition, setPositionKm, setPositionPc, setPosKm, setPosPc, setProfiledecay, setProfileDecay, setProviderparams, setProviderParams, setRenderParticles, setRenderSetLabel, setTexture, setTextures, setVisible, setVisible, updateFocusDataPos
-
Field Details
-
variabilityEpochJd
public double variabilityEpochJdEpoch for the times in the light curves in julian days. -
modelDist
public double modelDist -
variableStars
public boolean variableStarsDoes this contain variable stars?
-
-
Constructor Details
-
StarSet
public StarSet()
-
-
Method Details
-
updateFocus
Updates the parameters of the focus, if the focus is active in this group. This version is special for star sets, and uses the double-precision version of fetchPosition() for speed.- Overrides:
updateFocusin classParticleSet- Parameters:
camera- The current camera
-
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).
-
getHip
public int getHip() -
getId
public long getId()- Overrides:
getIdin classParticleSet
-
getCandidateSolidAngleApparent
public double getCandidateSolidAngleApparent()- Overrides:
getCandidateSolidAngleApparentin classParticleSet
-
getSolidAngleApparent
public double getSolidAngleApparent(int index) Returns the apparent solid angle of the star with the given index.- Parameters:
index- The index in the star list.- Returns:
- The apparent solid angle.
-
getClosestDistToCamera
public double getClosestDistToCamera() -
getClosestSize
public double getClosestSize() -
getClosestPos
-
getClosestAbsolutePos
-
getClosestCol
public float[] getClosestCol() -
markForUpdate
- Overrides:
markForUpdatein classParticleSet
-