|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.gjt.universe.gui.DisplayMap
This class has display routines that used in the 3D map.
Field Summary | |
private float |
boundary
|
private Coord |
center
|
private GalaxyID |
context
|
private InternalCoord |
crosshair
|
(package private) static int |
DMCblue
|
(package private) static int |
DMCgreen
|
(package private) static int |
DMcoord
|
(package private) static int |
DMCred
|
(package private) static int |
DMCyellow
|
(package private) static int |
DMdistance
|
(package private) static int |
DMname
|
(package private) static int |
DMnone
|
private Coord |
source
|
private VectorSystemPoint |
stars
|
private AffineBase |
TotalXForm
|
Constructor Summary | |
(package private) |
DisplayMap(GalaxyID galaxy,
Coord cent)
|
(package private) |
DisplayMap(SystemID SID)
|
Method Summary | |
(package private) void |
ApplyXForm(AffineBase AB)
|
Coord |
getCenter()
|
GalaxyID |
getContext()
|
(package private) InternalCoord |
getCrosshairIntCoord()
|
(package private) VectorFleetPoint |
getFleets(CivID AID)
|
(package private) VectorScreenCoord |
getGrid(CivID AID,
float size,
int type,
boolean height)
This returns the grid for the map. |
(package private) java.lang.String |
getLabel(SystemID system,
int displayType)
Returns the labels used on the map. |
Coord |
getSource()
|
(package private) VectorScreenCoord |
getSphere(float size,
int part)
This returns the sphere used in the map. |
(package private) VectorSystemPoint |
getStars()
This returns the systems (stars) for the map. |
(package private) VectorStationPoint |
getStations(CivID AID)
|
(package private) VectorScreenCoord |
getWormholeLines(GalaxyID GID)
|
(package private) VectorSystemPoint |
getWormholes()
|
(package private) boolean |
Inbounds(InternalCoord IC)
|
(package private) void |
Rotate(float pitch,
float roll)
Rotate with yaw = 0. |
(package private) void |
Rotate(float pitch,
float roll,
float yaw)
|
(package private) void |
Scale(float zoom)
|
(package private) void |
setBoundary(float size)
|
void |
setCenter(Coord in_center)
|
(package private) void |
setCrosshairIntCoord(Coord new_coord)
|
void |
setSource(Coord in_source)
|
(package private) void |
Translate(float x,
float y,
float z)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
static final int DMnone
static final int DMname
static final int DMcoord
static final int DMdistance
static final int DMCblue
static final int DMCred
static final int DMCyellow
static final int DMCgreen
private VectorSystemPoint stars
private Coord center
private Coord source
private float boundary
private AffineBase TotalXForm
private InternalCoord crosshair
private GalaxyID context
Constructor Detail |
DisplayMap(SystemID SID)
DisplayMap(GalaxyID galaxy, Coord cent)
Method Detail |
public void setCenter(Coord in_center)
public Coord getCenter()
public void setSource(Coord in_source)
public Coord getSource()
public GalaxyID getContext()
void Translate(float x, float y, float z)
void Scale(float zoom)
void Rotate(float pitch, float roll, float yaw)
void Rotate(float pitch, float roll)
java.lang.String getLabel(SystemID system, int displayType)
VectorSystemPoint getStars()
VectorSystemPoint getWormholes()
VectorScreenCoord getWormholeLines(GalaxyID GID)
VectorScreenCoord getSphere(float size, int part)
VectorScreenCoord getGrid(CivID AID, float size, int type, boolean height)
void setBoundary(float size)
void ApplyXForm(AffineBase AB)
boolean Inbounds(InternalCoord IC)
VectorFleetPoint getFleets(CivID AID)
VectorStationPoint getStations(CivID AID)
void setCrosshairIntCoord(Coord new_coord)
InternalCoord getCrosshairIntCoord()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |