Index: trunk/psLib/src/math/psPolynomial.h
===================================================================
--- trunk/psLib/src/math/psPolynomial.h	(revision 14452)
+++ trunk/psLib/src/math/psPolynomial.h	(revision 15253)
@@ -8,6 +8,6 @@
  * @author GLG, MHPCC
  *
- * @version $Revision: 1.68 $ $Name: not supported by cvs2svn $
- * @date $Date: 2007-08-09 01:40:07 $
+ * @version $Revision: 1.69 $ $Name: not supported by cvs2svn $
+ * @date $Date: 2007-10-09 19:24:46 $
  *
  * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -27,4 +27,11 @@
 #include "psVector.h"
 #include "psScalar.h"
+
+typedef enum {
+    PS_POLY_MASK_NONE = 0,
+    PS_POLY_MASK_SET  = 1, // the coefficient should not be used (implies MASK_FIT)
+    PS_POLY_MASK_FIT  = 2, // the coefficient should not be fitted 
+    PS_POLY_MASK_BOTH = 3, // the coefficient should not be fitted 
+} psPolynomialMaskValues;
 
 /** Evaluate a non-normalized Gaussian with the given mean and sigma at the
@@ -60,5 +67,5 @@
     psF64 *coeff;                       ///< Coefficients
     psF64 *coeffErr;                    ///< Error in coefficients
-    psMaskType *mask;                   ///< Coefficient mask
+    psMaskType *coeffMask;		///< Coefficient mask
 }
 psPolynomial1D;
@@ -72,5 +79,5 @@
     psF64 **coeff;                      ///< Coefficients
     psF64 **coeffErr;                   ///< Error in coefficients
-    psMaskType **mask;                  ///< Coefficients mask
+    psMaskType **coeffMask;                  ///< Coefficients mask
 }
 psPolynomial2D;
@@ -85,5 +92,5 @@
     psF64 ***coeff;                     ///< Coefficients
     psF64 ***coeffErr;                  ///< Error in coefficients
-    psMaskType ***mask;                 ///< Coefficients mask
+    psMaskType ***coeffMask;                 ///< Coefficients mask
 }
 psPolynomial3D;
@@ -93,11 +100,11 @@
 {
     psPolynomialType type;              ///< Polynomial type
-    unsigned int nX;            ///< Polynomial order in x
-    unsigned int nY;            ///< Polynomial order in y
-    unsigned int nZ;            ///< Polynomial order in z
-    unsigned int nT;            ///< Polynomial order in t
+    unsigned int nX;			///< Polynomial order in x
+    unsigned int nY;			///< Polynomial order in y
+    unsigned int nZ;			///< Polynomial order in z
+    unsigned int nT;			///< Polynomial order in t
     psF64 ****coeff;                    ///< Coefficients
     psF64 ****coeffErr;                 ///< Error in coefficients
-    psMaskType ****mask;                ///< Coefficients mask
+    psMaskType ****coeffMask;		///< Coefficients mask
 }
 psPolynomial4D;
