|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nasa.worldwind.layers.StarsConvertor
public class StarsConvertor
Converts a star background based on a subset of ESA Hipparcos catalog to ByteBuffer.
| Constructor Summary | |
|---|---|
StarsConvertor()
|
|
| Method Summary | |
|---|---|
static ByteBuffer |
convertTsvToByteBuffer(String starsFileName)
Converts a Stars tsv file to a ByteBuffer with radius DEFAULT_RADIUS |
static ByteBuffer |
convertTsvToByteBuffer(String starsFileName,
float radius)
Converts a Stars tsv file to a ByteBuffer |
static void |
convertTsvToDat(String tsvFileName)
Convert star tsv text file to binary dat file |
static void |
convertTsvToDat(String tsvFileName,
float radius)
Convert star tsv text file to binary dat file |
static void |
convertTsvToDat(String tsvFileName,
String datFileName)
Convert star tsv text file to binary dat file |
static void |
convertTsvToDat(String tsvFileName,
String datFileName,
float radius)
Convert star tsv text file to binary dat file |
static void |
main(String[] args)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StarsConvertor()
| Method Detail |
|---|
public static ByteBuffer convertTsvToByteBuffer(String starsFileName)
starsFileName - filename of tsv file
public static ByteBuffer convertTsvToByteBuffer(String starsFileName,
float radius)
starsFileName - filename of tsv fileradius - radius of the sphere on which to paint stars
public static void convertTsvToDat(String tsvFileName)
tsvFileName - name of tsv text star file
public static void convertTsvToDat(String tsvFileName,
float radius)
tsvFileName - name of tsv text star fileradius - radius of star sphere
public static void convertTsvToDat(String tsvFileName,
String datFileName)
tsvFileName - name of tsv text star filedatFileName - name of dat binary star file
public static void convertTsvToDat(String tsvFileName,
String datFileName,
float radius)
tsvFileName - name of tsv text star filedatFileName - name of dat binary star fileradius - radius of star spherepublic static void main(String[] args)
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||