public class StreetsideCubemap extends StreetsideAbstractImage implements Comparable<StreetsideAbstractImage>
Modifier and Type | Field and Description |
---|---|
private static float |
EPSILON
If two values for field cd differ by less than EPSILON both values are considered equal.
|
Constructor and Description |
---|
StreetsideCubemap(String quadId,
LatLon latLon,
double he)
Main constructor of the class StreetsideCubemap
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(StreetsideAbstractImage image)
Comparison method for the StreetsideCubemap object.
|
int |
getHeight() |
int |
hashCode()
HashCode StreetsideCubemap object.
|
void |
stopMoving()
stops ImageDisplay WalkAction (not currently supported by Streetside)
|
void |
turn(double he)
turns ImageDisplay WalkAction (not currently supported by Streetside)
|
getCd, getDate, getDate, getHe, getId, getLatLon, getMovingHe, getMovingLatLon, getNe, getPr, getSequence, getTempHe, getTempLatLon, isModified, isVisible, move, next, previous, setCd, setHe, setId, setLatLon, setNe, setPr, setSequence, setVisible
private static final float EPSILON
public StreetsideCubemap(String quadId, LatLon latLon, double he)
quadId
- The Streetside id of the base frontal image of the cubemap
in quternarylatLon
- The latitude and longitude where it is positioned.he
- The direction of the images in degrees, meaning 0 north (camera
direction is not yet supported in the Streetside plugin).public int compareTo(StreetsideAbstractImage image)
compareTo
in interface Comparable<StreetsideAbstractImage>
image
- - a StreetsideAbstract image object
StreetsideCubemaps are considered equal if they are associated
with the same image id - only one cubemap may be displayed at a
time. If the image selection changes, the cubemap changes.StreetsideAbstractImage
public int hashCode()
hashCode
in class Object
StreetsideAbstractImage
public void stopMoving()
stopMoving
in class StreetsideAbstractImage
StreetsideWalkAction
public void turn(double he)
turn
in class StreetsideAbstractImage
he
- - the direction the camera is facing (heading)StreetsideWalkAction
public int getHeight()
StreetsideWalkAction