de.grogra.imp3d.objects
public class SpectralLightMapNode extends ShareableBase implements SpectralLightMap, IconSource, Icon, RenderedIcon
| Modifier and Type | Class and Description |
|---|---|
static class |
SpectralLightMapNode.Type |
| Modifier and Type | Field and Description |
|---|---|
static SpectralLightMapNode.Type |
$TYPE |
static SCOType.Field |
spectraldistribution$FIELD |
| Constructor and Description |
|---|
SpectralLightMapNode() |
SpectralLightMapNode(SpectralCurve curve) |
| Modifier and Type | Method and Description |
|---|---|
int |
getAverageColor() |
Point3f |
getColor() |
float |
getFloatValue(ChannelData data,
int channel) |
Icon |
getIcon(java.awt.Dimension size,
int state) |
java.awt.Rectangle |
getIconBounds() |
IconSource |
getIconSource() |
java.awt.Image |
getImage() |
java.awt.Image |
getImage(int w,
int h) |
java.net.URL |
getImageSource() |
ManageableType |
getManageableType() |
java.lang.Object |
getObjectValue(ChannelData data,
int channel) |
java.awt.Dimension |
getPreferredIconSize(boolean small) |
float |
getSizeRatio() |
SPDIF |
getSpectraldistribution() |
SpectralCurve |
getSpectralDistribution() |
boolean |
isMutable() |
void |
paintIcon(java.awt.Component c,
java.awt.Graphics2D g,
int x,
int y,
int w,
int h,
int state) |
void |
prepareIcon() |
int |
renderImage(JobManager jm,
java.awt.image.BufferedImage img,
int y) |
void |
setSpectraldistribution(SPDIF value) |
addReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReferenceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetStamppublic static final SpectralLightMapNode.Type $TYPE
public static final SCOType.Field spectraldistribution$FIELD
public SpectralLightMapNode()
public SpectralLightMapNode(SpectralCurve curve)
public int getAverageColor()
public Point3f getColor()
public float getFloatValue(ChannelData data, int channel)
public Icon getIcon(java.awt.Dimension size, int state)
getIcon in interface IconSourcepublic java.awt.Rectangle getIconBounds()
getIconBounds in interface Iconpublic IconSource getIconSource()
getIconSource in interface Iconpublic java.net.URL getImageSource()
getImageSource in interface Iconpublic ManageableType getManageableType()
getManageableType in interface Manageablepublic java.lang.Object getObjectValue(ChannelData data, int channel)
public java.awt.Dimension getPreferredIconSize(boolean small)
getPreferredIconSize in interface IconSourcepublic float getSizeRatio()
getSizeRatio in interface RenderedIconpublic SPDIF getSpectraldistribution()
public SpectralCurve getSpectralDistribution()
getSpectralDistribution in interface SpectralLightMappublic void paintIcon(java.awt.Component c,
java.awt.Graphics2D g,
int x,
int y,
int w,
int h,
int state)
public void prepareIcon()
prepareIcon in interface Iconpublic int renderImage(JobManager jm, java.awt.image.BufferedImage img, int y)
renderImage in interface RenderedIconpublic void setSpectraldistribution(SPDIF value)