| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.stellarium.StelObject
org.stellarium.StelObjectBase
org.stellarium.astro.Constellation
public class Constellation
Constellation.
See C++ version of this file.
| Nested Class Summary | 
|---|
| Nested classes/interfaces inherited from class org.stellarium.StelObject | 
|---|
| StelObject.TYPE | 
| Field Summary | |
|---|---|
| (package private)
       java.lang.String | abbreviationAbbreviation (of the latin name for western constellations) | 
| (package private)  LinearFader | artFaderDefine whether art, lines, names and boundary must be drawn | 
| protected  STexture | artTexture | 
| (package private)
       javax.vecmath.Point3d[] | artVertex | 
| private  java.util.List<StelObject> | asterism | 
| (package private) static SColor | boundaryColor | 
| (package private)  LinearFader | boundaryFader | 
| (package private)
       java.lang.String | englishNameName in english | 
| (package private) static boolean | gravityLabelWhether labels are to be printed with gravity | 
| (package private)  java.util.List<java.util.List<javax.vecmath.Point3d>> | isolatedBoundarySegments | 
| (package private) static SColor | labelColor | 
| (package private) static SColor | lineColor | 
| (package private)  LinearFader | lineFader | 
| (package private)  LinearFader | nameFader | 
| (package private)
       java.lang.String | nameI18International name (translated using gettext) | 
| private  int | nbSegmentsNumber of segments in the lines | 
| (package private) static double | RADIUS_CONST | 
| (package private)  java.util.List<java.util.List<javax.vecmath.Point3d>> | sharedBoundarySegments | 
| (package private) static boolean | singleSelected | 
| protected  javax.vecmath.Point3d | XYName | 
| protected  javax.vecmath.Point3d | XYZnameDirection vector pointing on constellation name drawing position | 
| Fields inherited from class org.stellarium.StelObjectBase | 
|---|
| DEFAULT_COLOR | 
| Constructor Summary | |
|---|---|
| Constellation() | |
| Method Summary | |
|---|---|
| (package private)  void | drawArt(DefaultProjector prj,
      Navigator nav)Draw the art texture | 
| (package private)  void | drawArtOptim(Projector prj, NavigatorIfc nav)Draw the art texture, optimized function to be called thru a constellation manager only | 
| (package private)  void | drawBoundaryOptim(Projector prj) | 
| (package private)  void | drawName(SFontIfc constfont,
      Projector prj)Draw the name | 
| (package private)  void | drawOptim(Projector prj)Draw the lines for the Constellation using the coords of the stars (optimized for use thru the class ConstellationMgr only) | 
|  StelObject | getBrightestStarInConstellation() | 
|  javax.vecmath.Point3d | getEarthEquPos(NavigatorIfc nav)Get position in earth equatorial frame | 
|  java.lang.String | getEnglishName()Return object's name | 
| (package private)  boolean | getFlagArt() | 
| (package private)  boolean | getFlagBoundaries() | 
| (package private)  boolean | getFlagLines() | 
| (package private)  boolean | getFlagName() | 
|  java.lang.String | getInfoString(NavigatorIfc nav)Write I18n information about the object in String. | 
|  float | getMag(NavigatorIfc nav)Return object's magnitude | 
|  java.lang.String | getNameI18n() | 
|  javax.vecmath.Point3d | getObsJ2000Pos(NavigatorIfc nav)observer centered J2000 coordinates | 
|  java.lang.String | getShortInfoString(NavigatorIfc nav)The returned String can typically be used for object labeling in the sky | 
|  java.lang.String | getShortName() | 
|  StelObject.TYPE | getType()Return object's type | 
| private  boolean | isInScreen(Projector prj, int i, javax.vecmath.Point3d win,
      javax.vecmath.Tuple3d equVision) | 
| (package private)  Constellation | isStarIn(StelObject s) | 
| (package private)  boolean | read(java.lang.String record,
      HipStarMgr vouteCeleste)Read Constellation datas and grab cartesian positions of stars | 
|  void | setAllFlags(Constellation cc) | 
| (package private)  void | setFlagArt(boolean b) | 
| (package private)  void | setFlagBoundaries(boolean b) | 
| (package private)  void | setFlagLines(boolean b) | 
| (package private)  void | setFlagName(boolean b) | 
| (package private)  void | update(int deltaTime) | 
| Methods inherited from class org.stellarium.StelObjectBase | 
|---|
| deleteTextures, drawPointer,
      getCloseFOV, getMag, getOnScreenSize,
      getParentSatellitesFOV,
      getRGB, getSatellitesFOV,
      initTextures, release, retain, update | 
| Methods inherited from class org.stellarium.StelObject | 
|---|
| getUninitializedObject | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
static final double RADIUS_CONST
java.lang.String nameI18
java.lang.String englishName
java.lang.String abbreviation
protected javax.vecmath.Point3d XYZname
protected javax.vecmath.Point3d XYName
private int nbSegments
private java.util.List<StelObject> asterism
protected STexture artTexture
javax.vecmath.Point3d[] artVertex
LinearFader artFader
LinearFader lineFader
LinearFader nameFader
LinearFader boundaryFader
java.util.List<java.util.List<javax.vecmath.Point3d>> isolatedBoundarySegments
java.util.List<java.util.List<javax.vecmath.Point3d>> sharedBoundarySegments
static SColor lineColor
static SColor labelColor
static SColor boundaryColor
static boolean gravityLabel
static boolean singleSelected
| Constructor Detail | 
|---|
Constellation()
| Method Detail | 
|---|
boolean read(java.lang.String record,
             HipStarMgr vouteCeleste)
record -
      vouteCeleste -
      void drawOptim(Projector prj)
void drawName(SFontIfc constfont,
              Projector prj)
void drawArtOptim(Projector prj,
                  NavigatorIfc nav)
private boolean isInScreen(Projector prj,
                           int i,
                           javax.vecmath.Point3d win,
                           javax.vecmath.Tuple3d equVision)
void drawArt(DefaultProjector prj,
             Navigator nav)
Constellation isStarIn(StelObject s)
void update(int deltaTime)
void drawBoundaryOptim(Projector prj)
public StelObject getBrightestStarInConstellation()
getBrightestStarInConstellation
        in class StelObjectBase
    public java.lang.String getInfoString(NavigatorIfc nav)
getInfoString
        in class StelObject
    public java.lang.String getShortInfoString(NavigatorIfc nav)
getShortInfoString
        in class StelObject
    public StelObject.TYPE getType()
getType in class StelObjectBase
    public javax.vecmath.Point3d getEarthEquPos(NavigatorIfc nav)
getEarthEquPos
        in class StelObjectBase
    public javax.vecmath.Point3d getObsJ2000Pos(NavigatorIfc nav)
getObsJ2000Pos
        in class StelObjectBase
    public float getMag(NavigatorIfc nav)
getMag in
        class StelObjectBase
    public java.lang.String getNameI18n()
getNameI18n in class
        StelObjectBase
    public java.lang.String getEnglishName()
StelObjectBase
  
getEnglishName in
        class StelObjectBase
    public java.lang.String getShortName()
void setFlagLines(boolean b)
void setFlagBoundaries(boolean b)
void setFlagName(boolean b)
void setFlagArt(boolean b)
boolean getFlagLines()
boolean getFlagBoundaries()
boolean getFlagName()
boolean getFlagArt()
public void setAllFlags(Constellation cc)
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||