X-Git-Url: http://gitweb.fperrin.net/?p=GpsPrune.git;a=blobdiff_plain;f=src%2Ftim%2Fprune%2Fthreedee%2FThreeDWindow.java;fp=src%2Ftim%2Fprune%2Fthreedee%2FThreeDWindow.java;h=f4b3ed34d4b195f1c7a02a0d3b0476825e27b3a1;hp=0000000000000000000000000000000000000000;hb=ce6f2161b8596f7018d6a76bff79bc9e571f35fd;hpb=2d8cb72e84d5cc1089ce77baf1e34ea3ea2f8465 diff --git a/src/tim/prune/threedee/ThreeDWindow.java b/src/tim/prune/threedee/ThreeDWindow.java new file mode 100644 index 0000000..f4b3ed3 --- /dev/null +++ b/src/tim/prune/threedee/ThreeDWindow.java @@ -0,0 +1,43 @@ +package tim.prune.threedee; + +import tim.prune.DataStatus; +import tim.prune.data.Track; + +/** + * Interface to decouple from Java3D classes + */ +public interface ThreeDWindow +{ + + /** + * Set the Track data + * @param inTrack Track object + */ + public void setTrack(Track inTrack); + + /** + * @param inFactor altitude factor to use + */ + public void setAltitudeFactor(double inFactor); + + /** + * @param inDefinition image definition (image or not, source, zoom) + */ + public void setBaseImageParameters(ImageDefinition inDefinition); + + /** + * @param inDefinition terrain definition (terrain or not, resolution) + */ + public void setTerrainParameters(TerrainDefinition inDefinition); + + /** + * @param inStatus current data status for caching + */ + public void setDataStatus(DataStatus inStatus); + + /** + * Show the window + * @throws ThreeDException when 3d classes not found + */ + public void show() throws ThreeDException; +}