]> gitweb.fperrin.net Git - GpsPrune.git/blobdiff - src/tim/prune/threedee/ThreeDWindow.java
Moved source into separate src directory due to popular request
[GpsPrune.git] / src / tim / prune / threedee / ThreeDWindow.java
diff --git a/src/tim/prune/threedee/ThreeDWindow.java b/src/tim/prune/threedee/ThreeDWindow.java
new file mode 100644 (file)
index 0000000..f4b3ed3
--- /dev/null
@@ -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;
+}