org.stellarium.telescope
Class Telescope
java.lang.Object
org.stellarium.StelObject
org.stellarium.StelObjectBase
org.stellarium.telescope.Telescope
- Direct Known Subclasses:
- Telescope.TelescopeDummy
-
public abstract class Telescope
- extends StelObjectBase
- Version:
- 0.8.2
- Author:
- Jerome Beau, Fred Simon
Field Summary |
protected java.lang.String |
name
|
protected java.lang.String |
nameI18n
|
private java.nio.ByteBuffer
|
read_fds
|
private java.nio.ByteBuffer
|
write_fds
|
Constructor Summary |
protected |
Telescope(java.lang.String name)
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
Telescope
protected Telescope(java.lang.String name)
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