org.stellarium.astro
Class MilkyWay
java.lang.Object
org.stellarium.astro.MilkyWay
-
public class MilkyWay
- extends java.lang.Object
Class which manages the displaying of the Milky Way
- Version:
- 0.8.2
- Author:
- Jerome Beau, Fred Simon
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
radius
private double radius
tex
private STexture tex
color
private SColor color
intensity
private float intensity
texAvgLuminance
private float texAvgLuminance
fader
private LinearFader fader
MilkyWay
public MilkyWay()
throws StellariumException
- Throws:
StellariumException
MilkyWay
MilkyWay(double radius)
throws StellariumException
- Throws:
StellariumException
close
public void close()
-
draw
public void draw(ToneReproductor eye,
Projector prj,
NavigatorIfc nav)
-
drawChart
public void drawChart(ToneReproductor eye,
Projector prj,
NavigatorIfc nav)
-
update
public void update(int deltaTime)
-
setIntensity
public void setIntensity(float intensity)
-
getIntensity
public float getIntensity()
-
setTexture
public void setTexture(java.lang.String texFile)
throws StellariumException
-
- Throws:
StellariumException
setTexture
public void setTexture(java.lang.String texFile,
boolean blend)
throws StellariumException
-
- Throws:
StellariumException
setColor
public void setColor(javax.vecmath.Tuple4f c)
-
setFlagShow
public void setFlagShow(boolean b)
-
getFlagShow
public boolean getFlagShow()
-
getSphereMat
private javax.vecmath.Matrix4d getSphereMat(NavigatorIfc nav)
-