org.stellarium.telescope
Class Telescope

java.lang.Object
  extended by org.stellarium.StelObject
      extended by org.stellarium.StelObjectBase
          extended by org.stellarium.telescope.Telescope
Direct Known Subclasses:
Telescope.TelescopeDummy

public abstract class Telescope
extends StelObjectBase

Version:
0.8.2
Author:
Jerome Beau, Fred Simon

Nested Class Summary
(package private) static class Telescope.PrintRADec
           
(package private) static class Telescope.TelescopeDummy
           
 
Nested classes/interfaces inherited from class org.stellarium.StelObject
StelObject.TYPE
 
Field Summary
protected  java.lang.String name
           
protected  java.lang.String nameI18n
           
private  java.nio.ByteBuffer read_fds
           
private  java.nio.ByteBuffer write_fds
           
 
Fields inherited from class org.stellarium.StelObjectBase
DEFAULT_COLOR
 
Constructor Summary
protected Telescope(java.lang.String name)
           
 
Method Summary
 void close()
           
static Telescope create(java.lang.String url)
           
 javax.vecmath.Point3d getEarthEquPos(NavigatorIfc nav)
          Get position in earth equatorial frame
 java.lang.String getEnglishName()
          Return object's name
 java.lang.String getInfoString(NavigatorIfc nav)
          Write I18n information about the object in wstring.
 float getMag(NavigatorIfc nav)
           
 java.lang.String getNameI18n()
           
 java.lang.String getShortInfoString(NavigatorIfc nav)
          The returned wstring can typically be used for object labeling in the sky
 StelObject.TYPE getType()
          Tree.Return object's type
abstract  void handleSelectFds()
           
abstract  boolean hasKnownPosition()
           
abstract  boolean isConnected()
           
private  boolean isInitialized()
           
abstract  void prepareSelectFds()
           
 void telescopeGoto(javax.vecmath.Point3d j2000Pos)
           
 
Methods inherited from class org.stellarium.StelObjectBase
deleteTextures, drawPointer, getBrightestStarInConstellation, getCloseFOV, getMag, getObsJ2000Pos, 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

read_fds

private java.nio.ByteBuffer read_fds

write_fds

private java.nio.ByteBuffer write_fds

nameI18n

protected java.lang.String nameI18n

name

protected java.lang.String name
Constructor Detail

Telescope

protected Telescope(java.lang.String name)
Method Detail

create

public static Telescope create(java.lang.String url)

close

public void close()

getEnglishName

public java.lang.String getEnglishName()
Description copied from class: StelObjectBase
Return object's name

Overrides:
getEnglishName in class StelObjectBase

getNameI18n

public java.lang.String getNameI18n()
Overrides:
getNameI18n in class StelObjectBase

getInfoString

public java.lang.String getInfoString(NavigatorIfc nav)
Description copied from class: StelObject
Write I18n information about the object in wstring.

Specified by:
getInfoString in class StelObject

getShortInfoString

public java.lang.String getShortInfoString(NavigatorIfc nav)
Description copied from class: StelObject
The returned wstring can typically be used for object labeling in the sky

Specified by:
getShortInfoString in class StelObject

getType

public StelObject.TYPE getType()
Description copied from class: StelObjectBase
Tree.Return object's type

Specified by:
getType in class StelObjectBase

getEarthEquPos

public javax.vecmath.Point3d getEarthEquPos(NavigatorIfc nav)
Description copied from class: StelObjectBase
Get position in earth equatorial frame

Overrides:
getEarthEquPos in class StelObjectBase

telescopeGoto

public void telescopeGoto(javax.vecmath.Point3d j2000Pos)

isConnected

public abstract boolean isConnected()

hasKnownPosition

public abstract boolean hasKnownPosition()

prepareSelectFds

public abstract void prepareSelectFds()

handleSelectFds

public abstract void handleSelectFds()

isInitialized

private boolean isInitialized()

getMag

public float getMag(NavigatorIfc nav)
Overrides:
getMag in class StelObjectBase
Returns:
object's magnitude