ucar.jpeg.icc
Class MatrixBasedRestrictedProfile

java.lang.Object
  extended by ucar.jpeg.icc.RestrictedICCProfile
      extended by ucar.jpeg.icc.MatrixBasedRestrictedProfile

public class MatrixBasedRestrictedProfile
extends RestrictedICCProfile

This class is a 3 component RestrictedICCProfile

Version:
1.0
Author:
Bruce A Kern

Field Summary
 
Fields inherited from class ucar.jpeg.icc.RestrictedICCProfile
BLUE, colorant, eol, GRAY, GREEN, kMonochromeInput, kThreeCompInput, RED, trc
 
Constructor Summary
protected MatrixBasedRestrictedProfile(ICCCurveType rcurve, ICCCurveType gcurve, ICCCurveType bcurve, ICCXYZType rcolorant, ICCXYZType gcolorant, ICCXYZType bcolorant)
          Construct a 3 component RestrictedICCProfile
 
Method Summary
static RestrictedICCProfile createInstance(ICCCurveType rcurve, ICCCurveType gcurve, ICCCurveType bcurve, ICCXYZType rcolorant, ICCXYZType gcolorant, ICCXYZType bcolorant)
          Factory method which returns a 3 component RestrictedICCProfile
 int getType()
          Get the type of RestrictedICCProfile for this object
 String toString()
           
 
Methods inherited from class ucar.jpeg.icc.RestrictedICCProfile
createInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MatrixBasedRestrictedProfile

protected MatrixBasedRestrictedProfile(ICCCurveType rcurve,
                                       ICCCurveType gcurve,
                                       ICCCurveType bcurve,
                                       ICCXYZType rcolorant,
                                       ICCXYZType gcolorant,
                                       ICCXYZType bcolorant)
Construct a 3 component RestrictedICCProfile

Parameters:
rcurve - Red TRC curve
gcurve - Green TRC curve
bcurve - Blue TRC curve
rcolorant - Red colorant
gcolorant - Green colorant
bcolorant - Blue colorant
Method Detail

createInstance

public static RestrictedICCProfile createInstance(ICCCurveType rcurve,
                                                  ICCCurveType gcurve,
                                                  ICCCurveType bcurve,
                                                  ICCXYZType rcolorant,
                                                  ICCXYZType gcolorant,
                                                  ICCXYZType bcolorant)
Factory method which returns a 3 component RestrictedICCProfile

Parameters:
rcurve - Red TRC curve
gcurve - Green TRC curve
bcurve - Blue TRC curve
rcolorant - Red colorant
gcolorant - Green colorant
bcolorant - Blue colorant
Returns:
the RestrictedICCProfile

getType

public int getType()
Get the type of RestrictedICCProfile for this object

Specified by:
getType in class RestrictedICCProfile
Returns:
kThreeCompInput

toString

public String toString()
Overrides:
toString in class Object
Returns:
String representation of a MatrixBasedRestrictedProfile


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.