|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--universe.client.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 java.util.Vector |
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) java.util.Vector |
getFleets()
|
(package private) java.util.Vector |
getGrid(CivID AID,
float size,
int type,
boolean height)
This returns the grid for the map. |
(package private) java.lang.String |
getLabel(SystemID SID,
int displayType)
Returns the labels used on the map. |
Coord |
getSource()
|
(package private) java.util.Vector |
getSphere(float size,
int part)
This returns the sphere used in the map. |
(package private) java.util.Vector |
getStars()
This returns the systems (stars) for the map. |
(package private) java.util.Vector |
getStations()
|
(package private) java.util.Vector |
getWormholeLines(GalaxyID GID)
|
(package private) java.util.Vector |
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 java.util.Vector 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 SID, int displayType)
java.util.Vector getStars()
java.util.Vector getWormholes()
java.util.Vector getWormholeLines(GalaxyID GID)
java.util.Vector getSphere(float size, int part)
java.util.Vector getGrid(CivID AID, float size, int type, boolean height)
void setBoundary(float size)
void ApplyXForm(AffineBase AB)
boolean Inbounds(InternalCoord IC)
java.util.Vector getFleets()
java.util.Vector getStations()
void setCrosshairIntCoord(Coord new_coord)
InternalCoord getCrosshairIntCoord()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |