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.Hidden, LXComponent.Placeholder, LXComponent.Renamable
Nested classes/interfaces inherited from interface heronarts.lx.LXSerializable
LXSerializable.Utils
-
Field Summary
Modifier and TypeFieldDescriptionfinal StringParameter
final BooleanParameter
final BoundedParameter
final BooleanParameter
final TriggerParameter
final BooleanParameter
final CompoundParameter
final TriggerParameter
final CompoundParameter
final CompoundParameter
final BoundedParameter
final CompoundParameter
final CompoundParameter
final CompoundParameter
final CompoundParameter
final CompoundParameter
final CompoundParameter
final CompoundParameter
final CompoundParameter
final CompoundParameter
final CompoundParameter
final CompoundParameter
Fields inherited from class heronarts.lx.LXComponent
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, presetFile
Fields inherited from interface heronarts.lx.LXPath
ROOT, ROOT_PREFIX, ROOT_SLASH
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
animateGif
(double deltaMs) void
computeMatrix
(LXModel model) int
getImage()
int
boolean
hasImage()
void
Subclasses are free to override this if desired.void
Methods inherited from class heronarts.lx.LXComponent
addArray, addChild, addInternalParameter, addLegacyInternalParameter, addLegacyParameter, addParameter, addParameter, addParameters, contains, copyParameters, dispose, getCategory, getChild, 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, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface heronarts.lx.osc.LXOscComponent
getOscAddress, handleOscMessage
Methods inherited from interface heronarts.lx.LXPath
getCanonicalLabel, getCanonicalLabel, getCanonicalPath, getCanonicalPath, isDescendant
-
Field Details
-
fileName
-
reload
-
imageMode
-
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:LXComponent
Subclasses are free to override this if desired. It will automatically fire for any listenable parameter that is registered with this component.- Specified by:
onParameterChanged
in interfaceLXParameterListener
- Overrides:
onParameterChanged
in classLXComponent
- Parameters:
p
- Parameter that has a value change
-
computeMatrix
-
hasImage
public boolean hasImage() -
getMainImage
-
getImage
-
animateGif
public void animateGif(double deltaMs) -
render
-