public class CIEConstants
extends java.lang.Object
Constructor and Description |
---|
CIEConstants()
Creates a new instance of CIEConstants
|
Modifier and Type | Method and Description |
---|---|
static CIEIlluminant |
getCIEIlluminantByIndex(int index) |
static CIEObserver |
getCIEObserverByIndex(int index) |
static CIEDaylightSPDFactors |
getDaylightSPDFactors()
Returns the daylight the spectral power distribution (SPD) factors
necessary to generate a spectrum representing daylight at a particular
color.
|
static CIEIlluminant |
getIlluminant(java.lang.String name)
Returns the CIEIlluminant spectral output data is used in the process
of calculating the color of illuminated objects.
|
static Illuminant |
getIlluminantByIndex(int index)
This method is for the benefit of the old COM interface, which couldn't
cast objects.
|
static Illuminant |
getIlluminantByName(java.lang.String name)
This method exists only because the old COM interface (for WrapperProducts users)
could not cast.
|
static CIEIlluminant[] |
getIlluminants()
Returns all of the CIE Illuminant spectral output data that are loaded
to calculate the color of illuminated objects.
|
static int |
getNumberOfIlluminants() |
static int |
getNumberOfObservers() |
static CIEObserver |
getObserver(java.lang.String name)
Returns the the CIEObserver which contains spectral response
characteristics of the average observer defined by the CIE.
|
static CIEObserver[] |
getObservers()
Returns an array of the the CIEObservers loaded.
|
static CIETestColorSample |
getTestColorSample(int cieIndex)
Returns the test color sample with the given CIE index (1-14), or null
if the index was not found.
|
static CIETestColorSample[] |
getTestColorSamples()
Returns all of the test color samples.
|
static void |
loadAllConstants()
This method does nothing, as the static loader does the work.
|
public static CIEDaylightSPDFactors getDaylightSPDFactors()
public static CIETestColorSample getTestColorSample(int cieIndex)
cieIndex
- the CIE index (1-14) of the test color sample.public static CIETestColorSample[] getTestColorSamples()
public static CIEIlluminant getIlluminant(java.lang.String name)
name
- the short description for the illuminant to be used to
look up the illuminant.public static Illuminant getIlluminantByName(java.lang.String name)
public static CIEIlluminant[] getIlluminants()
public static int getNumberOfIlluminants()
public static CIEIlluminant getCIEIlluminantByIndex(int index)
index
- 0-n, uniquely identifies each CIEIlluminant in our internal collectionpublic static Illuminant getIlluminantByIndex(int index)
index
- 0-n, uniquely identifies each Illuminant in our internal collectionpublic static CIEObserver getObserver(java.lang.String name)
name
- the short description for the observer to be used to
look up the observer.public static CIEObserver[] getObservers()
public static int getNumberOfObservers()
public static CIEObserver getCIEObserverByIndex(int index)
index
- 0-n, uniquely identifies each CIEObserver in our internal collectionpublic static void loadAllConstants()
Copyright 2004-2006 Ocean Optics, Inc. All Rights Reserved.