[cig-commits] commit: adding in examples in meta files for ColourBar, FieldVariableBorder and TextureMap

Mercurial hg at geodynamics.org
Mon Nov 24 11:29:39 PST 2008


changeset:   83:193c1ca844e0
parent:      81:c116bfc9b9db
user:        rob at hijiki.local
date:        Thu Oct 09 15:36:15 2008 +1100
files:       DrawingObjects/src/ColourBar.meta DrawingObjects/src/FieldVariableBorder.meta DrawingObjects/src/TextureMap.meta
description:
adding in examples in meta files for ColourBar, FieldVariableBorder and TextureMap


diff -r c116bfc9b9db -r 193c1ca844e0 DrawingObjects/src/ColourBar.meta
--- a/DrawingObjects/src/ColourBar.meta	Mon Oct 06 15:21:30 2008 +1100
+++ b/DrawingObjects/src/ColourBar.meta	Thu Oct 09 15:36:15 2008 +1100
@@ -89,6 +89,11 @@
 	</struct>
 </list>
 <!-- Add an exmaple XML if possible -->
-<param name="Example">...</param>
+<param name="Example">
+		<struct name="temperatureColourBar">
+			<param name="Type">lucColourBar</param>
+			<param name="ColourMap">temperatureColourMap</param>
+		</struct>
+</param>
 
 </StGermainData>
diff -r c116bfc9b9db -r 193c1ca844e0 DrawingObjects/src/FieldVariableBorder.meta
--- a/DrawingObjects/src/FieldVariableBorder.meta	Mon Oct 06 15:21:30 2008 +1100
+++ b/DrawingObjects/src/FieldVariableBorder.meta	Thu Oct 09 15:36:15 2008 +1100
@@ -41,6 +41,13 @@
 	</struct>
 </list>
 <!-- Add an exmaple XML if possible -->
-<param name="Example">...</param>
+<param name="Example">
+		<struct name="border">
+			<param name="Type">lucFieldVariableBorder</param>
+			<param name="FieldVariable">TemperatureField</param>
+			<param name="lineWidth">1.2</param>
+			<param name="colour">grey</param>
+		</struct>
+</param>
 
 </StGermainData>
diff -r c116bfc9b9db -r 193c1ca844e0 DrawingObjects/src/TextureMap.meta
--- a/DrawingObjects/src/TextureMap.meta	Mon Oct 06 15:21:30 2008 +1100
+++ b/DrawingObjects/src/TextureMap.meta	Thu Oct 09 15:36:15 2008 +1100
@@ -102,6 +102,22 @@
 
 </list>
 <!-- Add an exmaple XML if possible -->
-<param name="Example">...</param>
+<param name="Example">
+		<struct name="textureMap">
+			<param name="Type">lucTextureMap</param>
+			<param name="image">./Bathymetry.ppm</param>
+			<param name="bottomLeftX">0.0</param>
+			<param name="bottomLeftY">0.0</param>
+
+			<param name="bottomRightX">1.0</param>
+			<param name="bottomRightY">0.0</param>
+			
+			<param name="topRightX">1.0</param>
+			<param name="topRightY">1.0</param>
+			
+			<param name="topLeftX">0.0</param>
+			<param name="topLeftY">1.0</param>
+		</struct>
+</param>
 
 </StGermainData>



More information about the CIG-COMMITS mailing list