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
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SpectralLightMapNode.Typestatic final SCOType.Field -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetColor()floatgetFloatValue(ChannelData data, int channel) getImage()getImage(int w, int h) getObjectValue(ChannelData data, int channel) getPreferredIconSize(boolean small) floatbooleanvoidpaintIcon(Component c, Graphics2D g, int x, int y, int w, int h, int state) voidintrenderImage(JobManager jm, BufferedImage img, int y) voidsetSpectraldistribution(SPDIF value) Methods inherited from class de.grogra.persistence.ShareableBase
addReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReferenceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getManageableTypein interfaceManageable
-
getSpectraldistribution
-
setSpectraldistribution
-
getColor
-
getAverageColor
public int getAverageColor() -
getFloatValue
-
getObjectValue
-
getIcon
- Specified by:
getIconin interfaceIconSource
-
getPreferredIconSize
- Specified by:
getPreferredIconSizein interfaceIconSource
-
paintIcon
-
getIconSource
- Specified by:
getIconSourcein interfaceIcon
-
prepareIcon
public void prepareIcon()- Specified by:
prepareIconin interfaceIcon
-
isMutable
public boolean isMutable() -
getImage
-
getImage
-
getImageSource
- Specified by:
getImageSourcein interfaceIcon
-
getIconBounds
- Specified by:
getIconBoundsin interfaceIcon
-
getSizeRatio
public float getSizeRatio()- Specified by:
getSizeRatioin interfaceRenderedIcon
-
renderImage
- Specified by:
renderImagein interfaceRenderedIcon
-
getSpectralDistribution
- Specified by:
getSpectralDistributionin interfaceSpectralLightMap
-