Package heronarts.lx.pattern.image
Class ImagePattern.Image
java.lang.Object
heronarts.lx.LXComponent
heronarts.lx.pattern.image.ImagePattern.Image
- All Implemented Interfaces:
LXPath,LXSerializable,LXOscComponent,LXParameterListener
- Direct Known Subclasses:
SlideshowPattern.Image
- Enclosing class:
ImagePattern
-
Nested Class Summary
Nested classes/interfaces inherited from class heronarts.lx.LXComponent
LXComponent.Description, LXComponent.Hidden, LXComponent.Name, LXComponent.Placeholder, LXComponent.PluginRequired, LXComponent.RenamableNested classes/interfaces inherited from interface heronarts.lx.LXSerializable
LXSerializable.Utils -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal StringParameterfinal BooleanParameterfinal BoundedParameterfinal BooleanParameterfinal TriggerParameterfinal BooleanParameterfinal CompoundParameterfinal TriggerParameterfinal CompoundParameterfinal CompoundParameterfinal BoundedParameterfinal CompoundParameterfinal CompoundParameterfinal CompoundParameterfinal CompoundParameterfinal CompoundParameterfinal CompoundParameterfinal CompoundParameterfinal CompoundParameterfinal CompoundParameterfinal CompoundParameterfinal CompoundParameterFields inherited from class heronarts.lx.LXComponent
childArrays, children, internalParameters, KEY_CHILDREN, KEY_CLASS, KEY_COMPONENT_ID, KEY_ID, KEY_INTERNAL, KEY_PARAMETER_PATH, KEY_PARAMETERS, KEY_PATH, KEY_RESET, label, legacyInternalParameters, legacyParameters, lx, modulationColor, modulationControlsExpanded, modulationsExpanded, parameters, presetFileFields inherited from interface heronarts.lx.LXPath
DEFAULT_SEPARATOR, ROOT, ROOT_PREFIX, ROOT_SLASH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidanimateGif(double deltaMs) voidcomputeMatrix(LXModel model) intgetImage()intbooleanhasImage()voidSubclasses are free to override this if desired.voidMethods inherited from class heronarts.lx.LXComponent
addArray, addChild, addInternalParameter, addLegacyInternalParameter, addLegacyParameter, addParameter, addParameter, addParameters, assertDisposed, contains, copyParameters, dispose, getCategory, getChild, getComponentDescription, getComponentName, getComponentName, getComponentName, getDescription, getId, getLabel, getLX, getOscAddress, getOscLabel, getOscPath, getParameter, getParameters, getParent, getPath, handleOscMessage, hasParameter, isValidOscParameter, load, loadParameters, loadPreset, removeParameter, removeParameter, removeParameter, removeParameter, save, savePreset, setDescription, setParent, toOscQuery, toOscQuery, toOscQuery, toString, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface heronarts.lx.osc.LXOscComponent
getOscAddress, handleOscMessageMethods inherited from interface heronarts.lx.LXPath
getCanonicalLabel, getCanonicalLabel, getCanonicalLabel, getCanonicalLabel, getCanonicalLabel, getCanonicalPath, getCanonicalPath, isDescendant
-
Field Details
-
fileName
-
reload
-
imageMode
-
backgroundMode
-
yaw
-
pitch
-
roll
-
translateX
-
translateY
-
translateZ
-
scale
-
scaleRange
-
scaleX
-
scaleY
-
stretchX
-
stretchY
-
stretchAspect
-
scrollX
-
scrollY
-
isAnimatedGif
-
gifAnimating
-
gifLooping
-
gifRestart
-
gifCycleTimeMs
-
gifIndexChanged
-
-
Constructor Details
-
Image
-
-
Method Details
-
getGifIndex
public int getGifIndex() -
getNumGifFrames
public int getNumGifFrames() -
onParameterChanged
Description copied from class:LXComponentSubclasses are free to override this if desired. It will automatically fire for any listenable parameter that is registered with this component.- Specified by:
onParameterChangedin interfaceLXParameterListener- Overrides:
onParameterChangedin classLXComponent- Parameters:
p- Parameter that has a value change
-
computeMatrix
-
hasImage
public boolean hasImage() -
getMainImage
-
getImage
-
animateGif
public void animateGif(double deltaMs) -
render
-