[Polycasso-commit] SF.net SVN: polycasso:[124] trunk/polycasso/src/com/mebigfatguy/polycasso/ Setti
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2009-12-01 14:25:43
|
Revision: 124
http://polycasso.svn.sourceforge.net/polycasso/?rev=124&view=rev
Author: dbrosius
Date: 2009-12-01 14:25:34 +0000 (Tue, 01 Dec 2009)
Log Message:
-----------
add numCompetingImages
Modified Paths:
--------------
trunk/polycasso/src/com/mebigfatguy/polycasso/Settings.java
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/Settings.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/Settings.java 2009-11-29 07:12:03 UTC (rev 123)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/Settings.java 2009-12-01 14:25:34 UTC (rev 124)
@@ -27,6 +27,7 @@
public class Settings implements Cloneable {
private Dimension maxImageSize;
+ private int numCompetingImages;
private int maxPolygons;
private int maxPoints;
private int maxPtMovement;
@@ -76,6 +77,24 @@
}
/**
+ * set the number of images that are competing in parallel for the best image
+ *
+ * @param competingImages number of images
+ */
+ public void setNumCompetingImages(int competingImages) {
+ numCompetingImages = competingImages;
+ }
+
+ /**
+ * gets the number of images that are competing in parallel for the best image
+ *
+ * @return the number of images
+ */
+ public int getNumCompetingImages() {
+ return numCompetingImages;
+ }
+
+ /**
* sets the maximum polygons that can be used to image the picture
*
* @param maxPolys the maximum number of polygons
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|