java.lang.Object
de.grogra.persistence.ShareableBase
de.grogra.gpuflux.imp3d.objects.SpectralLightMapNode
- All Implemented Interfaces:
SpectralLightMap
,Icon
,IconSource
,Manageable
,Shareable
,RenderedIcon
public class SpectralLightMapNode
extends ShareableBase
implements SpectralLightMap, IconSource, Icon, RenderedIcon
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final SpectralLightMapNode.Type
static final SCOType.Field
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getColor()
float
getFloatValue
(ChannelData data, int channel) getImage()
getImage
(int w, int h) getObjectValue
(ChannelData data, int channel) getPreferredIconSize
(boolean small) float
boolean
void
paintIcon
(Component c, Graphics2D g, int x, int y, int w, int h, int state) void
int
renderImage
(JobManager jm, BufferedImage img, int y) void
setSpectraldistribution
(SPDIF value) Methods inherited from class de.grogra.persistence.ShareableBase
addReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReference
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.grogra.pf.ui.RenderedIcon
getStamp
-
Field Details
-
$TYPE
-
spectraldistribution$FIELD
-
-
Constructor Details
-
SpectralLightMapNode
-
SpectralLightMapNode
public SpectralLightMapNode()
-
-
Method Details
-
getManageableType
- Specified by:
getManageableType
in interfaceManageable
-
getSpectraldistribution
-
setSpectraldistribution
-
getColor
-
getAverageColor
public int getAverageColor() -
getFloatValue
-
getObjectValue
-
getIcon
- Specified by:
getIcon
in interfaceIconSource
-
getPreferredIconSize
- Specified by:
getPreferredIconSize
in interfaceIconSource
-
paintIcon
-
getIconSource
- Specified by:
getIconSource
in interfaceIcon
-
prepareIcon
public void prepareIcon()- Specified by:
prepareIcon
in interfaceIcon
-
isMutable
public boolean isMutable() -
getImage
-
getImage
-
getImageSource
- Specified by:
getImageSource
in interfaceIcon
-
getIconBounds
- Specified by:
getIconBounds
in interfaceIcon
-
getSizeRatio
public float getSizeRatio()- Specified by:
getSizeRatio
in interfaceRenderedIcon
-
renderImage
- Specified by:
renderImage
in interfaceRenderedIcon
-
getSpectralDistribution
- Specified by:
getSpectralDistribution
in interfaceSpectralLightMap
-