math
Class Mat4
java.lang.Object
   math.Mat4
math.Mat4
- public class Mat4 
- extends java.lang.Object
 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
Mat4
public Mat4()
Mat4
public Mat4(double[][] a_)
Mat4
public Mat4(Mat3 m)
computeAdjustmentFactorsFor255Scale
public void computeAdjustmentFactorsFor255Scale()
- This is called when a 3x3 submatrix is stored in
 the upper left corner, and you want to use homogenous
 color transforms to offset the multiplication into
 the dynamic range of a byte (i.e., 0..255).
 
 For example:
 
 
 a[0][3] = 255 - (f(a[0][0]) + f(a[0][1]) + f(a[0][2]));
 a[1][3] = 255 - (f(a[1][0]) + f(a[1][1]) + f(a[1][2]));
 a[2][3] = 255 - (f(a[2][0]) + f(a[2][1]) + f(a[2][2]));
 a[3][3] = 1;
 where f return a00*255 if a00 >0 else 0;
 
- 
 
getSmartAdjustmentFactor
public int getSmartAdjustmentFactor(double[] row)
- 
 
getSmartAdjustmentFactor
public int getSmartAdjustmentFactor(double maxNeg,
                                    double maxPos)
- 
 
getOverallMax
public double getOverallMax()
- 
 
getOverallMin
public double getOverallMin()
- 
 
computeAdjustmentFactorsFor255Scale2
public void computeAdjustmentFactorsFor255Scale2()
- 
 
getminAdjustmentFactor
public int getminAdjustmentFactor(double maxNegNum)
- 
 
getmaxAdjustmentFactor
public int getmaxAdjustmentFactor(double maxNegNum)
- 
 
logBase2
public int logBase2(double x)
- 
 
multiply
public int[] multiply(int v1,
                      int v2,
                      int v3,
                      int v4)
- 
 
getArray
public double[][] getArray()
- 
 
determinant
public final double determinant()
- 
 
invert
public Mat4 invert()
- 
 
transpose
public Mat4 transpose()
- 
 
multiply
public void multiply(double s)
- 
 
multiply
public Mat4 multiply(Mat4 bmat4)
- 
 
polygonToMat4
public static Mat4 polygonToMat4(java.awt.Polygon p)
- 
 
multiply2x4
public double[][] multiply2x4(double[][] b)
- 
 
multiply4x2
public double[][] multiply4x2(double[][] b)
- 
 
print
public void print(java.lang.String s)
- 
 
print
public void print()
- 
 
getAdjustedColorMatrix
public static Mat4 getAdjustedColorMatrix(double[][] a)
-